try to add the 168P signature to avrdude.txt, or modify the actual Atmega168 data
#------------------------------------------------------------
# ATmega168
#------------------------------------------------------------
part
id = "m168";
desc = "ATMEGA168";
has_debugwire = yes;
flash_instr = 0xB6, 0x01, 0x11;
eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00,
0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF,
0x99, 0xF9, 0xBB, 0xAF;
stk500_devcode = 0x86;
# avr910_devcode = 0x;
signature = 0x1e 0x94 0x06;...
to
signature = 0x1e 0x94 0x0b;i did not get the heartbeat pattern.. i got this error
"avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check."