Pages: [1]   Go Down
Author Topic: Why can't i burn i sketch onto my ATmega8 with AVRISP MKII?  (Read 82 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hell..o!


If i put my ATmega8 on the UNO card and plug in the AVRIPS MKii programmer. Then i can brun a sketch whitout using a bootloader. That works great! Still im using the internal 8 Mhz crystal.

But if i put the ATmega8 on a breadboard and plug this



Into this


And burn a sketch with the programmer. I got this error message:
Quote
Binary sketch size: 914 bytes (of a 7 680 byte maximum)
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: RST fail, Target reverse inserted
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.



I have tried to add a pull up resistor 10k, 4.7k and 1k between RST (pin1) and pin VCC (pin7) and try to burn a sketch with the programmer. The results was the same error message as before.

Do you know how i need to build my setup to burn the sketch onto the ATmega8 with my AVRSIP Mkii programmer?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you should connect vcc and gnd in to pins 20 and 22.
Logged

Pages: [1]   Go Up
Jump to: