I want to program an atmega168 on a protoboard. Right now it have nothing more than the chip, this is, no clock source. If i put the chip on the arduino board, it can be programmed from the IDE without error (programmer works), but i can't do it on the protoboard.
I don't know if i'm missing something...
this is what i'm executing:
avrdude -p m168 -P usb -c usbtiny -U flash:w:ATmegaBOOT_168_diecimila.hex
i've tried many variations and always got this error:
avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you.