Follow-up Comment #10, patch #7486 (project avrdude):
Jason Hecker said:> 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).
Can you check to see if this works for you, Joerg? I'll verify it doesn't
break anything here with my devices.
If it all checks out, I propose I submit a new patch file that includes
includes all updates to this point.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7486>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev