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 Survey

We are pleased to introduce the STM32CubeProgrammer survey! We invite you to participate in a quick online survey to share your experience and feedback on STM32CubeProgrammer. Whether you're a hobbyist or a professional, we appreciate your valuable p...

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! How to write bytes to flash without restart?

I am trying to use the windows version of STM32_Programmer_CLI.exe (version 2.13.0) to write bytes to a flash (windows 10). The command I am using is like./STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -w8 0x08080000 0x00 0x00 0x00 0x00 0x00 0x00...

ADiet.1 by Associate III
  • 3390 Views
  • 13 replies
  • 0 kudos

UART connection mode problems (2.13)

Platform: Windows 11 22H2 (x64)CubeProgrammer version: 2.13I've got 2 devices:HW Controller which uses dual FTDI drivers (2 COM ports; 1 port connected to ST microcontroller and 1 port connected to ESP32)HW Adapter which uses software virtual COM (ST...

Aelavin by Associate II
  • 1021 Views
  • 0 replies
  • 0 kudos

Resolved! Program flashed in reverse (MSB LSB)

Hello, I am using an STM32F427ZIT6 on a custom board for my project and it was working perfectly until now. I was able to programming it with an ST-Link V2 + ST-Link Utility as expected.I was working on adding DMA to my code but one day my chip stopp...

0693W00000aJfkbQAC.png 0693W00000aJfl5QAC.png 0693W00000aJfljQAC.png
PSicl.2 by Associate II
  • 2344 Views
  • 3 replies
  • 0 kudos

Resolved! STM32_Programmer_CLI.exe write file with space in path

Hi,I'm using STM32CubeProgrammer CLI (2.13.0).I'm trying to write a file to my device using this command :"C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -C port=SWD mode=UR -vb 1 -e all -w "%fir...

CThie.1 by Associate II
  • 4970 Views
  • 10 replies
  • 0 kudos

How to update the STM32CubeProgrammer?

On windows 10 I have version 2.12.0 installed of the STM32CubeProgrammer, but on command line I have version 2.13.0. In order to update the GUI version to 2.13.0 as well I use the "Help" -> "Software update" button but I see the following: so either ...

0693W00000aJYqSQAW.png
ADiet.1 by Associate III
  • 724 Views
  • 0 replies
  • 0 kudos

Resolved! Bug in command line tool or GUI version?

I am using the GUI version and the command line tool to work with a device, but one of these tools has a bug. Checking which bank is use to boot from I get clearly contradictory results. See screenshot. Which tool tells me the bank used to boot from?...

ADiet.1 by Associate III
  • 1737 Views
  • 5 replies
  • 0 kudos

Resolved! How can I use the STM32CubeProgrammer windows executable to read a memory area without the device resetting?

I have been trying to read a memory area as follows on windows power shell:.\STM32_Programmer_CLI.exe -c port=SWD -r8 0x08080000 8 -r8 0x08080C00 8but that triggers a reset of the device. I do not want a device reset, I just want to read the memory a...

ADiet.1 by Associate III
  • 5265 Views
  • 23 replies
  • 1 kudos