Linux AVRDUDE Problem

Hello,
I recently installed AVRDUDE on Ubuntu to transfer files with my AVR USB Programmer to my ATmega328p.

When I start up AVRDUDE via the terminal and try to connect to the programmer using “avrdude -c avrisp2 -p m328p”, it puts out an error saying “avrdude: ser_open(): can’t set attributes for device “/dev/ttyS0”: Inappropriate ioctl for device”.

I’ve searched for hours on Google trying to resolve this problem, but I have not found any results.

Any help is appreciated.

Hello,
Your avr programmer is probably on port /dev/ttyUSB0, so you need to specify that with a -P argument to avrdude.

-Paul

CP2102-based products, like the old Orangutan USB Programmer will be on /dev/ttyUSB0, but the USB AVR Programmer will be on /dev/ttyACM0. Check your /dev/ directory if in doubt.

-David

Yes, of course, that’s right! Sorry for the misleading post.

-Paul