Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: robotmaniac on September 15, 2013, 08:54:27 PM

Title: AVR isp MK II orange led
Post by: robotmaniac on September 15, 2013, 08:54:27 PM
Hi guys. I am working with the $50 robot, and I was going to use the USB to TTL converter and accidentally connected GND to a + pin from the sensors, and suddenly my AVRISP mkII status LED started to blink orange... there was nothing wrong with the microcontroller because I had programmed it a few hours ago... and the ISP connector is properly plugged, but now I cant program my $50 robot :(   
Title: Re: AVR isp MK II orange led
Post by: jwatte on September 16, 2013, 09:49:47 AM
Well, the magic smoke has escaped from at least one component -- likely the programmer or the MCU.
I suggest stripping the system down as far as possible, so you only have the MCU with power, and the programmer.
If it still doesn't work, try replacing the cheaper part first (MCU or programmer) and if that doesn't work, replace the other part.
Title: Re: AVR isp MK II orange led
Post by: johnwarfin on September 16, 2013, 01:20:49 PM
this is why its a good idea to buy more than one chip at a time. i dont understand why people do that considering they only cost a dollar and change. and personally i would pick up a usbasp for 2$-3$ on ebay instead of another mkII. the usbasp is not only cheaper but actually a better programmer. and much easier to repair if a mishap does occur.
Title: Re: AVR isp MK II orange led
Post by: Webbot on September 16, 2013, 02:15:05 PM
According to http://people.ece.cornell.edu/land/courses/ece4760/AtmelStuff/avrispmkii_ug.pdf (http://people.ece.cornell.edu/land/courses/ece4760/AtmelStuff/avrispmkii_ug.pdf) the bliking orange means you may have plugged your ISP cable back in the wrong way around.

Sometimes I find it gets confused ie
Close whatever software you are using to talk to the AVRISP
Disconnect the AVRISP from the board
Power on the board for a few seconds
Power off the board
Reconnect the AVRISP to the board
Restart the software controlling the AVRISP

Cant guarantee it will make any difference - but I have found that stuff can get confused
Title: Re: AVR isp MK II orange led
Post by: robotmaniac on September 16, 2013, 03:53:40 PM
According to http://people.ece.cornell.edu/land/courses/ece4760/AtmelStuff/avrispmkii_ug.pdf (http://people.ece.cornell.edu/land/courses/ece4760/AtmelStuff/avrispmkii_ug.pdf) the bliking orange means you may have plugged your ISP cable back in the wrong way around.
I had it the right way(checked twice)... so Ill try everything else including your tips...
Title: Re: AVR isp MK II orange led
Post by: robotmaniac on September 16, 2013, 04:00:24 PM
it is no the mk II, I just used it right now to program another ATmega8 I have on a LED circuit board... So I will buy a few ATmega8... thanks for the help :)