As Anton Smirnov wrote:

> avrdude: ser_setspeed(): tcgetattr() failedavrdude: ser_open(): can't set
> attributes for device "/dev/bus/usb/002/002": Not a typewriter

That cannot work.

> What is the reason of error?

You need a serial emulation device.  Depending on your operating system,
the pathname for it might look like /dev/ttyS3, /dev/ttyUSB2, /dev/cuau4,
/dev/ttyACM0, /dev/term/whatever — whatever your driver implements.

/dev/bus/usb devices cannot be used directly for STK500v2.

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

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

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

Reply via email to