- Thu Jan 07, 2010 8:37 pm
#89753
I'm trying to upload the program from here to my ATmega168 but I'm having trouble. Every time I try to upload it to the board 'make all' goes fine, but 'make program' gives me the error
Thanks!
Code: Select all
I'm running Linux and I'm fairly certain that my serial port is /dev/ttyS0. I've checked all my wires and everything is hooked up firmly, and there's 4.96 V running through all the various power/ground wires. The wires are definitely hooked up to the programmer and ATmega correctly. Does anyone know what the problem might be?avrdude -p atmega168 -P /dev/ttyS0 -c ponyser -U flash:w:blink_1MHz.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
make: *** [program] Error 1
Thanks!
Last edited by Yes0 on Fri Jan 08, 2010 11:42 pm, edited 1 time in total.