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! 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
  • 11580 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
  • 706 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
  • 793 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
  • 3193 Views
  • 7 replies
  • 0 kudos

Resolved! FDCAN Bootloader in STM32G474RCT6

I am using STM32G474RCT6 microcontroller, I want perform firmware upgrade through CAN communication. But my controller doesn't provide the feature of Firmware upgrade through CAN communication.is there any possibility to use CAN communication for fir...

Sri_Nishanth_0-1701082492037.png

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
  • 3981 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...