Skip to main content
MImda.1
Associate II
February 11, 2021
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?

  • February 11, 2021
  • 3 replies
  • 1116 views

..

This topic has been closed for replies.
Best answer by Uwe Bonnes

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
February 11, 2021

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

Peter BENSCH
ST Technical Moderator
February 11, 2021

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
February 11, 2021

thank you so much. It cleared my knowledge