avrdudes / avrdude

AVRDUDE is a utility to program AVR microcontrollers
GNU General Public License v2.0
744 stars 137 forks source link

[bug #10752] EEPROM is erased when a FLASH write only requested #22

Closed avrs-admin closed 2 years ago

avrs-admin commented 2 years ago

Wed 20 Oct 2004 05:10:33 PM UTC

Not sure if this is a bug or a feature - seems like a bug.

Using avrdude 4.4.0 to program AtMega8515 via stk500.

Option -U flash:w: used with NO eeprom write request, erases the eeprom forcing an unneccessary reprogram of the eeprom after programming the flash.

This issue was migrated from https://savannah.nongnu.org/bugs/?10752

avrs-admin commented 2 years ago

Eric Weddington Thu 04 Nov 2004 11:44:40 PM UTC

This could be because you don't have the "Preserve EEPROM Memory during Erase" fuse set. Please check if this is the case.

avrs-admin commented 2 years ago

Eric Weddington Mon 03 Jan 2005 11:54:17 PM UTC

Closed as unreproducible, as the OP did not provide information whether the Preserve EEPROM fuse was set or not.