Hi all,
I'm trying to program an ATmega32U4 on my breadboard with a USBASP programmer, but all I'm getting is:
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I've double- and triple-checked with my multimeter that the connections are correct by probing the pins on the MCU and the corresponding pins on the programmer. Just in case the MCU was set to use a crystal (though in theory it's brand new and should be configured to use the internal oscillator), I've stuck a crystal on it (with 22pF caps to ground, and I have tried two crystals). The progammer definitely works, I program ATtiny84As with it regularly.
The only ideas I have left are trying to update the firmware on the programmer (which I will do once I get a second one), and the MCU being faulty.
Is there anything else I could have missed?
Many thanks,
Alex