As Pinitnun Shanasabang wrote:

> for cdc mode, the driver is installed, the device (/dev/ttyACM0) is
> added automatically. I call avrdude with the command

> avrdude -p m32 -c stk500v2 -P /dev/ttyACM0

> it returns,

> avrdude: ser_send(): write error: Invalid argument.

That looks like a problem with the driver to me.  You could narrow
down about when it happens by adding -vvvv (four "v"s).

Curious, what would be the advantage of CDC mode, anyway?  Yes, I know
that HID mode is a crock which has mainly been used since for Windows,
all the USB world appears to look like a human interface -- because
that's close to the only class of devices they can talk to without
installing a vendor driver.  But then, if you're on Linux, you've got
libusb which can talk to any device, so why bother with a driver at
all?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to