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!
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.
-
- Posts: 2
- Joined: Mon Aug 09, 2010 1:15 pm
-
- Posts: 2
- Joined: Mon Aug 09, 2010 1:15 pm
Re: avrdude looks for parport even with a serial programmer set!
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.
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.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: avrdude looks for parport even with a serial programmer set!
is it plugged directly into your computer's serial port?
-
- Posts: 1
- Joined: Thu Sep 29, 2011 3:35 am
Re: avrdude looks for parport even with a serial programmer set!
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?
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude looks for parport even with a serial programmer set!
You have to run "Make" from the command line.there is no Make prgram button in tools for me
Please read the page on installing the software.
Please be positive and constructive with your questions and comments.