Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Good afternoon. I tried to check your example OpanAMP_TTY_echo together with the ssh-t ttyRPMSG0 command after trying to execute the ssh-t ttyRPMSG0 command, the terminal responds Error resolving ttyRPMSG0 port 22 Temporary failure in name resolution Why? What did I do wrong? Sincerely, Alexander
We would like to build the TF-A image with a different muxer settingfor i2c4. The usual setting is:i2c4_pins_a: i2c4-0 { pins { pinmux = <STM32_PINMUX('Z', 4, AF6)>, /* I2C4_SCL */ <STM32_PINMUX('Z', 5, AF6)>; /* I2C4_SDA */ bias-disable; drive-open-drain; slew-rate = <0>; };};our setup:i2c4_pins_a: i2c4-0 { pins { pinmux = <STM32_PINMUX('H', 11, AF6)>, /* I2C4_SCL */ <STM32_PINMUX('H', 12, AF6)>; /* I2C4_SDA */ bias-disable; drive-open-drain; slew-rate = <0>; };};If we use the changed pin muxing we get no signal output on those pins.My que
Good day, I solved one problem how to connect to stm32mp157a-dk1 over tcp. In the console, you need to write ifconfig eth0 192.168.1.5 ; net data-P ttyRPMSG0 ; net data-p8888 but I do not see data in the buffer ttyRPMSG0. in my program OpenAMP_TTY_echo although the data should be. Sincerely, Alexander.
Hello Everyone I wanted to Install Buildroot on my STM32MP157-DK2 according to this website:https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/Unfortunately as a beginner with OpenST-Linux and Yocto I got stuck at that step where I couldn't find a way t install gcc like on ubuntu for exemple with the easy command "apt-get install ... " .I flashed and Installed OpenST-Linux on my device according to this st.wiki page:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_PackageEverything worked fine. I would also be interested in knowing if Installing Buildroot would cause some STM-Softwares inactive. We are working on an IoT Project and according to what I've read,Buildroot is suitable for it and besides the guy responsible for the Project wanted Buildroot installed and configured on the device.Thank you all and thanks for helping me to get better :)
I am trying to get this board up and running again after being away from it for a while, but I've been running into problems trying to boot from the SD card. I followed the instructions from the wiki here: https://wiki.st.com/stm32mpu/wiki/STM32MP15_Evaluation_boards_-_Starter_PackageI tried flashing in DFU mode:~/Downloads/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/images/stm32mp1$ STM32_Programmer_CLI -tm 20000 -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157a-ev1-trusted.tsv ------------------------------------------------------------------- STM32CubeProgrammer v2.5.0 ------------------------------------------------------------------- Warning: Timeout is forced to 20000 ms USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 SN : 003E003E3438511638333630 FW version : 0x0110 Device ID : 0x0500 Device name : STM32MP1 Device type :
we want to read value of 1ch's adc evary 1ms by IIO. it it possible? (STM32mp151c)if it can not , how to does it read adc every 1ms. **********************************$ cd /sys/bus/iio/devices/trigger0/$ cat nametim6_trgo$ echo 10 > sampling_frequency **********************************
I have xfce running very well in the V1.2 Yocto Distribution system on the stm32mp157c disco board. The xfce desktop is very responsive and uses about 100M of memory. The xfce desktop using the latest V2.0.0 Distribution image however is very sluggish and even a simple mouse movement will cause near 100% cpu utilization. Memory usage is around 200M or more with the Xorg server alone using up 16M of memory. It would appear that the new image is not accelerated. I see similar behavior with the x11 image (matchbox desktop) so the issue is not the desktop but with the underlying system. Is there something setup parameter I am missing? I also noted that the weston image seems to run fine!
Hello,PLEASE GIVE SOME HELP.We made some boards based on MP157AAA and it ran good at first.BUT it can not boot anymore after someone turn off and on the power.No information comes from UART4 after turn on power switch.I change the boot-switch to '000' and use "cube programmmer " to update boot.some information comes out form uart4 but "cube programmmer " show error.SO,please tell me how to update boot-part or our hardware has been damaged Permanently.Thanks a lot.SIMON.
Hello,I am new to Linux and just got a new DK2 board. I am attempting to go through the sample on the wiki site.Question 1:I have followed all the steps, but when I go to make the example, I get this error and am not sure how to address it (image makeError): make: arm-ostl-linux-gnueabi-gcc: Command not foundMakefile:13: recipe for target 'gtk_hello_world' failedmake: *** [gtk_hello_world] Error 127Question 2:I then asked a friend for their version of the gtk_hello_world example. It runs on my linux system and was able to download it to the board. But when I run it on the target, I get a very strange error as seen in the image runSample. It's like the file(s) is corrupted...
Hi allI am making a distribution based on "Eco System 2.0.0" and yocto.I have a problem with TF-A when making a distribution package.This is the "stm32mp1_clk_get_gated_id: clk id 85 not found" error message from "tf-a-v2.2-stm32mp-r1.0"I know it's resolved in "tf-a-v2.2-stm32mp-r1.3", but it doesn't apply to yocto yetI would like to know if there is a way to apply the "tf-a-v2.2-stm32mp-r1.3" version to yocto."devtool modify -x tf-a-stm32mp workspace/tf-a"I used the above command to replace existing source with "r1.3" source and created a distribution, but the version of the "tf-a-xxxxx-serialboot.stm32" file is still "r1.0".When I download using "STM32CubeProgrammer" I get the same error.Any answers would be appreciated.Thanks and regardsMachilus
do we have any bit disable particular can frame receive warn message as we have in imx6 platform ?RWRN_MSKThis bit provides a mask for the Rx Warning Interrupt associated with the RWRN_INT flag in the Error andStatus Register. This bit is read as zero when MCR[WRN_EN] bit is negated. This bit can only be written ifMCR[WRN_EN] bit is asserted.1Rx Warning Interrupt enabled0Rx Warning Interrupt disabled
Is it possible to control LTDC on STM32MP157 by Cortex M4 co-processor?I have noticed that there is no available HAL driver for LTDC on STM32MP157.Why is it so? Can we use the HAL driver for LTDC intended for STM32H7 processors on STM32MP157?
Trying and failing to toggle LED 7 of the STM32MP157C-DK2 from the STM32. The IOC file indicates that PH7 is configured as GPIO. The mode is Output Push Pull, the GPIO Pull-up/Pull-down state is No pull-up and no-pull-down. The Maximum output speed is Low. I have added the following lines to the following lines to main.c: while (1) { HAL_GPIO_TogglePin(GPIOH, GPIO_PIN_7); HAL_Delay(1000); /* USER CODE END WHILE */The code is executing but the LED is not changing state. I looked in the MX_GPIO_Init() on the STM32 side and there appears to be no code to setup the GPIO port:static void MX_GPIO_Init(void){ /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOH_CLK_ENABLE();}I looked in the CA7 side at the kernel dts file and could find no reference to GPIO H7. From what I read in the documentation I thought the STM32CubeIDE was supposed to generate the setup code for this port. I am using the OpenSTL v2.0.0 Starter Kit image.Does anyone have
In manual UM2369 it states the following:"To set up an STM32MP157C-DK2 Discovery kit as the Edge gateway for your Predictive Maintenance Platform,you can either:• Use a pre-configured image by ST; these can be flashed onto an SD card and run on the Discovery board. Inthis case you can skip the gateway configuration procedure and proceed directly to connecting to thegateway via SSH.– X-LINUX-PREDMNT"I downloaded the appropriate *.imgc file to my HostPC. I also managed to get the STM32Programmer working with DFU and flashed the Starter Package to my Discovery Kit Gateway. The manual or broader website doesn't state how to actually do what UM2369 states in the above paragraph. Anybody have some step-by-step guidance for me?
Hello EveryoneI wanted to connect my STM32MP157-DK2 to laptop (Ubuntu 18.04 through a VM). I followed every step in the bellow article but nothing : https://wiki.st.com/.../STM32MP15_Discovery_kits...According to section 6.2 my MP should connect. The STM32Programmer Software is responding (Version 2.5) but the USB connection isn't possible The switches are on the Off mode.There is no explanation on the net, so I hope that you can help me.Thanks
Hi Folks,I am trying to build openstlinux-eglfs/st-example-image-qt using yocto/openstlinux distribution (please see details below) for stm32mp157c-dk2 board. After fixing compilation problem with qt3d (scene2d example failed to compile) I was able to boot from SD card.There is STM background on HDMI and bootloader splashscreen on attached screen (which remains black if no HDMI connected). Whatever example I am trying to run using seral console, they does not work with following errors:root@stm32mp1:/usr/share/examples/gui/openglwindow# ./openglwindow No usable crtc/encoder pair for connector "DSI1"qt.qpa.input: X-less xkbcommon not available, not performing key mappingCould not set DRM mode for screen HDMI1 (Permission denied)Could not queue DRM page flip on screen HDMI1 (Permission denied)(last message repeated continuously)I would highly appreciate any hints how to make eglfs image/examples work.Best regards,Andrey.~/stm32mp157c-dk2/Distribution-Package/openstlinux-4.19-thud-mp1-19-
Hey,As a hardware engineer, I worked for a long time with the M7 controller.For a Specific Algorithm, It seems like I should use a stronger core then the M7 480Mhz, when the purpose is to Calculate in Real-time.one of the options is to use the MP153/157 with 2 cores 800Mhz each, for Better performance.in case that I would like to work Bare metal- without operating system like Linux, and the entire purpose of the MPU is to calculate and send the data in serial communication, what is the minimum periphery the MPU Demands?external DRAM is necessary ?in simple words, can I just “supply�? the component?what are the Consequences in using MPU Vs MCU, except from Power Consumption? Best regards peleg
I want to use remoteproc to load and start firmware on Coretex-M4 from Cortex-A7.I refer to the following Wiki page.https://wiki.st.com/stm32mpu/wiki/Linux_remoteproc_framework_overviewIn above Wiki page, I have tried [4.1.1 Remote processor boot through sysfs].However, I can't find "remoteprocX(e.g. remoteproc0)" directory in "/sys/class/remoteproc/" directory.("/sys/class/remoteproc/" directory has no any sub-directory or files at all)What should I do to create "remoteprocX(e.g. remoteproc0)" directory in "/sys/class/remoteproc/" directory?Do I have to modify Linux kernel configuration or Device Tree? For the reference, [Support for Remote Processor subsystem] and [STM32 remoteproc support] is enabled in Linux kernel configuration as modules , and these have being loaded by "modprobe" command.Best regards.H. Masuda
Using the ST provided altium design files for the STM32MP157A-DK1, I've run the design rule check on the PCB as default which shows about 400 violations. Are the design rules set up correctly for this project or am I doing something incorrectly? I'd like to use the PCB file as the base for my project but would like the design rules to be correct before continuing.Thanks
Hi, I'm trying to build a Yocto-Linux for an specific STM32MP157 board. I was working with "thud", but now "dunfell" is required, as it is supposed to be long term stable.The system is built after ST's manual:https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machinetf-a-stm32mp-2.2u-boot-stm32mp-2020.01The Device Tree was adapted and Bitbake is compiling it. But now system get stuck while it executes the TF-A Boot (from SD).Is there any way to debug or get the reason for image load fail?When I try to flash it via STProgrammer a "Panic at PC" appears.Thanks in advance for any advise!KaiNOTICE: CPU: STM32MP157AAD Rev.B NOTICE: Model: STMicroelectronics custom STM32CubeMX board WARNING: VDD unknownINFO: Reset reason (0x17): INFO: Power-on Reset (rst_por) INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.2-r1.0(debug):v2.2-dirty NOTICE: BL2: Built : 13:36:23, Oct 22 2019 INFO: Using crypto library 'stm32_crypto_lib' INFO: BL2: Doing platform setup IN
I want to know how to specify the address to load Cortex-M4 firmware when U-Boot or Linux Kernel load the firmware of Cortex-M4 in Retention RAM.And, how to specify the address to load Cortex-M4 firmware if I load the firmware of Cortex-M4 in Retention RAM and MCUSRAM separately?In addition, if I load the firmware of Cortex-M4 in Retention RAM and MCUSRAM separately, is the swithing of RetentionRAM and MCUSRAM done by MPU without the programmer being aware of it?
want to exchange large data buffers with the coprocessor.I have done following wiki page.https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example#Source_codeI want to analyze Cortex-M4 source code, So I have get following source code. https://github.com/STMicroelectronics/logicanalyserI want to build the source code, but README says that "Drivers and Middleware are not included in the project; current assumption is that STM32Cube_FW_MP1_V1.2.0RC2 package is located at the same level as the project root folder."How can I get STM32Cube_FW_MP1_V1.2.0RC2?Or I have to investigate how to build the source code without STM32Cube_FW_MP1_V1.2.0RC2?Best Regards.H. Masuda
Trying to run some test code on the M4 core of a custom stm32mp151a board and can't seem to get far. I have been successful in getting u-boot working on the A core, so the majority of the board has been proven functional.I will attach my make file as well as a simple project that fails. The board is configured to boot in engineering mode.gdb indicates the crash is in memset from _start. I double checked it was pulling in the right version of thumb code for the library, and the .map file says it is.I used the bss loop to write a known value and then verified the startup code was clearing the bss section. The crash appears to happen after that is complete.I've also tried skipping the c _start function and calling __libc_init_array directly and it crashes in there. Skipping the _start altogether on the simple project runs without incident.The indication from gdb at crash with the backtrace is...Loading section .text, size 0x3f4 lma 0x10000000 Loading section .rodata, size 0x4 lma 0x100003
I'm looking for CAD symbols and footprint for STM32MP15x in LFBGA-354 package. Could you guys help me on this? Thank you.
I want to implement the program that exchange large data with each other on Cortex-A7 and Cortex-M4 by using DDR.Thanks to following wiki page, I have understand the mechanism that exchange large data from Cortex-M4 to Cortex-A7 by using DDR.https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_principleNow, I want to know the way that exchange large data from Cortex-A7 to Cortex-M4 by using DDR.I especially want to know how to read data on DDR from Cortex-M4.I would be grateful if there is any sample source code.Is there any sample source code that transfer large data from Cortex-A to Cortex-M?Best Regards,H. Masuda
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.