I'm new at this. Im trying to program the ATMEGA 16 with a USBASP V2.0 by LC Technology. I'v downloaded WinAVR to program there and my OS is Windows 7 64 bits. To connect my USBASP with the ATMEGA 16 I'v used both diagrams:
The problem starts when I test in the cmd the next avrdude line:
avrdude -c usbasp -p m16
When I run that I get this:
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
avrdude done. Thank you.
How can i fix that? Thank you.