• Hi,

    The FlashEEPROM module uses a kind of journalling approach, so when you write something, if it is different (it checks if it's the same) then the change gets written onto the end of the data. Everything is only rewritten when the 4kB page of data gets full and needs to be compacted.

    So... Lets assume you write 4 bytes of data:

    • It doesn't matter which addresses you use, the wear of one write will always be the same
    • A 4kB page can hold 512 4 byte data chunks, and will only be rewritten after that time. So if there are 10000 page writes available, that means you can write the data 512*10000 = 5,120,000 times before you have problems (so once a minute for 10 years).

    Hope that helps!

About

Avatar for Gordon @Gordon started