I want to burn the arduino bootloader with arduino IDE, but I cant get it done. And here is my circuit: I have marked the way I connect the ISP port and the chip.
I choose Arduino NG/older as the board and Atmega8 as the processor, but when I start to burn the bootloader to the chip the LED on the usbasp just blink once and an error was given:
Arduino:1.6.5 Hourly Build 2015/05/15 06:16 (Windows 7), 板："Arduino NG or older, ATmega8"
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
What should go wrong? I have check the connection many times and replace a chip as well, and I even add a 12M crystal(with 22pF caps) but things still keep the same.
I do the flowing things as advise:
- short the jp3 jumper of the usbasp to make a slow commiuncation. And remove the crystal.
- I just found the way I connect the isp port might be wrong. so I changed it as flowing
And my actually circuit is like this:
But got no luck, things still the same :-(