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

STM32N6 flash failed to erase memory

I have a STM32N6570-DK and i can't seem to program it any more.  I tried it in both the STM32 programmer gui and terminal application.  So i can connect to the device read and read the flash but i can't seem to write to it any more.  I can't even era...

Screenshot from 2026-02-05 13-50-01.png Screenshot from 2026-02-05 13-50-37.png Screenshot from 2026-02-05 13-46-31.png

Unable to flash with STM32CubeProgrammer

Hi,I just installed STM32CubeProgrammer v2.17.0 on Linux.When I connect to the board (tried with several different ones), I get the following error;flash loader cannot be loaded. FlashLoaderPath = /home/[yadayada]/bin/FlashLoader/0xI can read the fla...

STM32U575/STM32U585 Programming time different

Hi Everybody,     Now i met an issue for STM32U575/STM32U585 Programming time different, below is my test log, i don't why get the different time, since i do the erase in any time. The blank chip programming time is 34s, and NOT BLANK chip programmin...

Bug in CLI v2.21.0 using -w commands

Hi all,I've searched for similar post but solutions provided did not work for my case.For compatibility reasons I needed to upgrade from ST-Link to Cube programmer CLI but I've encountered roadblocks while using the -w commands with the Cube CLI.If I...

blast3r by Associate
  • 72 Views
  • 2 replies
  • 1 kudos

STM32CubeProgrammer crash on files selection

Hi everyone,I’m experiencing a new issue with STM32CubeProgrammer and I’m wondering if anyone else has run into the same problem.Starting today, every time I try to select a file (for example, when choosing a .bin or .hex to flash), the program freez...

LMenc.1 by Associate II
  • 225 Views
  • 7 replies
  • 0 kudos

stlink-gdb-server connection mode

When we want to debug only the M7 core, we use the following line and connect from VsCode:/c/ST/STM32CubeIDE_1.14.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.2.200.202505060755/tools/bin/ST-LINK_gdbserver.e...

CNien by Associate II
  • 371 Views
  • 2 replies
  • 1 kudos

NUCLEO-N657X0-Q unable to upload code

I have been trying for hours to upload code to the STM32-N6 and I am simply out of ideas. I only managed to upload debug code to RAM once, then I tried erasing the flash on the PCB using STM32CubeProgrammer (which worked, the standard code is not on ...

Installation Issues - Infinite Loop

I've got a brand new VM running Windows 11 pretty much off the shelf. I can install and run Cube IDE but when I try to install the STM32CubeProgrammer (64 bit version) I get into an infinite loop where the following happens:- It opens the Install Wiz...

thayden by Associate II
  • 4373 Views
  • 13 replies
  • 5 kudos