libftdi Archives

Subject: Re: How do you use libftdi with the FT245R?

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 27 Apr 2011 10:44:33 +0200
>>>>> "Aaron" == Aaron Jacobs <aaronjjacobs@xxxxxxxxx> writes:

    Aaron> One further question: is it expected that data sent from the
    Aaron> device to my machine after it is connected via USB but before my
    Aaron> program opens it using libftdi is lost? When I open and read from
    Aaron> the device the data starts somewhere partially through the count
    Aaron> that the device starts outputting as soon as it's connected.

The Ft Devices have (ample) FIFOs. If the data sent to the device fits in
the fifo and you or your system doesn't flush those FIFOS, data sent to the
FT Device while connected to the system but not served by libftdi will still
be there.

At least on linux however, often the FTDI_SIO driver is loaded when the
device is plugged, and FTDI_SIO probably will pull data from the device.
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread