I am trying to switch programmers from my old Sparkfun AVR Programmer with mini-USB to this nice looking Pololu V2.1.
I have a device in front of me (ATTiny841) that is easily programmed with the old one. Swapping to the Pololu, it does not work.’
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
The first line is what concerns me. is stk500v2 the correct type to use with avrdude?
#!/bin/bash PORT=`pavr2cmd --prog-port` PROG=stk500v2 MCU=attiny841 avrdude -c $PROG -p $MCU -U lfuse:w:0xe2:m -P $PORT
pavr2gui/pavr2cmd run with no problems and I can set the device to provide 5V power.