>>>>> "Thomas" == Thomas Heller <[email protected]> writes:

    Thomas> Am 28.09.2012 10:43, schrieb Uwe Bonnes:
    >>>>>>> "Thomas" == Thomas Jarosch <[email protected]>
    >>>>>>> writes:
    >>
    Thomas> Hi Thomas On Friday, 28. September 2012 09:07:06 Thomas Heller
    Thomas> wrote:
    >> >> So, the question is: Is it possible to clear the ft2232h output
    >> fifo?
    >> 
    Thomas> ftdi_usb_purge_tx_buffer() will do the job.
    >>  Thomas (Heller),
    >> 
    >> please report back if that is successfull.

    Thomas> Note that (because of the libusb... chaos (*) ;-) I'm not using
    Thomas> libftdi.  I used libftdi as a reference to implement my own
    Thomas> driver which directly calls WinUSB functions - I only need
    Thomas> windows.

    Thomas> First tests show that a purge_rx_buffer()-like call deletes the
    Thomas> data in the on-chip buffers that the PC has written into the
    Thomas> chip.  Can it be that the definitions for SIO_RESET_PURGE_RX and
    Thomas> SIO_RESET_PURGE_TX are swapped?  My code for purge_rx_buffer()
    Thomas> is:

Ah, that could be the case. I vaguely remember I tried to purge buffers but
it didn't work as intended.

...

    Thomas> (*) No offense intended!

How is the libusb situation in windows now? Did the libusbc split help? Have
you tried any recent Libusb-win32 version?

Thanks
-- 
Uwe Bonnes                [email protected]

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 [email protected]   

Reply via email to