Description
Uploading a barebone ATMEga328P with a NANO (my case) is impossible because in the file programmers.txt
the following lines seems to be wrong:
arduinoasisp.protocol=arduino
and:
arduinoasisp.program.protocol=arduino
They should be:
arduinoasisp.protocol=stk500v1
and
arduinoasisp.program.protocol=stk500v1
When uploading, the symptom is:
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15
and further:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14