Society of Robots - Robot Forum

Software => Software => Topic started by: Armouralis on December 26, 2008, 04:00:00 PM

Title: AVRISPmkII connection failed problem on $50 robot
Post by: Armouralis on December 26, 2008, 04:00:00 PM
hi i went through the $50 robot tutorial and i am stuck at the programming part.
I am using the AVRISPmkII programmer, and I am having a problem connecting to the circuit.  I am using an ATmega168 IC in the circuit and as i am using a breadboard, i checked more than 20 times that all the connections are correct, including the ones that connect to the micro controller..

I went through the programming steps, and when i pluged in the circuit to the programmer, BOTH the green LED's are on.  When i try to connect to the circuit (tools>avrprogrammer>conect... or autoconnect), the window pops up after a few seconds saying, "connection failed."

What could be the problem?  Both LED's are on, is it because i didnt follow the programming steps correctly, or the chip/ programmer has blow because of a short circuit?

Any Help is appriciated...  Thx in advance :(
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: HDL_CinC_Dragon on December 26, 2008, 04:32:29 PM
Have you thoroughly read over this thread?
http://www.societyofrobots.com/robotforum/index.php?topic=1045.0
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: Armouralis on December 26, 2008, 08:13:33 PM
thx, but i figured it out...

my avr studio had some glitch or something.  It stayed in updating mode or something, so once i got the updated version, ir works!!!!


i love the feeling when you work hard on something, then it finally works !!! =]
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: HDL_CinC_Dragon on December 27, 2008, 12:23:26 AM
i love the feeling when you work hard on something, then it finally works !!! =]
Too true my friend, too true.

Im glad it worked out for you :)
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: peekay on February 02, 2009, 09:37:55 AM
I am having the same problem. Both green LEDs are lit but AVR Studio reports "connection failed". I have tried all 4 USB ports but it is the same. How exactly was this problem solved?
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: householdutensils on February 02, 2009, 12:12:50 PM
I had that same issue, It was resolved by downloading the newest version of AVR Studio and updating the firmware of my AVRISP MKII programmer.
Title: Re: AVRISPmkII connection failed problem on $50 robot
Post by: peekay on February 05, 2009, 03:24:18 PM
Worked like a charm. Thanks a bunch. Now I am on my way to program my first Robot  :)