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

We are pleased to announce that STM32CubeProgrammer 2.21 is available What is new in 2.21: • Support for the STM32WL3Rxx microcontrollers:         – Internal memory programming        – Option byte and OTP programming         – PKCS#11        – Firmw...

Resolved! STM32_Programmer_CLI.exe question

I have a custom board with STM32G070RB micro. I programmed the board several times for debugging in the development phase using theST-LINK//V2 in CubeIDE.Now I would like to generate a .bat file to program the boards, but I am facing some problems.My...

tabekb by Associate III
  • 13465 Views
  • 14 replies
  • 4 kudos

CubeProgrammer Static library files

Hi, I'm trying to use the cubeprogrammer api in my win32 application for firmware update. I'm able to do this, but there's a lot of .dll files that are required and it clutters the entire project. Is there any way you can provide a static .lib (code ...

Snapark by Associate
  • 781 Views
  • 0 replies
  • 0 kudos

Stm32 programmer external loader delay

I have been using custom external loader for a long time without any problems. I noticed a problem when I tried to upload to a board without an external flash ic. I am using CLI 2.14.0. While mass erase completes in a few seconds under normal conditi...

Okeskin by Associate III
  • 922 Views
  • 1 replies
  • 0 kudos

Resolved! CubeProgrammer reports RDP over native USB

When plugging in a device in DFU mode to a native USB port of the notebook cubeprogrammer reports:When using it over USB HUB or other port the Cubeprogrammer works fine (we never activated RDP).USBDeview shows no difference in the installed drivers. ...

0693W00000aISk7QAG.png
tguly.1 by Associate III
  • 3495 Views
  • 7 replies
  • 0 kudos

Resolved! hex (or bin) file to elf using Cube Programmer

Hi all.With build project I can obtain .bin, .hex and .elf file.I need to manipulate the file to add a CRC in determinate position. SO I use .bin (easiest), then convert in .hex and .elf file using:arm-none-eabi-objcopy -I binary -O ihex --change-sec...

TheRaprus by Associate III
  • 4510 Views
  • 3 replies
  • 0 kudos

No ST-LINK detected

I have got an Nucleo L073RZ   ( and also a discovery 407,F410RB and 4 more nucleo boards) .   It is a new board just unboxed .  I can see it as a drive  in my computer beside disks  so I know it is working.   But st link cannot detect it.   All my  b...

Resolved! Please hint me on how to program with ST-Link

Dear ST I tried to connect with MCU "stm32l07x using STM32CubeProgrammer as below image 1, image 2. Board power is 3.09V to be measured by ST-Link.However, I can't program it.  carefully check the st-link pin maps as VCC(#1), SWDIO (#7), SWCLK(#9), R...

kevin1971_1-1700453285443.png kevin1971_0-1700453258263.png
kevin1971 by Associate II
  • 1639 Views
  • 5 replies
  • 1 kudos