Skip to main content
SOfne.1
Associate II
March 25, 2021
Question

Counts the erasure of an already erased flash page as a new erase cycle?

  • March 25, 2021
  • 0 replies
  • 533 views

I'm developing a very small STM32L5 based USB-dongle and do not have enough space on the PCB to add an external EEPROM. So I came to the EEPROM emulation implementation provided by ST called X-CUBE-EEPROM.

The example project for the STM32L5 seems to work fine, but I found that the EEPROM emulation implementation erases all empty EEPROM flash pages each time the microcontroller is power cycled. If erasing an already erased page counts as a new erase cycle, this behavior will wear out the internal flash without needs.

This topic has been closed for replies.