Why my ISP dose not work?
Posted: Thu Mar 13, 2014 10:45 am
I bought one kits, but I take 2 days sold one Uzebox on pegboard first.
But failed to download any game, after 1 days trying. In my pegboard, SD card , 7805 ,3.3V power, S video,Midi interface is omitted . Other part is just the same as Uzebox designing F2.But failed to ISP a game on it, the game I choose is Megatris.hex, I want to "ISP" it on my board.
The ISP downloader I use is a "USB PORT" one, based on "USBasp - USB programmer for Atmel AVR controllers". And the software I used to ISP the game is:avrdude.exe,and the command is just like this:
avrdude -c usbasp -p m644 -B 4 -U flash:w:Megatris.hex -U efuse:w:0xFE:m -U hfuse:w:0xD2:m -U lfuse:w:0xFF:m
but it does not work, the result is like this:
It says :
avrdude: set SCK frequency to 187500 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 done. Thank you.
I check it over 2 hours, but still no idea.
I read some post on net, it seems AVR ISP is very simple, I guess maybe it is because the overclock cause this?
So I sold another Pegboard, which has the minimum circuit only support ISP,so only MOSI, RST,SCK, MISO, and VCC, GND sold and linked with 644 corresponding pin. and 644 , pin 10 connect with VIG, and pin 11,31 connected with GND, 644 get power by USB 5 v. But it does not work!
The atmel 644 is new from the kits, so any suggestion? Thank you very much! ISP, it seems so simple but.......
But failed to download any game, after 1 days trying. In my pegboard, SD card , 7805 ,3.3V power, S video,Midi interface is omitted . Other part is just the same as Uzebox designing F2.But failed to ISP a game on it, the game I choose is Megatris.hex, I want to "ISP" it on my board.
The ISP downloader I use is a "USB PORT" one, based on "USBasp - USB programmer for Atmel AVR controllers". And the software I used to ISP the game is:avrdude.exe,and the command is just like this:
avrdude -c usbasp -p m644 -B 4 -U flash:w:Megatris.hex -U efuse:w:0xFE:m -U hfuse:w:0xD2:m -U lfuse:w:0xFF:m
but it does not work, the result is like this:
It says :
avrdude: set SCK frequency to 187500 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 done. Thank you.
I check it over 2 hours, but still no idea.
I read some post on net, it seems AVR ISP is very simple, I guess maybe it is because the overclock cause this?
So I sold another Pegboard, which has the minimum circuit only support ISP,so only MOSI, RST,SCK, MISO, and VCC, GND sold and linked with 644 corresponding pin. and 644 , pin 10 connect with VIG, and pin 11,31 connected with GND, 644 get power by USB 5 v. But it does not work!
The atmel 644 is new from the kits, so any suggestion? Thank you very much! ISP, it seems so simple but.......