AVR device not responding , initialization failed, rc=-1

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
diogotriplox
 
Posts: 4
Joined: Sun May 29, 2011 2:40 pm

AVR device not responding , initialization failed, rc=-1

Post by diogotriplox »

I´m using a minipov form adafruit´s kit
I´m using Win XP SP3 in a desktop with serial port
My POV sequences through the LEDs when it's powered up. When I connect to serial port the LEDs turn off.

But appear the message into cmd propomt:


c:/minipov3> make program-minipov

AVR device not responding
initialization failed, rc=-1



I checked all connections and the diodes with multimeter
What could be wrong?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: AVR device not responding , initialization failed, rc=-1

Post by adafruit_support_bill »

Are you using a USB/Serial Adapter, or a serial port?
Have you edited the makefile with the correct port number?

diogotriplox
 
Posts: 4
Joined: Sun May 29, 2011 2:40 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by diogotriplox »

I´m using the serial port of my computer
Because this I didn´t edit Makefile and the port continuos in "com1".

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

Re: AVR device not responding , initialization failed, rc=-1

Post by mtbf0 »

sure you're not plugged into com0?

diogotriplox
 
Posts: 4
Joined: Sun May 29, 2011 2:40 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by diogotriplox »

The port in the Makefile is "com1"
If I changed the port appear the message: can´t open the device "com0".

What could be wrong my friends?
How can I check if the AVR was installed correctly ???

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: AVR device not responding , initialization failed, rc=-1

Post by adafruit_support_bill »

Is the MiniPOV powere on when you try to program it?

diogotriplox
 
Posts: 4
Joined: Sun May 29, 2011 2:40 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by diogotriplox »

Yes, it is.
I will try 2 things tomorrow:
I´m looking for another computer to try.
Tomorrow, I will talk to my friend to borrow me a USB adapter.

RKJM
 
Posts: 11
Joined: Mon Jul 25, 2011 3:28 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by RKJM »

adafruit_support wrote:Is the MiniPOV powere on when you try to program it?
I seem to be having the same problem.
OS: XP Sp3
No bridging or cold solder joints
Had another person verify the part placements. Sometimes I look past my own mistakes.
I have editted the "AVRDUDE_PORT = com1" in the "MakeFile". I have tried com1 and com2. The ports under the device manager shows com1 and com2 on my machine.
The device is powered on and has fresh batteries.

Any suggestions?
Thanks in advance!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: AVR device not responding , initialization failed, rc=-1

Post by adafruit_support_bill »

The ports under the device manager shows com1 and com2 on my machine.
Are these native serial ports, or USB/Serial adapters?
Post photos of the front & back of the board.

RKJM
 
Posts: 11
Joined: Mon Jul 25, 2011 3:28 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by RKJM »

[quote} Are these native serial ports, or USB/Serial adapters?
Post photos of the front & back of the board.[/quote]

Direct serial (not USB converter). I will post board pictures when I get home. I'm at "work" now lol.
I did read the read first and promptly did not follow the advise. Sorry!

RKJM
 
Posts: 11
Joined: Mon Jul 25, 2011 3:28 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by RKJM »

Sorry for the delay in getting the picture uploaded. I just want to try another pc. I got the same results.
Attachments
BOTTOM.jpg
BOTTOM.jpg (231.77 KiB) Viewed 6910 times
TOP.jpg
TOP.jpg (71.8 KiB) Viewed 6910 times

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

Re: AVR device not responding , initialization failed, rc=-1

Post by adafruit »

can you post a more detailed photo of the top? hard to see if the connector is soldered on right

also, if you have a cable involved, try plugging directly into the computer

RKJM
 
Posts: 11
Joined: Mon Jul 25, 2011 3:28 pm

Re: AVR device not responding , initialization failed, rc=-1

Post by RKJM »

Sometimes I wonder how I have ever made it through life?! :roll: I plugged the mini-POV directly to the serial port and it work perfectly as you designed it. Have a great night and thanks for the advise.

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

Return to “MiniPOV”