libftdi Archives

Subject: Re: Asynchronous Read Hangs

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 1 Mar 2013 08:01:01 +0800
On Fri, Mar 1, 2013 at 7:28 AM, Jim Hendry <hendryjh@xxxxxxxxx> wrote:
> If I do a run where there is only ever one outstanding ftdi_read_data_submit
> then everything is fine. Is there a libftdi limitation to only have one
> outstanding async read request?

I believe this is the limitation of current libftdi1 implementation.
It can be improved.

> The only app that I found that uses ftdi_read_data_submit is
> urjtag, but it only sends one and then waits for it.

I was trying to promote libftdi1 to OpenOCD project as
well but now they use libusb-1.0/libusbx directly for
the mpsse engine. But that one has the same
limitation, only pending one transfer.
Ref: http://repo.or.cz/w/openocd.git/blob/HEAD:/src/jtag/drivers/mpsse.c


-- 
Xiaofan

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

Current Thread