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

Resolved! STM32CubeProgrammer v2.22 released

We are pleased to announce that STM32CubeProgrammer 2.22 is available What is new in 2.22: Support for the STM32U3 microcontrollers with 2 Mbytes of flash memory: Internal memory programming through debug and bootloader interfacesOption bytes program...

Resolved! CLT Works with STLINK, Fails with USB DFU

I've been working on my own code for using USB DFU with our device and it is failing with the downloadFile call. I decided to test with the CLT (command line tools) and am seeing similar results. If I tell STM32_Programmer_CLI.exe to use the STLINK-V...

STLINKSuccess.jpg USBDFUFailure.jpg
C-Coder by Associate III
  • 2749 Views
  • 9 replies
  • 4 kudos

Resolved! Bricked STM32U5A9J-DK

When experimenting with secure boot on the STM32U5A9J-DK, I was following the SBSFU example for the B-U585I-IOT02A board available from STM32CubeU5, but somewhere along the line, I might have bricked it. I can no longer connect to STM32CubeProgrammer...

alanl by Associate II
  • 1912 Views
  • 4 replies
  • 2 kudos

Resolved! CubeProgrammer API examples not working

I've just compiled the USB_Example.cpp example and its reporting an initialization error on running (The application could not initialize correctly (0xc000007b)), I have VS 2022 fully updated, I did not migrate the project to the latest toolset to av...

Robmar by Senior III
  • 7348 Views
  • 25 replies
  • 4 kudos

CubeProgrammer - DFU Error?

I have a custom board with an STM32H747XI with BOOT0 tied to 0. I want to jump to the bootloader from my application so that I can perform a USB DFU. The USB works correctly. I have a terminal app that I use to connect to the VCP. If I send a specifi...

C-Coder by Associate III
  • 2025 Views
  • 4 replies
  • 1 kudos

Stop SWV

Hi,I am launching Serial wire viewer from external application.The below  command allows the user to access the serial wire viewer console mode,which displays the printf data sent from the target through SWO.STM32_Programmer_CLI.exe -c port=swd SN=37...

Shimjith by Associate
  • 895 Views
  • 1 replies
  • 1 kudos