AVR device not responding...

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Thomas
 
Posts: 3
Joined: Thu Jun 04, 2009 2:22 am

AVR device not responding...

Post by Thomas »

I just got a MiniPOV3 kit at MakerFaire 2009. Built it tonight, got through most of the programming instructions finally (not very user friendly IMHO, especially for a first time user). I'm getting stuck at the "make program-alt_leds" step; see error messages below. It eventually says "AVR device not responding"; this seems bad. When I unplug the serial cable the LEDs start sequencing, just as they did when I first powered the unit up.

I'm using an Intel Mac and a Trends TU-89 USB-Serial converter cable.

Any suggestions?

Code: Select all

[Macintosh:~/Desktop/minipovfirmware] tom% make program-alt_leds
avrdude -p attiny2313 -P /dev/cu.PL2303-000041FA	 -c dasa -U flash:w:alt_leds.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 2.08s

avrdude: Device signature = 0x000103
avrdude: Expected signature for ATtiny2313 is 1E 91 0A
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

make: *** [program-alt_leds] Error 1
[Macintosh:~/Desktop/minipovfirmware] tom% make program-alt_leds
avrdude -p attiny2313 -P /dev/cu.PL2303-000041FA	 -c dasa -U flash:w:alt_leds.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 2.13s

avrdude: Device signature = 0x000002
avrdude: Expected signature for ATtiny2313 is 1E 91 0A
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

make: *** [program-alt_leds] Error 1
[Macintosh:~/Desktop/minipovfirmware] tom% make program-alt_leds
avrdude -p attiny2313 -P /dev/cu.PL2303-000041FA	 -c dasa -U flash:w:alt_leds.hex

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


avrdude done.  Thank you.

make: *** [program-alt_leds] Error 1
[Macintosh:~/Desktop/minipovfirmware] tom% make program-alt_leds
avrdude -p attiny2313 -P /dev/cu.PL2303-000041FA	 -c dasa -U flash:w:alt_leds.hex

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


avrdude done.  Thank you.

make: *** [program-alt_leds] Error 1
[Macintosh:~/Desktop/minipovfirmware] tom% 

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: AVR device not responding...

Post by mtbf0 »

some pictures woud be helpful, but it sounds like a build problem in the programming part of the circuit. this includes the three diodes, r10-12 and the db-9 connector. check the solder joints. they should be shiny. check the polarity of the diodes. check the db-9 connector. make sure that there is solder on the pads on the board and in the cups on the connector. there is a lot of metal on the db-9 and it can take a while to heat it up enough to melt the solder. keep in mind that if you melt the solder with the iron, rather than heating the component leads and pads on the board and letting them melt to solder you will not have good electrical connections.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: AVR device not responding...

Post by adafruit »

ya post some photos. also, if its an FTDI-based chip i think theres an extra step like you need an upgraded avrdude and then change the Delay
check the instructions!

Thomas
 
Posts: 3
Joined: Thu Jun 04, 2009 2:22 am

Re: AVR device not responding...

Post by Thomas »

Thanks for the tips; it seems to be working now!

I took the pictures below and noticed a possible short on the serial port pins & corrected; this didn't help. I then downloaded the updated avrdude, and moved the new avrdude and avrdude.conf files to /usr/local/etc. This did the trick, and now I'm getting alternating LEDs.

Now on to the next adventure -- uploading my own message...

-tom
Attachments
IMG_7193.jpg
IMG_7193.jpg (317.8 KiB) Viewed 4150 times
IMG_7192.jpg
IMG_7192.jpg (336.74 KiB) Viewed 4150 times

Thomas
 
Posts: 3
Joined: Thu Jun 04, 2009 2:22 am

Re: AVR device not responding...

Post by Thomas »

Well, I got it all working and it seems to be displaying my custom message. The problem is it reads correctly only when moving in one direction, and becomes illegible when waving back and forth in my hand. I suppose the next step will be to add a mercury switch to the mysterious sensor connections on the board and figure out how to read/use that input...

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: AVR device not responding...

Post by adafruit »

some people have done that in this forum!

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”