Skip to main content
Associate II
April 2, 2025
Solved

EEPROM and mass erase when moving from LEVEL1 to LEVEL0

  • April 2, 2025
  • 2 replies
  • 570 views

Hi there,

I'm under mass production with yours STM32L051x8 device.

I use the internal EEPROM to keep some data. Note that is not en emulation eeprom on flash, is just 512bytes on internal EEPROM.

In addition, I protect my code with ReadOutProtection Level =1.

Seems that when I update the version of customer firmware, the EEPROM data is erased. Seems that jumping from Level1 to Level0 produce a mass erase, and in consequence, the EEPROM is erased as well.

I would like to know if I'm right.

Jumping from Level1 to Level0 produce a mass erase, that produce erase the internal EEPROM as well?

 

Thanks a lot.

Best answer by mƎALLEm

Hello @albertLDS and welcome to the ST community,

 


@albertLDS wrote:

Hi there,

Jumping from Level1 to Level0 produce a mass erase, that produce erase the internal EEPROM as well?

 

According to the errata sheet page 5:

mALLEm_0-1743580905766.png

Hope that answers your question.

2 replies

mƎALLEm
mƎALLEmBest answer
Technical Moderator
April 2, 2025

Hello @albertLDS and welcome to the ST community,

 


@albertLDS wrote:

Hi there,

Jumping from Level1 to Level0 produce a mass erase, that produce erase the internal EEPROM as well?

 

According to the errata sheet page 5:

mALLEm_0-1743580905766.png

Hope that answers your question.

"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."
albertLDSAuthor
Associate II
April 2, 2025

Understood.

Thanks. Thanks for your quick answer.