Saving EEPROM during upload

After some testing i came to the conclusion that the current upload procedure does NOT overwrite EEPROM.
Is this correct. ?

(For me, this the correct choice. Complicated settings entered by the user are kept by default. With a double upload procedure it is easy to
reprogram settings to EEPROM if needed with the first upload and switching the device on, and restore settings from EEPROM with second upload.)

Yes, EEPROM is part of the non volatile memory, so it persists between reflashings.

It’s probably possible to use avrdude directly to write to the eeprom directly from your computer, but you may implement a settings screen in your sketch.

1 Like