Go Down

Topic: Bootloader with arduino uno Rev3 as isp? (Read 5054 times) previous topic - next topic


I have tryed following the instructions here: http://arduino.cc/en/Tutorial/ArduinoToBreadboard
And I keep getting this error right after I click "Burn bootloader":
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.
Any help would be MUCH apriceated :)

Coding Badly

Disable auto-reset after uploading the ArduinoISP sketch...


Well I tryed the first option with using a 120 ohm resistor between the 5v and the reset and no luck, still got the same error. Did you try a specific one that worked? Coding Badly?


Could you be running into this?


I know I hit that problem and had to change ArduinoISP to use 9600 baud and the
programmers.txt file to tell the IDE to use 9600 baud, and then I was able to
program one Uno R3 with another one.

P.S. I didn't need to prevent the auto reset. Supposedly since optiboot 4.4,
the reset bypass is not necessary (and I had 4.4 on my R3).

Here's the thread where that tidbit shows up:



Ok well that could be part of the problem but I also know that I dont have optiboot so that could be another part... I went to that other forum post you included a link for and found this but really have no idea how do use it...
Other than that, I will try to look at the ISP code and find the baud rate and change it for now...


Well now, that is interesting... What is the IDE? I changed the speed in the programmers.txt to 9600 and now I got a different error:
avrdude: stk500_getsync(): not in sync: resp=0xff


You can't just change programmers.txt, you have to find the Serial.begin(19200) in the ArduinoISP sketch and change it from 19200 to 9600 as well (and reload it into the arduino you are using as an ISP). They have to agree on the baud rate.

Coding Badly

Did you try a specific one that worked? Coding Badly?

>= 10uF capacitor connected from RESET to GND.  Don't forget to observe the polarity.

If you just want to install a bootloader in another processor, use OptiLoader.


I changed the baud rate in the ArduinoISP sketch to match "Programmers.txt" but I got the same error as before. I also tryed and failed with Coding Badly's idea aswell after I changed both baud rates back to 19200.

Coding Badly

I also tryed and failed with Coding Badly's idea

Which idea?  Capacitor or OptiLoader?


The capacitor... I'm not really sure what you mean with the optiloader, could you expound?

Coding Badly

Is the goal to install a bootloader on another processor?  Or, do you plan to do other work with your Arduino-as-ISP?


Well I got an Arduino for Christmas (hence why I am a newbie) and after learning how much power it had I began researching how to embed the atmega chip. So I ordered one and am now trying to make it so I can pop out the chip in my Arduino after loading a sketch on it and then just pop the next atmega in and have it work!

Coding Badly

• Download OptiLoader to your sketch directory...

• Connect your Arduino to the target processor the same way you have it connected for ISP programming...

• Upload OptiLoader to your Arduino

• Open Serial Monitor so you can tell if there is a problem

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131