libftdi Archives

Subject: Re: SOLVED: Release 0.15 and the ft2232 data loss.

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 23 Mar 2009 09:56:07 +0100
On Monday, 23. March 2009 00:07:35 David Challis wrote:
> Here is my final answer:
>
> The ft2232H spaces the modem status bytes every 512 bytes rather that the
> expected 64 byte interval of prior chips like the ft245.  Libftdi will have
> to be changed to detect the type of chip connected and adapt the
> ftdi_read_data() routine to handle the appropriate spacing between modem
> status bytes.

Good work! Maybe the attached patch will help you.

Cheers,
Thomas



--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: libftdi-detect-2232h-chip.patch
Description: Text Data

Current Thread