STM32CubeProgrammer (MCUs)

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeProgrammer page erase error

When using STM32CubeProgrammer to program STM32F103VET6, it is found that using the "page erase" function will erase the first page error by mistake (erase pages 1, 3, 5). Upon inspection, it is found that the page erase data sent by STM32CubeProgram...

_legacyfs_online_stmicro_images_0693W00000bjSPlQAM.png _legacyfs_online_stmicro_images_0693W00000bjSPWQA2.png
kaili.wu by Associate
  • 3 replies
  • 2 kudos

I wish to store data in the flash memory of my STM32G030C8T6 microcontroller. The issue I am facing is that my data is not being stored in contiguous memory banks, but rather the banks are being skipped, as seen from the image.

I have written a small driver code for the same to store different types of data types to a memory location.The link to my code is: Yadnik1/Eeprom-Emulation-driver-STM32 ( and I have taken reference from here: STM32/FLASH_PROGRAM/F1 SERIES...

YBend.1 by Associate III
  • 12 replies
  • 1 kudos

Resolved! STM32CubeProgrammer (cli) chunk size setable?

Heyin a project of us we are using the legacy STMFlashLoader to flash firmware on a STM32F103 via the system bootloader on UART1, but wanted to migrate to STM32CubeProgrammer now. In this application the PC (Win10) which runs STMFlashLoader/STM32Cube...

Error: failed to erase memory

Good afternoon, I was trying to debug a program on my new stm32f103C8T6 chip using the st-link v2 programmer, but i always get the same error : Error: failed to erase memoryI have tried the procedure with multiple boards so i guess that the problem i...

ABouk by Associate II
  • 20 replies
  • 0 kudos

Resolved! Extraction of bin file from microcontroller

Hey, sorry, I am pretty new to this. I have a rather basic question. I took apart a module that I have, within which there is STM32 microcontroller (part marking: STM32F103T8U77BA7E93PHL739). I want to know if it's possible to use the IDE to extract ...

BTay.1 by Associate II
  • 30 replies
  • 1 kudos