Arduino Mega put bootloader on different Arduino Mega

At one time I was attempting to upload TFTP bootloader to my Arduino Mega.  Something happened during that upload (partially b/c the bootloader can’t be uploaded via my pocket programmer) and the power went out on the programmer and I bricked my Mega.

On your Master Mega –

  1. load the ArduinoISP sketch from the Examples
  2. change the Programmer to Arduino as ISP

Then connect the pins below to connect the Master Mega to the Slave Mega.

I’ve included the pins to connect the master to the slave.

Master Slave
50 50
51 51
52 52
53 Reset
5v 5v
gnd gnd

one final note: you MUST put the 100nF capacitor between the Reset and the 5v on the Master Mega or you’ll get a failure each time.

Then plug in the Master Mega and then Tools -> Burn Bootloader.

I received an error at the end – I’m not sure why, exactly this happened, but I ignored it.
avrdude: verification error, first mismatch at byte ….

I unplugged both Megas from each other and put the blink sketch on the Slave Mega and it worked.

Here’s another version of the tutorial that I found while working on fixing my Mega http://www.instructables.com/id/How-to-use-Arduino-Mega-2560-as-Arduino-isp/?ALLSTEPS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.