Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors software development tools.
Most recent activity
Hello.I was glad to hear that the TouchGFX supportance have covered the STM32MP135F-DK. Even though it only support TouchGFX 4.24.0 and STM32CubeIDE 1.15.0 (I'm unable to download the IDE 1.15.0 ! Only 1.15.1 so I tried the 1.15.1).Right from the start there was trouble with development.After downloading the addon and installed it into the TouchGFX folder, I followed the wiki stm32mpu/wiki/How_to_install_X-TouchGFX_MPU_Addon and downgraded my 1.18.0 IDE to 1.15.1 and installed it into the default directory, which the tutorial asked me to do so. I've downloaded the required programmer before so there was no need for me to reinstall it. Before this trial, I'm already a senior developer at TouchGFX.Generated the code……and clicked the "run target" as required……finally it went like, this↓ I wondered.So I opened the CubeIDE project and tried to build it just in the IDE.And unfortunately↓ I thought that it must be wrong, however, I done everything the wiki told me.I was us
I'm trying to setup CubeIDE for STM32MP1 but cannot make it to see the OpenSTLinux SDK.Following this article:https://wiki.st.com/stm32mpu/wiki/How_to_install_the_Yocto_Project_SDK_in_STM32CubeIDEThe popup window that should allow to download the SDK does not show up. Instead there is another one that opens the SDK manager directly. So I downloaded the SDK manually. However this SDK manager fails to recognize the SDK directory.These two discussions seem to imply that entering path of the directory where SDKs are installed should be enough:https://community.st.com/t5/stm32-mpus-products/openstlinux-sdk-manager-can-t-find-updated-sdk/m-p/568427https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-cannot-find-openstlinux/m-p/621928However in my case the "Available OpenSTLinux SDK:" window is always empty. wincak@wincak-pc:~/ST/SDK$ tree . └── stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 └── sdk ├── st-image-weston-openstlinux-weston-stm32mp1.rootfs-x86_64-toolchain-5
Hi,I want to implement a quadrature encoder input with the 400 MHz M33 core of the STM32MP257 MCU:two inputs which use 90 degree phase shifted pulses to increment or decrement a counterno bitbanging, means it is natively running on the hardwarefully running on bare metel/HAL code on the M33 coreconfigured with CubeMXMy question: how can this be done exactly? Means what do I have to configure within CubeMX to have two (or four) inputs working as one (or two) quadrature encoder inputs with related counter(s)?Thanks!
I was trying to write a small firmware to keep the LD9 Orange LED steady ON, instead of blinking in STM32CubeIDE. I could able to flash into CM33 core using the debugger and able to debug. When I disconnect debugger, it still remain ON.But once I reset the board, the CM33 firmware is gone and LD9 again started blinking, as if my firmware is over written.Any solution?
We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed issues in 1.18.1: Refer to the STM32 microcontroller wiki at: Known problems and limitations in 1.18.1: Refer to the STM32 microcontroller wiki at:wiki.st.com/stm32mcu/wiki/Category:STM32CubeIDE_errata How to get STM32CubeIDE 1.18.1: Under this link Or update your current installation of STM32CubeIDE using: Help > Check for updates (The in-tool update does not allow updating the drivers and STLINK server tool. Full installation is required for this to be done).
HiI am trying to program the Cortex M33 of STM32MP257F-DK dev board using CubeIDE. I have generated the code in Cube IDE. The debugger failing to program as the board not responding.Following are my debug settings:Again I tried using STM32 Cube Programmer, no luck.But its able to detect Cortex A35 using USB DFU mode and able to flash Linux into sd card.But the MCU is unable to detect.I tried boot settings in Development Mode 0011. Also tried 0001 and 0000. Same issue.Can anybody let me know where I am going wrong?
Hi,I'm trying to download SDK version 5.10 to build the version of Linux kernel used in our product after some years, i understand the file we need is en.SDK-x86_64-stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17.tar.xzunfortunately I get V6.x regardless of what I select on the download page. Would someone have a link to this file? (it's almost a gig)Thanks Simon Fisher
Hello,I was writing an application interacting with the default firmware on the STEVAL-STLKT01V1 in python using the Blue-ST-SDK and it was working fine (https://github.com/STMicroelectronics/BlueSTSDK_Python/tree/master). My teammate then flashed the FP-SNS-ALLMEMS1 firmware on the tile and now the script I wrote using the Blue-ST-SDK-Python cannot discover it (the example_1.py now simply times out) even though the device MAC address can be found with bluepy. It gives this error when trying to add the node by the MAC address:AM1V420: "Manufacturer specific data" must be of length "7" or "13", not "15". The board is discoverable and usable by the ST BLE Sensor app. Maybe the FP-SNS-ALLMEMS1 is only compatible with IOS/Android versions of the SDK? Which firmware is compatible with the Blue-St-Protocol-Python? And which firmware is default flashed onto the Sensortile? I simply need to read accelerometer and gyroscope
We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration is lost. DCMI building problems in STM32N6 projects: DCMI initialization instructions are not generated for both secure and nonsecure domains. Failure in generating the initialization instructions for projects using the DCMIPP feature in CSI mode. ULPI_Clock initialization issues for STM32F7 projects using the USB_OTG_HS feature: STM32CubeMX generated code omits the ULPI_Clock initialization or adds it when it is not needed. STM32WBA63xx project generation issues: STM32_WPAN advertising menu elements not updated correctly. Inaccurate warnings about non configured peripherals. IOC files failing to reopen, reverting to the home screen. stdio.h inclusion error for STM32U5 projects: A preprocessor error occurs in the compilation
Hello,I am encountering an issue when enabling the OpenAMP middleware in CubeMX for a new project targeting the STM32MP257F‑DK board. After creating the project and activating only the OpenAMP middleware (see attached screenshot), the build fails because several required files are missing. Below is the full error message generated during compilation.Thank you in advance for your help. 11:12:24 **** Build of configuration Debug for project openAMP_mp257_CM33 ****make -j12 all arm-none-eabi-gcc "../OPENAMP/mbox_ipcc.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DCORE_CM33 -DUSE_HAL_DRIVER -DSTM32MP257Fxx -DNO_ATOMIC_64_SUPPORT -DMETAL_INTERNAL -DMETAL_MAX_DEVICE_REGIONS=2 -DVIRTIO_SLAVE_ONLY -c -I../Core/Inc -I../../Drivers/STM32MP2xx_HAL_Driver/Inc -I../../Drivers/STM32MP2xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32MP2xx/Include -I../../Drivers/CMSIS/Include -I../OPENAMP -I../../Middlewares/Third_Party/OpenAMP/virtual_driver -O0 -ffunction-secti
An error in the interrupt priority configuration of the STM32MP135 code generated by CubeMX will result in all interrupts being set incorrectly. For example, if you set the interrupt priority for EXTI0 to 10 in CubeMX, the code will be generated:IRQ_SetPtiority(EXTI0_IRQn, 10);And the correct way is to shift the priority by 3 bits:IRQ_SetPtiority(EXTI0_IRQn, 10<<3); Can this be fixed in future releases?
OPTEE builds fine on ECO 5.0 (just built it right now with ECO SDK 5.0).OPTEE build fails on ECO 6.0 (SDK 6.0)Both on the same machine.Both using the same Cube-MX generated files and build commands used for both ECO versions.LD build/core/all_objs.o arm-ostl-linux-gnueabi-ld.bfd: cannot find libgcc.a: No such file or directory
Hello,I'm trying to configure a STM32MP135DAE in STM32CubeMX and running into problems trying to enable the ETHx_PPS_OUT pins in the configuration.For both ETH1 and ETH2, the "ETH PTP_Synchro PPS_OUT" box is grayed out with an error of:"ETH PTP_Synchro PPS_OUT Disabled: available only if one ETH Mode is enabled and if TIM2 or TIM3 is enabled with Slave Mode enabeld and ETR as Trigger Source or if FDCAN is enabled"Attempting to enabel TIM3 as desribed is not possible. Trigger Source of ETR1 is not selectable with an error of:"ETR1 Conflict with: SDMMC1: Mode SD 4 bits Wide bus or/and ETH! : Mode RGMII (Reduced GMII)"This is with STMCubeMX 6.14.0
We are pleased to announce that STM32CubeProgrammer 2.19 is available What is new in 2.19: Support for the STM32WBA6xxx microcontrollers: Internal memory programming Option byte/OTP programming RDP regression with password SFI support Support for MCE Noekeon encryption for STM32H7R3/7S3 and STM32H7R7/7S7 microcontrollers Performance enhancement: support for incremental programming Support for endianness management in automatic serial numbering Added key wrapping using coupling and chaining bridge (CCB), supporting DUA key, for the STM32U3series microcontrollers Support for flash programming via J-Link for the STM32WB0 series microcontrollers X-CUBE-RSSe and STM32MPUSSP-UTIL packages install and update from server Support for multiple boards for debug authentication Main fixed issues in 2.19: Refer to the STM32 microcontroller wiki at:https://wiki.st.com/stm32mcu/wiki/STM32CubeProgrammer_errata_2.19.0 Known problems and limitations in 2.19: Refer to the STM32 microcontroller
Executed from the linux tree root where the kernel was build fromThe dts was placed in the arch/arm/boot/dts/st/ folder. {STM32MP_PROJECT} is the filename (and hardcoding the dt filename gives the same result)Followed the wiki and the kernel HOWTO readme (both have different instructions)https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package make V=1 ARCH=arm st/stm32mp157a-dk1.dtb LOADADDR=0xC2000040 O="${OUTPUT_BUILD_DIR}" OK make V=1 ARCH=arm st/${STM32MP_PROJECT}.dtb LOADADDR=0xC2000040 O="${OUTPUT_BUILD_DIR}" FAILS make ${IMAGE_KERNEL} O="${OUTPUT_BUILD_DIR}" KBUILD_EXTDTS="${EXTDT_DIR}/linux" ${STM32MP_PROJECT}.dtbFAILS The error reported is No rule to make ... etc..Since ECO 6.0 boards are now in subfolders under configs. ST's dt's in the same folder compile fine. The file is there with the correct name. Make/Makefile seems to execute some kind of scripts which i can't follow. Perhaps custom DT's not in the
We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM32WBA series Eclipse® updated to 2024-09 and CDT updated to 11.6.1: Gives the possibility to install the Copilot4Eclipse (Copilot for Eclipse) plugin Updated to GCC 13 as default toolchain Multiple old toolchain version will no longer be supported: GNU ARM GCC7, GNU ARM GCC9 and GNU ARM GCC10 without ST layer GNUTOOLS FOR STM32 GCC7 with ST layer Added the support for Fedora® 41 Main fixed issues in 1.18.0: Refer to the STM32 microcontroller wiki at:STM32CubeIDE:STM32CubeIDE errata 1.18.x - stm32mcu Known problems and limitations in 1.18.0: Refer to the STM32 microcontroller wiki at:STM32CubeIDE:STM32CubeIDE errata 1.18.x - stm32mcu How to get STM32CubeIDE 1.18.0: Under this link Or update your current insta
I keep getting error for file functions that are not included in my program. I have not "included" any file function libraries. An example of this: D:/STMicro/STM32Cube/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: D:/STMicro/STM32Cube/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp\libc_nano.a(libc_a-closer.o): in function `_close_r': (.text._close_r+0xc): warning: _close is not implemented and will always fail D:/STMicro/STM32Cube/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: D:/STMicro/STM32Cube/STM32CubeIDE/plugins/com.s
STM32MP are not microcontrollers - so moved to the MPU section.Hi,How can I flash a CubeMX generated project to STM32MP257F-DK microcontroller?Do I have to generate a custom Yocto image with custom device tree, where I load the CubeMX generated device tree? Or is there any other easier ways to do it?
Hello everyone,I'm currently working with an STM32MP157F-DK2 device, and I need to change the MAC address. I'm building the image using bitbake, but I've encountered an issue when trying to modify the MAC address through OTP cells linkHere’s the output I get when checking the OTP values: STM32MP> fuse sense 0 57 2Sensing bank 0:Word 0x00000039: e17ae710 0000c393 STM32MP> fuse sense 0 58 2Sensing bank 0:Word 0x0000003a: 0000c393 12724303 STM32MP> env print ethaddrethaddr=10:e7:7a:e1:93:c3 STM32MP> fuse sense 0 0x10000039 2Sensing bank 0:Word 0x10000039: 40000000 40000000 As you can see, the current MAC address is 10:e7:7a:e1:93:c3, and the OTP cells are already programmed and locked. I tried to change the MAC address using the fuse prog command, but the OTP cells are locked, and I cannot modify them.Is there any way to change the MAC address on a locked OTP cell? Is it possible to unlock the OTP or reset it somehow?Additionally, I’m building the imag
Hello,I am trying to run a project I made on M33 on STM32MP257F-EV1. However, I am having trouble setting up OpenAMP on M33.After enabling openAMP in the .ioc file of STM32CubeIDE (version 1.18.0) and generating the project, running it, it stops at the code 'while(resource_table.vring1.da != VRING_RX_ADDRESS)'.in rsc_table.c in main.cdmesg when m33 launch sequence. Thanks!
Hello We have a few queries regarding the use of ST-Link for debugging, and I would greatly appreciate your assistance in this matter.We are currently using a J-Link Base probe for debugging the STM32MP157F processor in SEGGER EMBEDDED STUDIO, and we are successfully performing multi-core debugging with the J-Link.Could you please confirm if ST-Link can be used to debug the A7 core in SEGGER Embedded Studio? If so, could you kindly provide the necessary settings or configuration required for debugging using ST-Link, as well as the process for performing multi-core debugging with ST-Link?We are also planning to work with the STM32MP257 processor in the near future. Could you please recommend an ST-Link model that is compatible with both the STM32MP157F and STM32MP257F processors? Thanks & RegardsAkshitha Pattem
I ran into some issues porting the security package for STM32MP157My project was based on arm compiler 5, because cubeMX generated this version, but the MDK part of the self-test library I downloaded from the official was based on arm compiler 6, so I could not transplant the self-test library to my project. Is there any solution?
Hello,I'm trying to generate code from a CubeMX project for STM32MP257f-ev1: my concern is that I've turn on PLLs from CubeMx Clock Configuration tab but code for PLLs clock configuration is not generated in SystemClock_Config function. In main.c I get only the following:void SystemClock_Config(void){__HAL_RCC_MCO1KERCLK_SETSOURCE(RCC_MCO1CLKOUTPUTSOURCE_CLK_MCO1);}Maybe I missed something but I can't find out, can someone please help me?In attachment you can find the project .ioc fileMarco.
Hello,CubeIDE 1.18Half a year now I acknowledge these two warnings (developing for the CM4):It appears all the time when I restart a debug session with a build before. How can I ged rid of that? For the moment I just click always "yes"... Of course I closed all "visible" consoles, but maybe I miss something?Here the second:After building and "start debugging" --> "tranfering data" (into IP address), actually downloading the firmware.elf,To me it seems like a kind of race condition. I just ignore it, say "ok" and click "debug" again and the warning does no reappear. After the next build / debug start, the message comes back. This message seems to be project dependent (size of project / time for compiling?)
I've set the root path in the OpenSTLinux SDK manager, but when I try to download scarthgap from the 'install other software' dialog, it appears to download the SDK, but it never shows up. It's not at the path I specified either. I don't know where, or even if, it actually gets downloaded. When I try to setup openstlinux with the project, I always get an error that it failed to configure openstlinux with scarthgap. I'm assuming that's what's compatible with CubeIDE right now.CubeIDE thinks it's installed though, it is hidden when I hide the items that are already installed. I've tried this on a Linux VM as well as WSL2 and the behavior is the same.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.