avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] [patch #7486] Patch to add FT2232C/D, FT2232H, FT4232H


From: Jason Hecker
Subject: Re: [avrdude-dev] [patch #7486] Patch to add FT2232C/D, FT2232H, FT4232H, usbvid, usbpid, usbdev for USB support - Based on #7062
Date: Thu, 25 Aug 2011 08:25:36 +1000

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]