Arduino Mega 1280 bootlader reinstall with an other Arduino

alkopop79:
Read the whole post... embarrassing. But basically this is the solution:

  • wire the programmer and the Mega (or in this case the Freeduino Epic) like this:

Programmer Mega
D10 (SS) Reset
D11 (MOSI) D51
D12 (MISO) D50
D13 (SCK) D52
Gnd Gnd
+5V +5V

I don't understand the above step, I though that nicks sketch running on the programmer figures out what kind of board it's wired to via reading signature bytes from the target board? , what does the IDE have to do with the burning process at this time that would require the target board type to be selected in the IDE? Lefty

  • open the serial monitor, type 'g' and hit Enter

Taraaaaa! That's it! Special thanks to Nick Gammon for the excellent post and the sketch!