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

Resolved! STM32CubeProgrammer v2.22 released

We are pleased to announce that STM32CubeProgrammer 2.22 is available What is new in 2.22: Support for the STM32U3 microcontrollers with 2 Mbytes of flash memory: Internal memory programming through debug and bootloader interfacesOption bytes program...

ST-Link Cannot connect to access port 0

am trying to connect stlink v2 debugger with stm32f413 mcu hardware in Cube programming sotwaream getting Error: Cannot connect to access port 0 If you are trying to connet to a device with TrustZone enabled please try to connect with HotPlug mode

saraiahd by Associate II
  • 3589 Views
  • 3 replies
  • 0 kudos

Resolved! STM32 Programmer CLI - Read Without Reconnecting

Hello thereAs per document UM2237, I am using command:STM32_Programmer_CLI.exe -c port=SWD index=1 mode=HOTPLUGto connect to the device. Successfully, device is connected.In case of reading a specified memory, one uses e.g. command:STM32_Programmer_C...

AJelen by Associate II
  • 3860 Views
  • 3 replies
  • 0 kudos

Resolved! STM32L412: Preserving certain sections of flash so that they are not erased when the MCU is reprogrammed?

Hi Everybody,Firstly, I would like to note that I am pretty new to embedded systems, so I am sorry if my terminology is off or if I am not communicating clearly, please forgive the (probably) gaping holes in my knowledge. I will do my best to communi...

MCocke.1 by Associate
  • 2836 Views
  • 2 replies
  • 0 kudos

Version 2.13.0 on macOS memory leak?

when running STM32CubeProgrammer 2.13.0 under macOS 13.2.1 Ventura on Apple M1 the application allocates excessive amounts of Memory. This was observed when running the programmer in automatic mode for several days. The allocation was about 69 GB. M...

0693W00000aJdH8QAK.png
KaiS1 by Associate
  • 1457 Views
  • 1 replies
  • 1 kudos

Resolved! How to write bytes to flash without restart?

I am trying to use the windows version of STM32_Programmer_CLI.exe (version 2.13.0) to write bytes to a flash (windows 10). The command I am using is like./STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -w8 0x08080000 0x00 0x00 0x00 0x00 0x00 0x00...

ADiet.1 by Associate III
  • 6926 Views
  • 13 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.