Using Arduino Duemilanove as ISP

Hi. I'm trying to use an Arduino Duemilanove as ISP to program a ATmega168p-based custom board. After flashing the Arduino as ISP sketch into Arduino, I connected a 10uF capacitor between GND and RESET and proceeded to burn the bootloader into my custom board, but I get the following error:

avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

When I remove the capacitor, I get

avrdude: stk500_getsync(): not in sync: resp=0x15

I measured the voltage across the capacitor with an oscilloscope to see if there's still some auto-reset pulse but there's none.

Any tips?


Does your Duemilanove have an ATmega328p processor? An ATmega168 might not have enough SRAM to run the ArduinoISP sketch.

Use Nick Gammon's bootload installer sketch instead.

Hi. Did some further testing and figured out that the USB ports on my laptop apparently were not providing enough current. Tested with another machine and it worked.