I'm trying to get an atmega328p to works as a upgrade to the atmega168 unable to use IDE 0018 to flash bootloader getting
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
so i used serial dasa programmer worked, used
avrdude -p m328p -P COM1 -c dasa -V -e -U lock:w:0x3F:m -U hfuse:w:0xDA:m -U lfuse:w:0xFF:m -U efuse:w:0x05:m
avrdude -p m328p -P COM1 -c dasa -V -U flash:w:"C:\ATmegaBOOT_168_atmega328.hex":i
avrdude -p m328p -P COM1 -c dasa -V -U lock:w:0x0F:m
put chip in diecimila and tried to upload blink and get
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
thinking bad bootloader issue i re-flashed with parallel programmer no errors same issue change
atmega328.upload.speed=57600
to
atmega328.upload.speed=19200
same error use dasa to upload blink.cpp.hex and sketch run fine in diecimila, go back to atmega168 and IDE works fine. only thing i notice between the 168 vs 328p is 168 has both TX and RX blinking while uploading and the 328 i only see RX blinking. anyone know how to fix this or if there is any know compatibility issues.... thanks