EEPROM and mass erase when moving from LEVEL1 to LEVEL0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 12:40 AM - last edited on ‎2025-04-02 3:11 AM by mƎALLEm
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.
Solved! Go to Solution.
- Labels:
-
RDP
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 1:03 AM
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:
Hope that answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 1:03 AM
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:
Hope that answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 4:14 AM
Understood.
Thanks. Thanks for your quick answer.
