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! After Completion of build with STM32CubeIDE in headless build mode, Is there an automated scrit that we can use STM32CubeProgrammer to program the binary to the STM32 board ?.

After Completion of build with STM32CubeIDE in headless build mode,Is there an automated scrit that we can use STM32CubeProgrammer to program the binary to the STM32 board ?.

Resolved! CubeProgrammer Verification failed

Hi,I'm trying to upload my code to a STM32L496G-DISCO board using the stm32CubeProgrammer command line interfac, using the following python script: os.chdir(CUBE_PROGRAMMER_CLI_PATH) os.system(f"STM32_Programmer_CLI.exe -c port=swd -w {PATH_TO...

BBlad.1 by Associate II
  • 1305 Views
  • 3 replies
  • 0 kudos

Resolved! I can't write to my STM32G03 when connect in Hot plug mode, and I get DEV_TARGET_CMD_ERR whenever I try to connect in Normal mode.

I am trying to directly write to some STM32G03 chips.I have an "STM32G030J6M6" and a "STM32G031F6P6" but I am unable to write to them.I can connect to them, using the CubeProgrammer, but only in "Hot plug" mode, and when I try to write anything, like...

LMeye.1 by Associate III
  • 4479 Views
  • 11 replies
  • 1 kudos

STM32CubeProgrammer is not able to successfully connect to or flash an STM32L471. This is a long-standing problem. I have no problem flashing other STM32L parts such as L051 and I have no problem flashing the L471 using an STLinkv2.

When you place the STM32L471 in DFU mode and attempt to connect via UART, the following is displayed in STM32CubeProgrammer:14:39:27 : STM32CubeProgrammer API v2.5.014:39:28 : Serial Port COM9 is successfully opened.14:39:28 : Port configuration: par...

_dalbert by Associate III
  • 1491 Views
  • 4 replies
  • 1 kudos

Program crash if MCU not powered

I wanted to connect to my STM32 MCU with STM32CubeProgrammer but forgot to power on the board. The programmers (I had 2 boards with 2 STLINK-v3MINIs connected) were detected but when I connected to one, STM32CubeProgrammer crashed. When powered every...

Arno1 by Senior
  • 512 Views
  • 0 replies
  • 1 kudos