Some errors in burning bootloader

I have some error when burning bootloader. I build a board using http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard. I replace ATmega8 with ATmega8a. Next I must burn bootloader so I turny my first arduino into AVRISP using ready-made program, connect all 4 wires and power to second board. I don't forget to change type of board. So I start and fail :P avrdude told me :

Reading | avrdude: Send: u [75] [20] avrdude: Recv:

############################################ | 100% 0.00s

avrdude: Device signature = 0x1e950f avrdude: Expected signature for ATMEGA8 is 1E 93 07 Double check chip, or use -F to override this check. avrdude: Send: Q [51] [20] avrdude: Recv: avrdude: Recv:

avrdude done. Thank you.

What I might do to fix this ?

Did you disable auto-reset on the Arduino?

Hmm nope. How to do this ? I read than I can put 10?F cap between RESET and GND ( I use arduino UNO)

Put a 110Ohm to 124ohm resistance in Between the +5v and reset Pin's on Arduino Board and you have Disables the Auto resetting.

To this...

http://arduino.cc/en/Tutorial/ArduinoISP

...add step 1.5...

1.5 Disable auto-reset. Instructions are available here... http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

I was doing this the other day, and began hunting around for the right resistor, or was thinking about doing something with the software - putting a delay in somewhere as I read. Then it hit me. Take out the chip and put it into a spare DIL socket, and snip the reset pin on the socket. It's now my 'bootloading' setup. Worked like a charm.

Ok, I try to use 120 ohm resistor. I post results later.

Any capacitor between 1uF & 47uF (or even bigger) between Gnd and Reset works fine. It has the effect of 'swallowing' the Gnd pulse coming from the auto-reset capacitor. The resistor solution holds it high by brute force.

Although I've never bothered disabling the autoreset when using the arduino as an ISP sketch, it just works in my experience. Might be a different story if your target 328 isn't running at 16 Mhz with an external oscillator / crystal. I think if it were imperative the author would have mentioned it in the well documented sketch in examples. (never bothered with the extra LEDS either and just worked blind).

I put those resistor and receive another error :D When I triet 100nF cap same thing.... @pluggy - Target is ATmega8A base is arduino UNO

           Using Port            : \\.\COM12
         Using Programmer      : stk500v1
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51]   [20] 
avrdude: Recv: 
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Are you trying to burn the bootloader from the command-line or the IDE?

If you are trying to burn the bootloader from the IDE, did you select an ATmega8 based board?

Using IDE, I don't forget to select board.

Problem solved :D

I used arduino as ISP

################################################## | 100% 0.04s

avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: Send: Q [51]   [20] 
avrdude: Recv: 
avrdude: Recv: 

avrdude done.  Thank you.

This is done ?

This is done ?

If that's the entire output from AVRDUDE then, no, burning the bootloader was not successful. Is that the entire output?

Hi while trying to burn bootloader using parallel port in windows I am getting the following error

avrdude: AVR device not responding avrdude: initialization failed, rc=-1 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA8 is 1E 93 07 avrdude: AVR device not responding ***failed; avrdude: verification error, first mismatch at byte 0x0000 0xca != 0xff avrdude: verification error; content mismatch

What may be the error?

No this is a part. I run blink sketch... and LED blinked ;)

Excellent. Glad to know you have it working.