"AVR device not responding"
Moderators: adafruit_support_bill, adafruit

"AVR device not responding"

by Tones on Fri Dec 12, 2008 4:32 am

I've just assembled a MiniPOV3. When I turn it on, it appears to work AOK- the LEDs cycle as they should.

I'm using an OSX MacBook, attempting to connect via a PL2303 USB-to-serial adapter purchase from the Ladyada store. I've installed the MacPorts version of Avrdude.

I'm attempting to follow the instructions on http://www.ladyada.net/make/minipov3/so ... tml#macosx

First, I plug my minipov into the usb port; the LEDs immediately stop cycling.
Then, I type "avrdude -p t2313 -c dasa -P /dev/cu.usbserial"
The LEDs respond immediately: First, the LED furthest from the chip blinks briefly. Then, the one closest to the chip blinks briefly. Finally, the one furthest from the chip lights up for about 4 seconds. Then the LEDs go out and I receive an error message in my terminal:

~~
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
~~

The Ladyada instructions suggest that I increase the "delay" value in avrdude.conf; but my avrdude.conf does not include a delay value at all. If I add one, avrdude interprets it as a syntax error.

So, any idea what's going wrong here and/or suggestions for diagnosing and fixing it?

My best guess is that I messed up a solder connection somewhere, since I am a solder noob. They all look ok to me, but I could be wrong. If this is the case, what's the best way to find which solder is the culprit?

I'm happy to post pictures of my circuitboard if it will be helpful.

Big thanks!

=T=
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 4:17 am

Re: "AVR device not responding"

by Tones on Fri Dec 12, 2008 4:46 am

OK, it turns out i was able to solve this pretty easily by using the 2303 driver linked to from the assembly instructions. rtfm duh.

It's a little confusing, because the adafruit store links to a completely different driver on it's homepage for the adapter.

e.g.
http://www.ladyada.net/make/minipov3/so ... tml#macosx
recommends
http://sourceforge.net/projects/osx-pl2303
which works

but
http://www.adafruit.com/index.php?main_ ... ucts_id=18
recommends
http://www.prolific.com.tw/eng/downloads.asp?ID=31
which does not
Tones
 
Posts: 16
Joined: Fri Dec 12, 2008 4:17 am

Re: "AVR device not responding"

by adafruit on Sun Dec 14, 2008 11:25 pm

man that is silly of me
ill fix it
User avatar
adafruit
 
Posts: 11668
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc