Author Topic: AVRISPmkII connection failed problem on $50 robot  (Read 3785 times)

0 Members and 1 Guest are viewing this topic.

Offline ArmouralisTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
AVRISPmkII connection failed problem on $50 robot
« 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 :(

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #1 on: December 26, 2008, 04:32:29 PM »
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline ArmouralisTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #2 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 !!! =]

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #3 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 :)
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline peekay

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #4 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?

Offline householdutensils

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 2
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #5 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.

Offline peekay

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: AVRISPmkII connection failed problem on $50 robot
« Reply #6 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  :)