Minipov not working with Linux
Moderators: adafruit_support_bill, adafruit

Minipov not working with Linux

by spirou91 on Wed Feb 01, 2012 11:00 am

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 | TOGGLE FULL SIZE
$ 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

by spirou91 on Wed Feb 01, 2012 11:52 am

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.
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by adafruit on Thu Feb 02, 2012 12:07 am

lets go back to windows. did you install the PL2303 driver?
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Minipov not working with Linux

by spirou91 on Thu Feb 02, 2012 4:16 am

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

by spirou91 on Thu Feb 02, 2012 5:16 am

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

Sans titre.png
Sans titre.png (14.71 KiB) Viewed 4050 times
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by spirou91 on Thu Feb 02, 2012 12:27 pm

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 | TOGGLE FULL SIZE
$ 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?
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by adafruit on Thu Feb 02, 2012 4:58 pm

not sure, maybe the driver for your windows machine is different? :( can you just use window? that works! :)
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Minipov not working with Linux

by spirou91 on Thu Feb 02, 2012 5:03 pm

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?
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by adafruit on Fri Feb 03, 2012 12:49 pm

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? :(
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Minipov not working with Linux

by spirou91 on Sat Feb 04, 2012 4:17 pm

The problem don't come from linux, I have exactly the same with Windows...
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by adafruit on Sun Feb 05, 2012 7:59 pm

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?
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Minipov not working with Linux

by spirou91 on Mon Feb 06, 2012 4:43 am

As showed in my printscreen, under Windows, I had the error:
Code: Select all | TOGGLE FULL SIZE
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 | TOGGLE FULL SIZE
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
spirou91
 
Posts: 12
Joined: Wed Feb 01, 2012 10:48 am

Re: Minipov not working with Linux

by adafruit on Mon Feb 06, 2012 1:12 pm

can you post a photo of your kit front and back? we'll take a look :)
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Minipov not working with Linux

by spirou91 on Thu Feb 09, 2012 2:48 pm

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

Re: Minipov not working with Linux

by adafruit on Sat Feb 11, 2012 2:23 pm

are you using the version of avrdude we have for download?
User avatar
adafruit
 
Posts: 11740
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc