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.19 released

We are pleased to announce that STM32CubeProgrammer 2.19 is available What is new in 2.19: Support for the STM32WBA6xxx microcontrollers: Internal memory programmingOption byte/OTP programmingRDP regression with passwordSFI support Support for MCE N...

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
  • 1165 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
  • 506 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