libftdi Archives
|
From: | James Liu <jupiturliu@xxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Wed, 30 Oct 2013 12:05:48 -0700 |
Hi All,
We are right now running a project which need high speed usbserial controller. We are evaluating ft2232H chip with running several programs from the package libftdi1git_devkit_mingw64 Xiaofeng provided on Linux(Ubuntu 12.04) and Windows 7(64bits). Linux is totally fine and running very smoothly. However, We got several problems on Windows 7(64 bits):
1. Loopback tests: We connect port A to port B of controller to do loopback test.
We ran below program for writing in one terminal E:\downloads\libftdi1git_devkit_mingw64\bin64>serial_test.exe -v0x403 -p0x6010 -i1 -w12
However, when we ran below program in another terminal for reading , we always got below error E:\downloads\libftdi1git_devkit_mingw64\bin64>serial_test.exe -v0x403 -p0x6010 -
i2 unable to open ftdi device: -4 (usb_open() failed) 2. Then we did second test with two ft2232h connect with each other through port (interface) 2. We ran below program in one PC(windows 7)
E:\downloads\libftdi1git_devkit_mingw64\bin64>serial_test.exe -v0x403 -p0x6010 -i2 -w12 and ran another program in another PC(windows) E:\downloads\libftdi1git_devkit_mingw64\bin64>serial_test.exe -v0x403 -p0x6010 -i2 We can tell that data was written into port 2 of one controller through SysNucleus USBTrace tool. But we never receive any data from port 2 of controller in another PC. 3. The reason why I know the serial_test works on Linux because I can see print out from serial_test.Here are command I ran on Linux
1. ./serial_test -v0x403 -p0x6010 -i1 -w12 //write 0x0C into buffer 2. ./serial_test -v0x403 -p0x6010 -i1 //Read I can keep on reading the data from read side. I tried on Windows 7 32 bits system today and no lucky to get it works. I was wondering have the code been tested on windows before?
Appreciate for any of your advice in advance.
Regards, James ******************************************************************************** The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments. ******************************************************************************** libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|