avrdude looks for parport even with a serial programmer set!

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
guilherme
 
Posts: 2
Joined: Mon Aug 09, 2010 1:15 pm

avrdude looks for parport even with a serial programmer set!

Post by guilherme »

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!

Post by guilherme »

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.

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

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

Post by adafruit »

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

archivator
 
Posts: 1
Joined: Thu Sep 29, 2011 3:35 am

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

Post by archivator »

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?

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

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

Post by adafruit_support_bill »

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

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

Return to “MiniPOV”