I am trying to download program from laptop to my Atmega16. For this purpose I am using USBASP. The link for the USBASP is:
However, when I try to transfer code I get following error:
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 done. Thank you.
Assuming it is micro-controller error I bought a new IC but the problem persist.
Further I tried to slow frequency of program by using -B command in avrdude. It didn't work then I used Jumper wire on Jp3 as given in the manual, still no change.