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! STM32CubeProgramer not connecting to STM32G491CEU6

I'm trying to program a STM32G491CEU6 by using BOOT0 and NRST but I'm not able to connect unless I power cycle the MCU while BOOT0 is pulled HIGH. What I'm trying to achieve is:Provide PowerSet BOOT0 pin HIGHPulse the nRST pin LOWProgram MCUWhat is c...

0693W00000GXn5PQAT.png
BGheb.1 by Associate II
  • 1099 Views
  • 4 replies
  • 0 kudos

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
  • 1354 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
  • 4576 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
  • 1519 Views
  • 4 replies
  • 1 kudos