Hi, I'm using an ATmega168PA-AU on a custom board without an external oscillator. I want to burn the Arduino bootloader to the microcontroller. I'm using an Arduino Duemilanove (ATmega328p) as ISP. I connected the SPI and RESET pins, but I'm getting
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I tried to burn the bootloader to an ATmega328p on a minimal breadboard (no external oscillator) and it worked, so I think it has something to do with the ATmega168PA.