[SOLVED] Problems using ArduinoISP

I'm trying to burn the bootloader on an ATmega8 using an Arduino Duemilanove with ATmega328, no success so far. I using Arduino software 1.0.1 on Windows 7 64-bits.

What I have done so far:

  • uploaded ArduinoISP sketch to the Arduino using COM3 (tested Arduino before with Blink sketch, everything is fine);

  • after error code "avrdude: stk500_getsync(): not in sync: resp=0x15" and googled it, discovered that I need to disable auto-reset, done that with a 115 ohms resistor connecting Reset pin to 5V pin (a bunch of resistors in parallel as a matter of fact). Source: EngineeringException: A note of caution for Arduino ISP

  • In Tools ? Board, chose "Arduino NG or older w/ ATmega8"; in Programmer, chose "Arduino as ISP";

  • Tried to burn bootloader, got this error message:

avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Someone has any idea? I've checked every connection many times, as appears in http://www.arduino.cc/en/Tutorial/ArduinoToBreadboard, everything is connected as it should be.

I'm trying to burn the bootloader on this ATmega8 just because it's not being used anywhere and I had an idea that would be just fine using it. My hope is that the ATmega8 isn't fried as it was on my shelf for a long time, it's complicated to get another one here in Brazil. :-/

Try this version of the ArduinoISP sketch...

protocol error, expect=0x14, resp=0x50 - this part of the error message says that the configuration is expecting a different chip, or version of the chip. The chips have a couple "signature bytes" that AVRDudue checks to see if the correct chip is connected and the signature isn't correct. May not be a problem - ATMega328 and ATMEGA328P do this.

What system are you using this on, and how comfortable are you playing around with a DOS prompt?

kf2qd:
protocol error, expect=0x14, resp=0x50 - this part of the error message says that the configuration is expecting a different chip, or version of the chip. The chips have a couple "signature bytes" that AVRDudue checks to see if the correct chip is connected and the signature isn't correct. May not be a problem - ATMega328 and ATMEGA328P do this.

What system are you using this on, and how comfortable are you playing around with a DOS prompt?

As I said previously, I'm trying to burn the bootloader on an ATmega8 using an Arduino Duemilanove w/ ATmega328 as ISP, using Arduino 1.0.1 in a Windows 7 64-bit system. And I am pretty confortable with the command line, that's not a problem. :slight_smile:

Uploaded new version of ArduinoISP, rebuilt the circuit, tried to burn bootloader. This time I got a different error code:

avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

Maybe it is the time of command line-fu, so I ask for the help of the masters.

Did you enable auto-reset before uploading the ArduinoISP sketch?

Did you disable auto-reset after uploading the ArduinoISP sketch?

Have you rechecked the wiring?

Trying adding verbose output (-v -v -v -v).

[quote author=Coding Badly link=topic=121698.msg916562#msg916562 date=1346968040]

Did you enable auto-reset before uploading the ArduinoISP sketch?

Did you disable auto-reset after uploading the ArduinoISP sketch?[/quote]

How I do all that? That's the first time I try to burn a bootloader, I'm kinda lost here.

Have you rechecked the wiring?

Countless times.

Trying adding verbose output (-v -v -v -v).

I'm using Arduino software to burn the bootloader, where do I add verbose output?

I've tried to use command line, but no help.

Btw: borrowed an USBtiny today from a friend, but also no luck. :frowning:

I discovered the problem: my bread board is just some piece of s*** that doesn't connect all the outer pins in the correct manner. Discovered that by accident, but now everything is working just fine, thank you everyone who answered me. :slight_smile:

Try this link: http://www.geocities.jp/arduino_diecimila/bootloader/index_old_en.html

WL Chung