0
\$\begingroup\$

I am updating the firmware on my 3D printer from Sailfish to Marlin and my chip is not responding to the erase command on my ATmega2560; but I am able to flash it:

> avrdude -p m2560 -c stk500v2 -P COM9 -e

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: erasing chip
avrdude: stk500v2_command(): command failed

avrdude done.  Thank you.

The fuses are set to: E:FD, H:D8, L:FF, LOCK:CF which, according to this calculator I used, does not have the bit set for either EESAVE and no memory lock features are enabled. I don't know why it won't erase.

Is it safe to take this EEPROM dump I read from the chip:

:20000000080717FF00FF76760000941B0000000000005149444920500000FFFFFFFFFFFF90
:20002000FFFF02FFC12314D3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0E
:20004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
:20006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
:20008000FFFFFFFFFFFFFFFF070000532400FFFFFFFFFFFFFFFF07002400FFFFFFFF013298
:2000A00008FF01FFFFFFFFFFFFFFFFFFFFFFFFFF01FF1E0C00000000FFFFE803E8039600B1
:2000C0000A0014001400FFFF94000000960000008D0025FF38759C05010BBD05010BBD052B
:2000E000C1CBE000000000002816A800000000001000100001FFFFFFFFFFFFFF50460000FE
:200100004006000040060000E300000094000000A0860100FFFFFFFFFFFFFFFFFFFFFFFFC1
:20012000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDF
:20014000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBF
:20016000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9F
:20018000FFFFFF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FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1A
:20070000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
:20072000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD9
:20074000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB9
:20076000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF99
:20078000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF79
:2007A000FFFFFFFFFFFFFFFF0000000000000000FFFFFF6403FFC800FFFFFFFFFFFFFFFF1E
:2007C000FFFFFFFFFFFFFFFF0000010141425300941B000000000000410050726F66E537A6
:2007E0000000E600E6002D00E5370000941B0000640050726F66696C000000000000E6007F
:20080000080717FF00FF76760000941B0000000000005149444920500000FFFFFFFFFFFF88
:20082000FFFF02FFC12314D3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF06
:20084000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB8
:20086000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF98
:20088000FFFFFFFFFFFFFFFF070000532400FFFFFFFFFFFFFFFF07002400FFFFFFFF013290
:2008A00008FF01FFFFFFFFFFFFFFFFFFFFFFFFFF01FF1E0C00000000FFFFE803E8039600A9
:2008C0000A0014001400FFFF94000000960000008D0025FF38759C05010BBD05010BBD0523
:2008E000C1CBE000000000002816A800000000001000100001FFFFFFFFFFFFFF50460000F6
:200900004006000040060000E300000094000000A0860100FFFFFFFFF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FFFFFFFFFF92
:200E8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF72
:200EA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF52
:200EC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF32
:200EE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF12
:200F0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1
:200F2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD1
:200F4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB1
:200F6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF91
:200F8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF71
:200FA000FFFFFFFFFFFFFFFF0000000000000000FFFFFF6403FFC800FFFFFFFFFFFFFFFF16
:200FC000FFFFFFFFFFFFFFFF0000010141425300941B000000000000410050726F66E5379E
:200FE0000000E600E6002D00E5370000941B0000640050726F66696C000000000000E60077
:00000001FF

And flash it with all 0xFF to "erase" it?

:20000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:20002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:20004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF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FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200EC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200EE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200F0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200F2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200F4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200F6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200F8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200FA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200FC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:200FE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
:00000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

I'm not familiar with EEPROM programming and I don't know if an erasure state is actually all 0xFF or some other state.

\$\endgroup\$
6
  • \$\begingroup\$ See here - the bootloader can't perform a chip erase, because that would erase the bootloader too. Instead it does page erase. \$\endgroup\$ – Tom Carpenter Nov 7 '20 at 21:06
  • 1
    \$\begingroup\$ Are you trying to erase the EEPROM, or the Flash memory? The two are different things. The bootloader can't program the EEPROM at all, it has no code to interface with it. \$\endgroup\$ – Tom Carpenter Nov 7 '20 at 21:07
  • \$\begingroup\$ Uploading a HEX file of all 0xFF will indeed erase the flash at all locations that you program 0xFF to, because the bootloader will do a page erase of each of the memory pages before it programs the new value (erase goes to 0xFF, writing 0xFF leave it unchanged) \$\endgroup\$ – Tom Carpenter Nov 7 '20 at 21:11
  • 1
    \$\begingroup\$ No, the 8u2 is a USB UART bridge, it is not the "bootloader". That, if present, is in the target 2560 itself. \$\endgroup\$ – Chris Stratton Nov 7 '20 at 21:44
  • 1
    \$\begingroup\$ The only way to clear the EEPROM is to upload a program which erases each byte of it. You can't use the bootloader to do that. \$\endgroup\$ – Tom Carpenter Nov 7 '20 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.