EEPROM emulation erases page1 on startup
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-09-23 4:11 AM
Posted on September 23, 2013 at 13:11
Is this actually supposed to happen? Stepping through the code, this does actually happen also. However, if this operation is intentional, is this done because actually erasing this page when already blank (I.E all 1's) has no impact on the flash's life? Cheers, Martin.
Hi All,
It seems that with the ST EEPROM (V1.0.0) emulation routines, page 1 is erased every time at power up. On page 7 of AN4061, it shows that if page 0 is valid, page 1 is erased anyway. If you follow the chart through below to the right hand side, through VALID_PAGE -> Page1 Status ->Erased. Seems like this will have significant impact on the flash's life time, especially if you have a product that gets power cycled on a regular basis.
0 REPLIES 0
