Minipov not working with Linux

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Minipov not working with Linux

Post by spirou91 »

Hey!

I use the Minipov3 kit under linux (Ubuntu 11.10) with the PL-2303 conterter.

When I try to compile a sample, I've got en error:

Code: Select all

$ make program-minipov 
avrdude -p attiny2313 -P /dev/ttyUSB0	 -c dasa -U flash:w:minipov.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-minipov] Erreur 1
I also have 3 led's blinking before getting the error. Is that normal?

I've read a topic where somebody use the port /dev/ttyS0. If I do this, I get the same error without the blinking leds.
I've checked my soldering a few times.
I try the special version of avrdude but It didn't change anything.

I also try under Windows but avrdude don't find the com port. I'm sure this one is well configured!

So, I would like to know: Is it normal to get the three blinking leds during programming? Do you have an idea of my mistake?

Thanks a lot

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

I don't understand, under linux, how set the delay for the converter?
I use the modifiate avrdude5.1 but in the avrdude.conf, I don't have the "delay" option.

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

Re: Minipov not working with Linux

Post by adafruit »

lets go back to windows. did you install the PL2303 driver?

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

Yes, the drivers are well installed.
The first time I've connected the PL2303, Windows made me wait a few time and notice me the port com17. I suppose this is good.

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

A few printscreen to help to solve my problem:
Sans titre.jpg
Sans titre.jpg (66.69 KiB) Viewed 4931 times
Sans titre.png
Sans titre.png (14.71 KiB) Viewed 4931 times

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

I solve my problem under windows by changing the com port in the device manager. I heard that the com port have to be less than 9.

But now I have the same problem as Ubuntu:
When I try to compile a sample, I've got en error:

Code: Select all

$ make program-minipov 
avrdude -p attiny2313 -P /dev/ttyUSB0    -c dasa -U flash:w:minipov.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-minipov] Erreur 1
I also have 3 led's blinking before getting the error.
So, what can I do?

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

Re: Minipov not working with Linux

Post by adafruit »

not sure, maybe the driver for your windows machine is different? :( can you just use window? that works! :)

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

I don't understand what you mean by "can you just use window? that works!"

I have a regular windows 7, and the driver is good, I already used it with other devices...

So, no solution for my problem?

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

Re: Minipov not working with Linux

Post by adafruit »

we dont know what the solution is - we have a lot of people who use it with linux but every linux distribution is a little different. maybe something changed in the latest ubuntu to make the driver not work? :(

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

The problem don't come from linux, I have exactly the same with Windows...

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

Re: Minipov not working with Linux

Post by adafruit »

spirou91 wrote:The problem don't come from linux, I have exactly the same with Windows...
:?: but you said "I solve my problem under windows by changing the com port in the device manager. I heard that the com port have to be less than 9." can you explain what was fixed or not fixed?

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »

As showed in my printscreen, under Windows, I had the error:

Code: Select all

avrdude: ser_open(): can't open device "com17": file not found.
I correct this error by changing the com port to com2. But now, I have the same error under Windows and under Ubuntu:

Code: Select all

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.
EDIT: I'm checking with the schematic of the circuit, but is there the last version? The schematic looks not exactly the same (an example, pin 7 is connected to R12 and not R11 as showed here: http://www.ladyada.net/make/minipov3/hardware.html

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

Re: Minipov not working with Linux

Post by adafruit »

can you post a photo of your kit front and back? we'll take a look :)

spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

Post by spirou91 »


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

Re: Minipov not working with Linux

Post by adafruit »

are you using the version of avrdude we have for download?

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

Return to “MiniPOV”