> avrftdi.c:96 avrftdi_flush() ftdi_read_data(&ftdic, buf, 1) != 1: Device busy
> (16)

I too ran into this problem and fixed it by deleting the function
avr_flush() and replacing the only call to avr_flush() with:

E(ftdi_usb_purge_buffers(&ftdic));

Worked like a charm.

(Disclaimer - 'worked like a charm' with the development
libftdi/libusb-1.0 but should work with the older version).

If you can hold off the release until next week I will get some time
this weekend to change my updates to patch #7486 to work with the
older libusb and libftdi-0.19 and test it myself in Windows and Linux.
 It'd be nice to get FTDI support into 5.11.

Tschuess,
Jason

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

Reply via email to