libftdi Archives

Subject: Re: libftdi (serial_test) won't work on windows 7 64 bits bench

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: "libftdi@xxxxxxxxxxxxxxxxxxxxxxx" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Nov 2013 17:01:23 +0800
On Fri, Nov 1, 2013 at 2:24 AM, James Liu <jupiturliu@xxxxxxxxx> wrote:
> Hi All,
>    Here are more updated regarding to FTDI2232H test with libftdi on Windows
> 7 (32 bits and 64 bits)
>
> Environment setsup:
>    1. Zadig 2.0.1(Build 160) to install WinUSB(libusbx) driver.
>    2. The Ftdi2232h controller was shown as two usb interface device
>    3. Running both stream_test and serial_test as described in my first
> email.
>    4. Running USBTRace 2.8.0.80 from sysnucleus.com to capture the usb
> traffic. I can see the data was written from serial_test to usb device, but
> there is no data was read from another terminal running serial_test.

What do you mean by another terminal?

> I also use visual studio 2012 to compile the serial_test code with slightly
> modification, I  debugged it step by step and found there is never data read
> from usb interface A or B(In my setup, I am using interface A)
>
> Could anybody here ever test the libftdi library on Windows 7 with read or
> stream read functions?   Any advice will be greatly appreciated.
>

I am not so sure if I understand you correctly or not. But if you are running
two copies of serial_test program, then that will not work since WinUSB
does not allow that.

Wiki: https://github.com/libusbx/libusbx/wiki/Windows-Backend#known-restrictions
WinUSB does not support multiple concurrent applications


Also please try to use the latest version of libusbx Windows binary dll to
replace the dll inside the download to see if that helps.

And I am less confident about MinGW-w64, please use the 32bit
MinGW.org build libftdi binary to try again.

-- 
Xiaofan

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

Current Thread