avrdude looks for parport even with a serial programmer set!
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

avrdude looks for parport even with a serial programmer set!

by guilherme on Mon Aug 09, 2010 1:23 pm

Hi All.
I have just finished building minipov3 project and I was trying to use avrdude to record my program.

The problem is even if I set avrdude to use a serial programmer, it look for a parallel port. This is the error:

guilherme@coreidea17:~/Downloads/minipovfirmware$ sudo avrdude -p 2313 -c dasa
/dev/parport0: tcgetattr: Invalid argument
ioctl("TIOCMGET"): Invalid argument
avrdude done. Thank you.

parport?? shouldn't be ttyS0???

Also if a try to record the program to my at90s2313-10p the error is||:

guilherme@coreidea17:~/Downloads/minipovfirmware$ sudo make program-minipov
avrdude -p 2313 -P /dev/ttyS0 -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] Error 1

Does anyone ever been through this before?
Also I found a path for this, but I dunno how to apply this path.
http://www.mail-archive.com/avrdude-dev ... 01546.html

Does anyone could gimme a hand on that?
Thanks!
guilherme
 
Posts: 2
Joined: Mon Aug 09, 2010 1:15 pm

Re: avrdude looks for parport even with a serial programmer set!

by guilherme on Mon Aug 09, 2010 5:25 pm

Mates, I figure out how to specify a port!

Now I have the following problem:

avrdude -p 2313 -P /dev/ttyS0 -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.

Is this a symptom of a bad wiring only or might be something else regarding the software?
Thanks.
guilherme
 
Posts: 2
Joined: Mon Aug 09, 2010 1:15 pm

Re: avrdude looks for parport even with a serial programmer set!

by adafruit on Mon Aug 09, 2010 11:57 pm

is it plugged directly into your computer's serial port?

adafruit
 
Posts: 11970
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: avrdude looks for parport even with a serial programmer set!

by archivator on Thu Sep 29, 2011 3:38 am

Hello I think I've followed all of your instructions to the letter but there is no Make prgram button in tools for me. How do I fix this?
archivator
 
Posts: 1
Joined: Thu Sep 29, 2011 3:35 am

Re: avrdude looks for parport even with a serial programmer set!

by adafruit_support_bill on Thu Sep 29, 2011 6:28 am

there is no Make prgram button in tools for me

You have to run "Make" from the command line.
Please read the page on installing the software.

Image

adafruit_support_bill
 
Posts: 40290
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.


cron