Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors software development tools.
Most recent activity
I want to regenerate all my files, originally for the stm32mp157cac for the stm32mp157fac, in particular the devtree files. I suspect that the files are the same but I need verification. If they are not the same, how do I go about the update (without having to re-enter all my data).
Dears,I am able to compile Nx_WebServer demo. But when I try to run/debug it will halt.I read all notes in NetXDuo/Nx_WebServer/readme.html - the last chapter "How to use it ?"Open your preferred toolchainRebuild and run DDR_Init example to initialize the DDR memoryRebuild all files and load your image into target memoryFor STM32CubeIDE, in order to keep DDR initialized, please remove “monitor reset” line in “Debug Configurations->Startup>Initialization Commands”Run the applicationBut I end on red line - unable load image - Where could be problem ?I am able to compile and debug another aplication ftom STM32Cube_FW_MP13_V1.0 like UART, ADC examples withou error.Error in final launch sequence: Failed to execute MI command:target extended-remote localhost:3333 Error message from debugger back end:Remote communication error. Target disconnected.: (undocumented errno 10061).Failed to execute MI command:target extended-remote localhost:3333 Error message from debugger ba
We're using the ST v5.0 eco-system and v.6.9 of STM32CubeMX.Per RNG internal peripheral - stm32mpu, the RNG1 peripheral should be a single choice assignment. When I click on A7S (OP-TEE), the tool warns me that it cannot be removed from the A7S context because it is required for this peripheral. But I can still select the A7NS checkbox. We had the A7NS selected from our previous ioc file (working without OP-TEE in eco-system 4.1).This generates code that assigns the RNG1 to the A7NS in etzpc:DECPROT(STM32MP1_ETZPC_RNG1_ID, DECPROT_NS_RW, DECPROT_UNLOCK)and includes nodes in the u-boot and kernel dts: &rng1{ status = "okay"; /* USER CODE BEGIN rng1 */ /* USER CODE END rng1 */ }; This resulted in errors generated when booting Linux due to both op-tee and stm32 rng drivers being probed and the op-tee driver failing: [ 0.203070] (NULL device *): TA_CMD_GET_ENTROPY invoke err: ffff000a [ 0.203158] optee-rng optee-ta-ab7a617c-b8e7-4d8f-8301-d09b61036b64: TA_CMD_
DearsI can only start this example in Debug mode, the BLUE led start blinking... So it works OK.But If I try to use RUN command (using icon, or right mouse click on project file) than it seems not work (RED leds blinks only ONE and is OFF, Blue LED is also OFF)in project readme.txt is written only:"In order to make the program work, you must do the following :- Open your preferred toolchain- Rebuild all files and load your image into target memory- Run the example"Can anyone help me what I am doing wrong ?Best RegardsRadim
Hello I just tried tu run Nx_Iperf_A7 demoAs in readme I fellow-up all steps1) DDR_Init_A7 done (blue LED blinks)2) Nx_Iperf_A7 demo - compiled, and stared debug... and running codeIn terminal I got only "Nx Iperf application started.." but no info about IP address, etc. no more logs... Is it normal ? Must I to set something more to view them ?I setup with static IP address 192.168.0.2 instead of using DHCPIn terminal I got only "Nx Iperf application started.." but no info about IP address, etc. no more logs... Is it normal ? Must I to set something more to view them ?and I can only test UDP server mode (IPERF mode client) show on picture:All others variants end with connection errors...I also read suggested IPERT documentation and setup as suggested in application readme.html at end of text. "Run the [iperf tool] by following steps described in this link https://docs.microsoft.com/en-us/azure/rtos/netx-duo/netx-duo-iperf/chapter3" But it did not helped me...What could be wr
I'm currently using STM32CubeIDE v1.8.0 on Windows-10The existing project was targeted for STM32MP157F, because that's the part we had available. I need to generate device tree files for a STM32MP153C, but I don't see any way to change the target MPU in the existing project...
Dear Support and Experts Need your kindly help to advise. I am currently designing programming station to program STM32MP153 on a panel consist of 6 identical boards with command line utility. Kindly advise.1. Whether STM32CubeProgrammer is a right programmer for this part STM32MP153? 2. Do I need to have STM32CubeProgrammer for each of the board so totally is 6?3. In case we need to install 6 of the programmers so can we program all these 6 in parallel? Your advice will be highly appreciated!
HelloCan I use Windows and STM32CubeIDE to develop application using STM32MP135FAF7 (STM32MP135F-DK discovery kit).I tried to create empty project based on this discovery kit but it ended with message"This project requires OpenSTLinux version 'openstlinux-6.1.-yocto-mickledore-mp1-v23.06.21', setup it now ?"and finally error message "This operation is only supported on Linux!"I would like to program "bare" A7 chip using STM32IDE using STLink, is it really possible ?Thanks in advance... and Best RegardsRadim
Dear Experts Need your kindly help to advise. I am designing programming station to program STM32MP153 on a panel consist of 6x identical boards with command line utility. Kindly advise.1. Whether STM32CubeProgrammer is a right programmer for this part STM32MP153? 2. Do I need to have STM32CubeProgrammer for each of the board so totally 6x?3. For the command line, can we identify/ch any STM32CubeProgrammer to be program or? Your advice will be highly appreciated!
Hello, Since the STM32CubeIDE 1.14.0 release, some issues was faced when executing shell script in the pre/post build command. This issue was faced with the Windows version of the STM32CubeDE 1.14.0. Therefore, a patch is now available on ST site which fix this problem. KR,Semer.
Hi,we are generating STM32MP1 Code with CubeMX under Windows and add the needed lib file as references.That creates a link for each library in the CM4/.project file. <link> <name>Drivers/STM32MP1xx_HAL_Driver/stm32mp1xx_hal.c</name> <type>1</type> <locationURI>PARENT-3-PROJECT_LOC/Users/XXXX/STM32Cube/Repository/STM32Cube_FW_MP1_V1.6.0/Drivers/STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal.c</locationURI> </link> The project is shared with several developers and its possible that PROJECT_LOCATION is at a different folder level,what cause the build to crash if PARENT-3-PROJECT_LOC does not fit.We don't want to Copy the library files to the project folder so that they don't have to be commited to our git repo.In CubeIDE it is possible to convert the linked Resource path to absolut path, but this could be overwritten by CubeMX again. Is there a way to tell CubeMX Code generator to use the absolut path of Firmware Packag
Is there any way to enable and disable drivers in the kernel from STM32CubeIDE? For example to enable support for another LCD panel If I use menuconfig to change configuration, make does not work anymore.+ case "$command" in + exec make -j12 all *** *** The source tree is not clean, please run 'make mrproper' *** in /home/st-test/STM32CubeIDE/workspace_1.14.0/panel/CA7/linux-6.1.28/linux-6.1.28 *** make: *** [/home/st-test/STM32CubeIDE/workspace_1.14.0/panel/CA7/linux-6.1.28/linux-6.1.28/Makefile:658: outputmakefile] Error 1 "make -j12 all" terminated with exit code 2. Build might be incomplete. @if [ -f $(srctree)/.config -o \ -d $(srctree)/include/config -o \ -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ echo >&2 "***"; \ echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ echo >&2 "*** in $(abs_srctree)";\ echo >&2 "***"; \ false; \ fi
I am on part 4 of the digikey embedded linux series and i keep getting this error when running " bitbake custom-image" # ERROR: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Error during parse shell code, the last 5 lines are: # iterate to the next setting setting=`echo $remaining | cut -d ';' -f1` remaining=`echo $remaining | cut -d ';' -f2-` done WARNING: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Exception during build_dependencies for set_user_group WARNING: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Error during finalise of /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb ERROR: Unable to parse /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb Traceback (most recent call last): File "/home/matthew/Projects/yocto/poky/bitbake/lib/bb/pysh/pyshlex.py", line 600, in PLYLexer._parse(eof=True): elif self._state==self.ST_Q
Hi,I've been following along with the "Getting started" on the wiki, but I cannot set up the developer package for my STM32MP157x-DK2. Downloading the file and trying to extract the archives, I get the following:```adriaan@ZOBLZO21X5GY3:~$ cd STM32MPU_workspace/tmp/adriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ lltotal 667536drwxr-xr-x 2 adriaan adriaan 4096 Jan 6 16:49 ./drwxr-xr-x 4 adriaan adriaan 4096 Jan 5 16:23 ../-rw-r--r-- 1 adriaan adriaan 262113357 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz:Zone.Identifier-rw-r--r-- 1 adriaan adriaan 421422061 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz:Zone.Identifieradriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ tar xvf en.
Hi Guys. I want to increase memory allocated to the eclipse, but I cant find the eclipse.ini fille. Could you direct me into a right direction?
Hello all, good day I hope your Christmas season is going well. I'm looking for a pdf document that gives description for STM32MP157F-DK2 HAL and low-layer drivers. I tried searching the internet but I couldn't find it, (basically looking for an equivalent of the PDF that is attached to this post) for my STM32MP157F-DK2 board as I am using STM32CubeIDE to program it please provide kind support thank you best regards.
Hi,Our goal is to make FIP redundant. We are using RAUC mechanism to update TF-A and FIP. Manually, using `rauc install` CLI tool, I am able to update both TF-A and FIP. If I reboot the system, new TF-A and new FIP is loaded. However, when I created a rauc bundle for either fip or tfa that has corrupted fip and tfa binaries and updated it in the HW, system crashed on reboot. It didn't go on to boot from other tfa or fip partition.If there is any defined mechanism to make FIP redundant in ST infrastructure? Thanks~Umar
@hello, I was using STM32Cubeprogrammer for long time but suddenly Its main function of browsing and selection file option (OpenFile) stopped working. After multiple time install and uninstall it has the same behavior in a particular PC. I tried older versions & both 32bit-64bit variants but no luck.
I try to activate the SPI5 in user space. It compieles correctly.I use the repository:repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mp1-v23.06.21repo syncDISTRO=openstlinux-weston MACHINE=stm32mp13-disco IMAGE="st-image-weston" source layers/meta-st/scripts/envsetup.shbitbake st-image-westonafter editting the device tree:bitbake virtual/kernel -c compile -f && bitbake virtual/kernelBut I see not the spidev in /dev/...&spi5 {pinctrl-names = "default", "sleep";pinctrl-0 = <&spi5_pins_a>;pinctrl-1 = <&spi5_sleep_pins_a>;cs-gpios = <&gpioh 11 0>; /* PH11 */status = "okay"; spidev@0 { status = "okay"; compatible = "rohm,dh2228fv"; /* * spidev uses a compatible string 'rohm,fs2228fv' to have the * driver create an spi device node. This is just an example, * there is not a real device connected on the SPI bus. */ reg = <0>; spi-max-frequency = <30000000>; };};Is t
Hi, Compiling a Project (FSBLA\FSBLA_Sdmmc1) encountered an error,Nothing has been changed
Hello,I am trying to enable secure boot on my STM32MP157F-EV1 board. I'm following the https://wiki.st.com/stm32mpu/wiki/How_to_perform_Secure_Boot_from_Distribution_package Tutorial.The keys are created, the public hash is fused.I've added the required information in the local.conf file to enable signature. (I also noticed that the compilation stop if the SIGN_KEY_stm32mp13 is not in this file, which I find weird because the conf file is made for a stm32mp15 board.)SIGN_KEY = "key/stm32mp15/privateKey.pem" SIGN_KEY_stm32mp15 = "key/stm32mp15/privateKey.pem" SIGN_KEY_stm32mp13 = "key/stm32mp13/privateKey00.pem" EXTERNAL_KEY_CONF = "1" SIGN_KEY_PASS = "<password>" SIGN_ENABLE = "1" SIGN_TOOL = "/home/viveris/julien/STM32CubeProgrammer-2.14.0/bin/STM32MP_SigningTool_CLI"The bitbake st-image-weston goes well until T-FA build. STM32MP Signing Tool v2.14.0 crash with a Segmentation Fault. Here is the console error:| ------------------------------------------------------------------- |
optee-stm32mp-addons repository is not available in github. Seems to be deleted or cant be accesed.URL:https://github.com/STMicroelectronics/optee-stm32mp-addons
Using MP135F-DK board.Setup the environment and rebuild kernel.After I use openocd and gdb success connect to linux system, try to debug linux kernel, then run some simple gdb command like "bt" or do nothing, then system get reset.I did not get much useful info from console (minicom).if I don't pause system and let gdb "continue", then no reset.Is it because watchdog ? how to disable it.
Experiencing a 'Connection timed out' error (Failed to execute MI command) in STM32Cube IDE when launching. Looking for assistance with debugger configuration and troubleshooting steps. Any advice appreciated. Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.