Arduino uno (generic) as isp programmer for duemilanove

Hi, I want to burn bootloader for a duemilanove (atmega168) using arduino uno as isp.

Made connections like in the following:

But I get:

Error quemando bootloader
Reading | ################################################## | 100% 0.00s

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


avrdude done.  Thank you.
  1. Before any connections Arduino as isp sketch was uploaded to arduino uno, no problem there.
  2. Made connections
  3. in arduino Ide, selected arduino duemilanove
  4. in Ide selected At mega 168
  5. in Ide burn bootloader

Chip in duemilanove reads: "atmega 168 - 20 pu"

Tripled check connections now but get same error.

Should I make different wiring? maybe chip is dead?

Try using external power supply and make sure all grounds are common.

@HamzaY External power supply for the "programmer" or for the "target"?

franmx:
@HamzaY External power supply for the "programmer" or for the "target"?

For the target because in some cases programmer cannot provide enough current.

Try connecting a 10 uF capacitor between the reset and ground pins on the programmer board (Uno).

franmx:
maybe chip is dead?

Good chance. Often people are attempting to burn bootloader to resurrect a board that mysteriously started failing uploads. I suspect that usually the upload is failing because they fried the board, which could never be fixed by burning a bootloader.

Thanks for your help, unfortunately nor capacitor or connection worked so I guess I have a dead chip.

It is possible. You can remove the chip from the Duemilanove and put a known good chip in, and repeat trying to bootload it. That would confirm the chip is bad. You can upgrade to ATmega328P for the Duemilanove. When you order the replacement IC, I recommend be sure to order ATmega328P specifically, and not ATmega328 or ATmega328PB or some other very similar looking part number.