Is there a general algorithm for microcontroller EEPROM wear leveling?
问题 I'm working on an Arduino library that will maximize the life of the AVR's EEPROM. It takes the number of variables you want to store and does the rest. This is my attempt, which does not work in all cases. Background information Atmel says each memory cell is rated for 100,000 write/erase cycles. They also provide an application note, which describes how to perform wear levelling. Here is a summary of the application note. By alternating writes across two memory addresses, we can increase