I am trying to burn a new bootloader into my UNO SMD R2 through my MEGA 2560 R3.
I followed this procedure
Powered on the MEGA
Successfully Uploaded ArduinoISP to the MEGA
Powered off the MEGA
Wired the UNO to the MEGA following this schema
MEGA - 50 -> UNO - 12
MEGA - 51 -> UNO - 11
MEGA - 52 -> UNO - 13
MEGA - 10 -> UNO - RESET (capacitor 10 uF between reset and ground)
MEGA 5V -> UNO 5V
MEGA GND -> UNO GND
Powered on the MEGA
Tools Board -> Arduino Uno
Tools -> Programmer -> Arduino as ISP
Tools -> Burn Bootloader
Few seconds later I get the error:
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x10
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
"Note for Arduino 1.0: you need to make one small change to the ArduinoISP code. Find the line in the heartbeat() function that says "delay(40);" and change it to "delay(20);"."
Check that that has been done. I use 1.0.1 and that change in line 112 had been done.
MEGA - 50 -> UNO - 12
MEGA - 51 -> UNO - 11
MEGA - 52 -> UNO - 13
MEGA - 53 -> UNO - RESET
MEGA - capacitor 10 uF between reset and ground
MEGA 5V -> UNO 5V
MEGA GND -> UNO GND
Anyway, after issuing Tools -> Burn Bootloader I get:
avrdude: Expected signature for ATMEGA2560 is 1E 98 01
Double check chip, or use -F to override this check.