Minipov not working with Linux

MiniPOV, MiniPOV2 and MiniPOV3

Moderators: adafruit_support_bill, adafruit

Minipov not working with Linux

Postby spirou91 » Wed Feb 01, 2012 10: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
$ 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 9:48 am

Re: Minipov not working with Linux

Postby spirou91 » Wed Feb 01, 2012 10: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 9:48 am

Re: Minipov not working with Linux

Postby adafruit » Wed Feb 01, 2012 11:07 pm

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

Re: Minipov not working with Linux

Postby spirou91 » Thu Feb 02, 2012 3: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 9:48 am

Re: Minipov not working with Linux

Postby spirou91 » Thu Feb 02, 2012 4:16 am

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

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

Re: Minipov not working with Linux

Postby spirou91 » Thu Feb 02, 2012 11:27 am

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

Re: Minipov not working with Linux

Postby adafruit » Thu Feb 02, 2012 3:58 pm

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

Re: Minipov not working with Linux

Postby spirou91 » Thu Feb 02, 2012 4: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 9:48 am

Re: Minipov not working with Linux

Postby adafruit » Fri Feb 03, 2012 11:49 am

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: 10552
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Minipov not working with Linux

Postby spirou91 » Sat Feb 04, 2012 3:17 pm

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

Re: Minipov not working with Linux

Postby adafruit » Sun Feb 05, 2012 6: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: 10552
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Minipov not working with Linux

Postby spirou91 » Mon Feb 06, 2012 3:43 am

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

Re: Minipov not working with Linux

Postby adafruit » Mon Feb 06, 2012 12:12 pm

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

Re: Minipov not working with Linux

Postby spirou91 » Thu Feb 09, 2012 1:48 pm

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

Re: Minipov not working with Linux

Postby adafruit » Sat Feb 11, 2012 1:23 pm

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

Next

Return to MiniPOV

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]