FTDI Community

General Category => Discussion - Drivers => Topic started by: ganswer on February 04, 2019, 12:54:50 PM

Title: D3XX 64-bit driver problem with multiple devices connected
Post by: ganswer on February 04, 2019, 12:54:50 PM
I'm using the FTD3XX_NET wrapper relying on the D3XX driver.
The D3xx driver v. 1.3.0.2 seems buggy in the 64-bit version. In this version, when the wrapper is used for enumerating the connected devices:

FTDI ftdi = new FTDI();
uint nDevices;
ftdi.CreateDeviceInfoList(out nDevices);
List<FTDI.FT_DEVICE_INFO> deviceInfoList;
deviceFtdi.GetDeviceInfoList(out deviceInfoList);

AND in case there are two devices connected, the second device in the list has Description empty and serial 0 (ftdi.GetDescriptio(deviceInfo) and ftdi.GetSerialNumber(deviceInfo)). While in the 32-bit version, the right Description and serial is returned also for the second device.

Looking deeper, when in 64-bit, the deviceInfo of the second device seems to have the data in the byte[] array field for Description (and similarly the one for Serial) shifted:
[0, 0, 0, 0, 70, 84, 68, 73, 32, 83.....]
while the first device has not those 4 initial bytes at 0.
Title: Re: D3XX 64-bit driver problem with multiple devices connected
Post by: FTDI Community on February 05, 2019, 04:11:02 PM
Hello,

Can you ensure that you are using the latest version of our FTD3XX driver, which you can obtain here:

FTD3XX_NET.ZIP (ftp://u45902898-ide:Ftd1$erv@ftp.ftdichip.com/CES/D3XX/FTD3XX_NET.ZIP)

If you are still having problems after trying this please can you contact email support on support1@ftdichip.com, referencing this thread and we will assist you further.

Regards,
FTDI Community
Title: Re: D3XX 64-bit driver problem with multiple devices connected
Post by: ganswer on February 06, 2019, 07:43:48 AM
Hello, yes I tried also the FTD3XX_NET you provided and the problem is confirmed. I'll write then, thanks
Title: Re: D3XX 64-bit driver problem with multiple devices connected
Post by: n1mm on February 06, 2019, 08:27:08 AM
Please note that the source files are missing for the FTD3XX_Net.dll  linked to on the page: https://www.ftdichip.com/Support/SoftwareExamples/FT60X.htm . They are supposed to be in the file: https://www.ftdichip.com/Drivers/D3XX/FTD3XX_NET.zip but that contains only the DLLs.  The files referenced above compile fine here, and I needed them to backlevel the dll from .Net 4.5 to 4.0. 

You don't want to have users have to come to a community site just to find this, but I am happy I succeeded!

Tom Wagner