I picked up a blank atmega328 chip today to rig something up. I popped out my good chip and put in the blank, built an X3-to-ICSP cable as per
here.
I then followed
this guide, but the IDE hangs as soon as I select the burn bootloader option. The only way to unhang it is to use Task Manager to end the avrdude.exe task. When I do, I get the following in the console box at the bottom:
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK
ft245r: bitclk 4800 -> ft baud 2400
ft245r: bitclk 4800 -> ft baud 2400
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK
Ive waited up to ten minutes before ending the task, but it doesnt make a difference.
I tried using
this method and it finishes successfully, but when I unhook the cable and use the IDE to try to upload a sketch (Blink), it compiles fine, but when it uploads, it tries for about 20 seconds, then it gives me this error:
Binary sketch size: 896 bytes (of a 14336 byte maximum)
avrdude.exe: stk500_getsync(): not in sync: resp=0x37
avrdude.exe: stk500_disable(): protocol error, expect=0x14, resp=0x51
What should I do?