Dear all,
i tried to design a PCB, using a Atmega32u4 instead of a Teensy to save some space. After the soldering, i tried to program the uC via the JTAG interface and a JTAGICE clone from eBay. That wasn't successful, so i ordered this
http://www.ebay.de/itm/172399352607?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT. I connected the respective pins to a USPASP programmer, then i tried via AVRDUDE to program the uC with the following command:
avrdude -c usbasp -p m32u4 -u -U flash:w:ATMega32U4-usbdevice_dfu-1_0_0.hexBut then i get the following error-message:
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.The -B flag has no effect:
avrdude -c usbasp -p m32u4 -u -U flash:w:ATMega32U4-usbdevice_dfu-1_0_0.hex:a -B 120
avrdude: set SCK frequency to 8000 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.I double checked the pins and even tried the JP3 jumper for lower programming speed.
The programmer is a USBASP v2.0.
I am out of ideas, any suggestions?