STM32CubeProgrammer (MCUs)

Ask questions on STM32CubeProgrammer and find answers on device detection, connection failure, programming issues, and more.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeProgrammer v2.20 released

We are pleased to announce that STM32CubeProgrammer 2.20 is available What is new in 2.20: • Support for the STM32MP21x microprocessors:         – External memory programming        – OTP programming        – PKCS#11        – ST power management IC• ...

Resolved! STM32CubeProgrammer does not run on Fedora 41

Hello,I have installed a fresh STM32CubeProgrammer on my Fedora 41 Linux system, but I am unable to run it.After installation, I have tried running it both using the desktop menu entry and from terminal, however it never starts and crashes with the m...

Resolved! inconsistent designation of registers

In the CubeProg, (for instance) the RCC_D1CCIPR value names (*SRC) are different than in the RM 0433 (*SEL). Such things are a bit annoying, if one tries to find things by a keyword search, of if unsure about "is it really the same entity"? Can someo...

pkoevesdi_0-1730451210735.png pkoevesdi_1-1730451330120.png

Resolved! STM32 programmer failed PCB not working afterwards

 I'm trying to flash my custom STM32L152RET6 board using the command-line version of CubeProgrammer. Initially, everything seemed fine, but I wanted to ensure the firmware couldn't be read out. So, I set the option bytes with -ob RDP=1 to enable read...

mt1 by Associate II
  • 1478 Views
  • 5 replies
  • 1 kudos

Resolved! Blank check with STM32_Programmer_CLI.exe

I make a blankcheck of a device with this command:STM32_Programmer_CLI.exe" "-c port=swd UR -blankcheck"This command returns ERRORLEVEL == 0 if the device is blank, but also if the devices is programmed.How can I, from the command line, find out if a...

UW by Associate
  • 608 Views
  • 2 replies
  • 1 kudos

Resolved! CubeProgrammer API downlaodFile error

Hey there,I am using the CubeProgrammer API (2.17.0) to flash a STM32U545 MCU over USB DFU with a new firmware.When doing so a write error occurs (downlaodFile(...) returns CUBEPROGRAMMER_ERROR_WRITE_MEM (-10)) when flashing a new hex file (when usin...

WhoIsJohnGalt_0-1728972907764.png