STK500 Compatible USB Programmer
sku: PGM-08702
I am having trouble loading onto a ATMEGA328 from Ubuntu Linux. I am trying to reload the bootloader for the Arduino Diecimila using the provided ISP pins using avrdude.
I can communicate with the ATMEGA 168 that is in the MeggyJr RGB without problems, so I know that avrdude is finding the programmer at /dev/ttyACM0. Here are the commands and responses I receive.
168 works:
avrdude -c stk500v2 -p m168 -P /dev/ttyACM0 -b 9600
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.04s
avrdude: Device signature = 0x1e9406
avrdude: safemode: Fuses OK
avrdude done. Thank you.
328 does not work:
Any help is greatly appreciated!avrdude -c stk500v2 -p m328p -P /dev/ttyACM0 -b 9600
avrdude: stk500v2_command(): unknown status 0x80
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Justin