Skip to main content
MImda.1
Associate II
Feb 11, 2021 9:36 AM UTC
Solved

After I erased the flash in STM32L073RZ when I looked at the flash using the cube program, the memory values are 00000000. I checked the same thing with STM32WB55 and its values are FFFFFFFF. why it is different?

..

This topic has been closed for replies.
Uwe Bonnes
Uwe BonnesBest answer
Chief
Feb 11, 2021 10:00 AM UTC

Erased state of L0 and L1 is 0, all other STM32 I know have erased state 0xff

3 replies

Uwe Bonnes
Uwe BonnesBest answer
Chief
Feb 11, 2021 10:00 AM UTC

Erased state of L0 and L1 is 0, all other STM32 I know have erased state 0xff

Peter BENSCH
ST Technical Moderator
Feb 11, 2021 10:09 AM UTC

The reason for what @Uwe Bonnes​ said is the technology of the Non Volatile Memory (NVM):

  • STM32L0/L1 uses EEPROM (erased = 0) with organization in bytes
  • other STM32 use Flash (erased = 1) with organization in sectors

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MImda.1
MImda.1Author
Associate II
Feb 11, 2021 4:10 PM UTC

thank you so much. It cleared my knowledge