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 am using Hyper-V as my VM, since I am on windows, and trying to bring up the STM32MP257F-EV1 development board. I have verified the programmer is installed correctly and have verified that Hyper-V's enhanced mode is running but every time I run the command STM32_Programmer_CLI -l usb it says "No STM32 device in DFU mode connected" I have been following the guide: STM32MP25 Evaluation boards - Starter Package - stm32mpuIs there anything additional I should be doing that I am missing? Any help would be greatly appreciated.
Hello, I am trying to set up an ST link on the Cubeprogrammer, but whenever I try it gives me an error which states: "Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication". I am able to boot it in UART but not ST link and research on how to do this has run dry. Any help on how to do this Debug Authentication would be greatly appreciated. Thanks!
The following compilation failure occurs when using cubeMX (6.12.0) to generate the STM32MP135DK+threadX project:tx_initialize_low_level.S:147: undefined reference to `_stack_bottom'collect2.exe: error: ld returned 1 exit statusmake: *** [makefile:66: Demo5_Application.elf] Error 1
Hi all.I'm working through the lab material for the STM32MP1 workshop and have run into a snag after following the "extra hands on" presentation "Lab-MP15_FromPartNumber_To_BasicDeviceTree_with_CubeMx.pdf". My high level goal is to get binaries (TF-A, FIP) to enable production eMMC programming via USB DFU.While we've got working eMMC images produced by buildroot (based on an earlier version of the ecosystem) we've discovered that the versions of the boot chain we're using don't support USB DFU (specifically TF-A).To remedy I've gone through the lab materials and Cube MX for ecosystem 5 along with modifications for our custom board and have the resulting input DTS files for building the boot chain binaries:├── kernel│ └── stm32mp153c-som-dfu-mx.dts├── optee-os│ └── stm32mp153c-som-dfu-mx.dts├── tf-a│ ├── stm32mp15-mx.dtsi│ ├── stm32mp153c-som-dfu-mx-fw-config.dts│ └── stm32mp153c-som-dfu-mx.dts└── u-boot ├── stm32m
When I try to use JTAG connect to MPU, the watchdog will reset whole system.Early, I have this post Solved: System reset during kernel debug - STMicroelectronics Community. With you suggested solution I'm able to disable Watchdog. Now I have time to play with this board again.Could STM release a new version which has disabled wathdog in security firmware, loader and Linux???or someone can have a detail step for how to disable it.all the early answer are "could try this " "could you try that". but all are failed at my side.I hope I can get a guideline or new release which is verified. Watchdog may not provided any help for our DIY project, but just trouble.
Hello, I am trying to boot a Hi-Speed USB Device application using the STM32MP135F-DK by loading it from an SD card to DDR3, but it is not working. To investigate the issue, I am trying to boot CDC_Standalone that is included in STM32Cube_FW_MP13_V1.1.0 by loading it from an SD card to DDR3, but it is not going well too. I am following the procedure as below.Change the linker script of CDC_Standalone to use DDR_BASE as attached "stm32mp13xx_a7_ddr.ld.txt" and define USE_DDR.Reference: Build application for DDRChange CDC_Standalone to sign the application via postbuild steps and scripts.Reference: Create signed application.Create a loader for the signed CDC_Standalone based on SD_Ext_Loader in STM32Cube_FW_MP13_V1.1.0.Write the application to an SD card via UART interface by using STM32CubeProgrammer and try to boot it.Reference: How_to_load_and_start_STM32CubeMP13_applications_via_microSD_cardAfter following the procedure, the blue LED lights up momentaril
Hi all,On my Ubuntu 20.04 computer with newly installed STM32CubeProgrammer, I cannot launch the STM32CubeProgrammer v2.17.0 using either the launcher or the programmer using command line. Not sure if it is a graphics card/driver compatibility issue. The PC has a RTX3080Ti with 550.54.15 driver and CUDA Version: 12.4.Could you please assist.Thanks. /home/vunguyen/ST/STM32CubeProgrammer/bin 2024-07-24 20:47:19,481 JavaFX Application Thread ERROR Unable to locate appender "csvFile" for logger config "com.st.mtt" Loading PRG Library: /home/vunguyen/ST/STM32CubeProgrammer/bin/../lib/libCubeProgrammer_API.so [Analytics] No requests are done with CLI [Analytics] No requests are done with CLI 95 external Loader list /home/vunguyen/ST/STM32CubeProgrammer/bin java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodA
STM32CubeProgrammer v2.17.0 release information New features:• Added the support for the STM32MP25xx microprocessors in the STM32MP2 series – Flash memory and OTP programming, SSP support Added the support for devices in the STM32WB0 series: STM32WB05 MCU, STM32WB05 coprocessor, STM32WB07 MCU, and STM32WB09 MCU product lines – Flash memory and OTP programming via debug and UART – Key generation, software signature, and OTP provisioning Added the support for new STM32C0xxxB microcontrollers in the STM32C0 series with 128 Kbytes of flash memory – Flash memory and OTP programming via debug and UART Refer to the STM32CubeProgrammer software description user manual (UM2237) for details. Fixed issues: 126305 [GUI][STM32U5] RDP regression with password level 2 not working on all operating systems. 129215 [STM32CubeProg] Add new features: save and load OB configurations. 136058 [STM32U575ZI] STM32CubeProgrammer bug affecting flash memory programming when flash memory banks are swapped. 143
I'm using the Board STM32MP157F-DK2 on a Linux Ubuntu 22.04I was trying to follow the 1.3.1 step at 'https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package#Install_all_X-LINUX-AI_packages', when this happened: ~ apt-get install ./apt-openstlinux-ai_1.0_armhf.deb Reading package lists... Done Building dependency tree... Done Note, selecting 'apt-openstlinux-ai' instead of './apt-openstlinux-ai_1.0_armhf' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: apt-openstlinux-ai : Depends: apt-openstlinux (>= 5.0-r0) but 4.0-r0.4 is to bd E: Unable to correct problems, you have held broken packages. How can i update the apt-openstlin
Hello everyone,I want to develop a project for STM32MP1 using stm32cubeIDE Version: 1.15.1. In the yocto-related part of the topic, I successfully compiled a kernel and produced an SDK for the relevant kernel. I want to import this SDK into the cubeide environment and start with a ledBlinky application. But I couldn't import the SDK.I have reviewed what is explained in forums and blogs, but I constantly encounter error messages. Below is the location of the .sh file of the SDK I produced. And I keep getting the following error. What I want to do is to use my own SDK for mickledore, not the SDK offered by ST.Sinceley
Hello, I am trying to create a new STM32 baremetal project for STM32MP131Axx. Errors occurred when to build the project that ADC2 is enabled by using STM32CubeMX.'ADC1' undeclared (first use in this function); did you mean 'ADC2'? stm32mp13xx_hal_adc.c line 2786'ADC1_COMMON' undeclared (first use in this function); did you mean 'ADC2_COMMON'? stm32mp13xx_ll_adc.h line 1970 STM31MP131Axx has only ADC2 but the FW package seems to expect the definition of ADC1 exists. I avoid these errors by modifying "stm32mp131axx_ca7.h" as below since I though it is better not to change "stm32mp13xx_hal_adc.c" and "stm32mp13xx_ll_adc.h" because they are common files for STM32MP13 series.#define ADC1 ((ADC_TypeDef *) ADC2_BASE) #define ADC1_COMMON ((ADC_Common_TypeDef *) ADC2_COMMON_BASE) #define ADC2 ((ADC_TypeDef *) ADC2_BASE) #define ADC2_COMMON ((ADC_Common_TypeDef *) ADC2_COMMON_BASE) I would be appreciated if you could explain the better way to avoid these erro
Hello, I recently purchased the STM32MPU135F-DK and is having an issue with connecting to the discovery kit using the STM32CubeProgrammer Version 2.16.0. It looks like when i try to connect the STM32MPU135F-DK, I get this "Cannot Access Port 0!!!" (Please see picture attached). I have never seen this issue before with any of my STM32 discovery kits.Can you please tell me how to fix this issue?
Hello everyone,I got a yocto build from scratch using yocto/open-embedded/meta-st-stm32mp. Everything is smooth. I can root the kernel while standing. I can establish an ssh connection. Everything is perfect.But I want to create an SDK after the kernel compilation I received. In the next step, I will integrate the SDK I created into cubeide and start developing code. But when I say "bitbake -c populate_sdk core-image-minimal" I get the following error. I've been struggling with this error all day and couldn't solve it. Does anyone have an idea? Sincelery
We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0? New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XX Add support new CPNs STM32G4: Add support STM32G4 'Z’ and STM32G414 New Boards are supported: NUCLEO-C071RB , NUCLEO-WB09KE ,NUCLEO-WB07CC ,NUCLEO-WB05KZ ,STM32MP257F-DK , STM32MP257F-EV1 Remove STM32MP15 obsolete boards from CubeMX board selector ( STM32MP157A-DK1 , STM32MP157A-EV1, STM32MP157C-DK2, STM32MP157C-EV1) New Boards are supported by the Start from Board feature: Nucleo-WB09xx Nucleo-WB07xx ,Nucleo-WB05xx ,Nucleo-C0 , NUCLEO-G431RB ,NUCLEO-G474RE ,NUCLEO-G491RE ,NUCLEO-H503RB ,NUCLEO-U545RE ,NUCLEO-WB15CC ,NUCLEO-WB55RG ,P-NUCLEO-WB55 ,P-NUCLEO-WB55 ,NUCLEO-WL55JC1 ,NUCLEO-WL55JC2 ,NUCLEO-WBA52CG ,NUCLEO-WBA55CG Add CMake support for multicontext projects (Multi-Context ,Trust zone , Multi-core) Add the support of the memo
Hello,I am developing using the OpenSTLinux Ecosystem 4.1 Distribution package. And I generate "SDK by bitbake -c populate_sdk st-image-core", and obtained the SDK (I think it is the same to the Developer Package offererd by st.com). After that, I run the xxx.sh file inside the deploy/sdk path and finally installed it into /opt directory. Until then, everything is OK.When I open STM32CubeIDE (version 1.15.1) to install the SDK, every time I choose the SDK installation path where there is a sysroot directory, STM32CubeIDE complains that An internal error occurred during: "OpenSTLinux Lookup". java.lang.NullPointerException Here is the directory structures of my own SDK installation. jason@dell15:/opt/st/stm32mp1-dragonli5$ tree 4.0.11-snapshot/ -L 2 4.0.11-snapshot/ ├── environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi ├── site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi ├── sysroots │ ├── cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi │ └── x86_64-ostl
Hello everyone,I made a yocto based build using stm32mp1. After compiling, I followed these steps: I created 5 different partitions in the SD card. These are as follows. I uploaded the following files to the partitions I created, respectively.sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb1sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb2sudo dd if=fip/fip-stm32mp157d-dk1-fastboot-sdcard.bin of=/dev/sdb3sudo dd if=st-image-bootfs-poky-stm32mp1.ext4 of=/dev/sdb4 bs=1Msudo dd if=core-image-minimal-stm32mp1.ext4 of=/dev/sdb5 bs=1MLater, when I connect to the DK1 board, I get the following error.When I examine the Flash layout files, I think it does this because it cannot find the FWU_MDATA files. But I don't know the size of the partitions I allocated for FWU_DATA and what type they will be (Linux file system or microsoft basic data). Can you help me with this? Which partitions are missing and what should their file typ
Hello, I create new STM32 project for STM32MP131AAG3 with baremetal. I encounter the following errors when to build the codes of DMA generated by STM32CubeMX.undefined reference to `HAL_NVIC_SetPriority'undefined reference to `HAL_NVIC_EnableIRQ'static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 0, 0); HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);}I fixed the code as follows.static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ IRQ_SetPriority(DMA2_Stream1_IRQn, 0); IRQ_Enable(DMA2_Stream1_IRQn);}Is this bug? Or is there possibility that I took mistake MX settings or else?I
I think my problem is almost same with jlrstm's one. https://community.st.com/t5/stm32cubeprogrammer-mpus/stm32cubeprogrammerlauncher-won-t-launch-on-ubuntu-machine/td-p/665195 but I cannot get a solution about it. I have a STM32MP157C-DK2 board. please help me. root@jesong:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin# ./STM32CubeProgrammer./STM32CubeProgrammer: line 4: cd: /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin : No such file or directoryException in thread "main" java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:893)Caused by: java.lang.UnsupportedOperationException: Internal Errorat c
I create new STM32 project for STM32MP131AAG3 with baremetal. An error occurs when build the project.../../Drivers/CMSIS/Device/ST/STM32MP13xx/Include/stm32mp131axx_ca7.h:166:4: error: redeclaration of enumerator 'RESERVED_111' I fixed the enumerator name to RESERVED_112 by myself to build.RESERVED_111 = 111, /*!< reserved */RESERVED_112 = 112, /*!< reserved */ Is there a plan to apply this bug fix to the STM32CubeMP13 codebase?
Hello everyone,I am an avid petalinux user. I know that STM32MP1 has had a big place in the market for many years. But I've never had to use it before. I want to use this in a project right now. And I'm a little confused about where to start. I have a few questions; 1) What exactly is openstLinux? Is it something like petalinux distribution? 2) Let's say I compile an stm32mp1 project with yocto. I couldn't find any information about how to import the resulting image files into cubeide? 3) Which of the dtb files created with cubemx should I use? 4) When I select cubeide and the mp1 family from the project opening and say "setup openstlinux", I get a manifest version error. How can I fix this? Thank you very much in advance. Kind regards
Hi STM32CubeProgrammer Community,I hope you are all fine and doing great. I am new to STM32CubeProgrammer and I am trying to install/download it in Linux. I am facing and issue which I have logged below. Please guide me on how I can fix this issue. I tried with different web browsers(chrome, firefox) to download it. but I am facing the same problem with (windows, and Linux).
Hello,I've implemented the solution proposed in https://github.com/MaJerle/stm32-usart-uart-dma-rx-tx?tab=readme-ov-file by @Tilen MAJERLE for efficiently using the DMA in circular mode with a buffer for the UART in a STM32L4 board.I'm trying to port my driver to the M4 processor of a STM32MP157-DK2. I've successully configured the UART3 in the M4 project with DMA in normal mode and I'm receiving one byte at a time and adding them with the RxComplete callback to my buffer.However, when I changed the DMA mode to circular, my surprise was that there is no HAL_UARTEx_ReceiveToIdle_DMA function in the HAL driver and no HAL_UARTEx_RxEventCallback callback. So I can use the RxComplete and RxHalfComplete callbacks but no idle line callback, which is a big problem when using a long circular buffer size.Can anyone explain what is the problem, why there is no Idle line detection here or how can this feature be implemented for this board? Thanks in advance.
We are pleased to announce you that the official release of STM32CubeMX V6.9.0 is available for download here What is new in STM32CubeMX V6.9.0? Added the support for new microcontrollers in the STM32U5 series Added the support for new microcontrollers in the STM32WBA series Added the support for two new boards related to the STM32U5 series: STM32U5G9J-DK1 and STM32U5G9J-DK2 Added the support for one new board related to the STM32L4+ series: STEVAL-SMARTAG2 Added the support for the memory management tool for the STM32H5 and STM32U5 series Added the support for new boot paths for the STM32H5 series Added makefile generation in dual context for the STM32H7, STM32L5, and STM32U5 series Added hierarchical project support in the Example Selector for the STM32U5 and STM32WL series Added user authentication functionality Added the support for processing before and after code generation Upgraded the JDK11 to Adoptium™ Termurin™ 17.0.6 Main fixed issues 121529 [Example selector] Managem
Hello all,I'm looking for the STMCubeProgrammer for STM32MP257F-EV1.The actually on web site available version 2.16 seems to not support my board.At least it does recognize my board but tells it's not supported13:41:26 : Error: Database cannot be found. DatabasePath = C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin/../Data_Base/STM32_Prog_DB_0x505.xml13:41:26 : Error: CUBEPROGRAMMER_ERROR_NOT_SUPPORTEDSomebody can help me?Thanks in advance.Cheers Alex
My question is:Can I use PE12 AND PE13 pins as TAMPER_IN type or not ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.