I think you may be asking how you write to a different address - even across power cycles.
If that is the case, write to the EEPROM, and then write the last-used address + 1 to the two highest EEPROM addresses (1022 and 1023 on many devices)
Before you write to EEPROM, read those two addresses to get the next address to write to, and when you are done, write the last address + 1 to 1022 and 1023 again.
Bookmarks