I need to write an often-changing value to internal eeprom, and am going to reserve a block of eeprom for this word variable. Lets say the block is 64 bytes. It would be easy to keep a ram pointer to the latest address but I need to be able to know the last pointer address at powerup. Basically looking for ideas on how to implement this.
Regards,
Bob
eeprom wear leveling
Moderators: David Barker, Jerry Messina
I think that would work fine. I thought of the same thing about five minutes before I checked back in here.
The other dillemma I have is how to insure that a write completes properly. I think some sort of checksum would be appropriate. Or maybe writing the same value to two successive locations and comparing the two when reading.
Regards,
Bob
The other dillemma I have is how to insure that a write completes properly. I think some sort of checksum would be appropriate. Or maybe writing the same value to two successive locations and comparing the two when reading.
Regards,
Bob