AVR dude error

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jdumond3
 
Posts: 16
Joined: Sun Jan 11, 2009 2:53 am

AVR dude error

Post by jdumond3 »

I just install AVRdude on my Ubuntu system and i plugged in my AVRispmkII with an ATmega168 plugged in and when I run

Code: Select all

avrdude -c avrisp2 -p atmega168
I get this message

Code: Select all

avrdude: ser_open(): can't set attributes for device "/dev/ttyS0": Inappropriate ioctl for device
I am an absolute newbie so I have no clue what this means. Can some one help?

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: AVR dude error

Post by mtbf0 »

you need to find out what Ubuntu is calling the port that you're plugged into, then specify the port on the avrdude command line. i'd try

Code: Select all

avrdude -c avrisp2 -p atmega168 -P /dev/ttyUSB0
but i'm running opensuse.

jdumond3
 
Posts: 16
Joined: Sun Jan 11, 2009 2:53 am

Re: AVR dude error

Post by jdumond3 »

That line didn't work

Code: Select all

avrdude: ser_open(): can't open device "/dev/ttyUSB0": No such file or directory
 
How do I find out what ubuntu is calling the port? I'm new to linux as well. Thanks for your help.

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: AVR dude error

Post by mtbf0 »

might have a look at [urlhttp://blog.kfish.org/2007/02/atmel-avr-isp-mkii-avrdude-ubuntu.html]this[/url]. looks like you've got to give ubuntu a hand figuring out how to start up your isp.

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

Return to “Microcontrollers”