Skip to main content
luacer
Visitor II
Aug 15, 2019 9:45 AM UTC
Question

Hi,how to erase eeprom with STM32CubeProgrammer before I program code to flash memory

..

This topic has been closed for replies.

1 reply

Nesrine.JLASSI
Visitor II
Aug 15, 2019 1:19 PM UTC

Hello @luacer​ 

Until now, you can't erase EEPROM with CubeProgrammer :

In EEPROM technology, you can write at any time without erasing the memory, which is not the same case for flash memory; where you can write only after you have deleted before.

So the solution is as follows:

Either you leave EEPROM as it is and write when you need it or you write the reset value: 0x00000000.

Best regards,

Nesrine