FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: D3XX 64-bit driver problem with multiple devices connected  (Read 109 times)

ganswer

  • Newbie
  • *
  • Posts: 2
    • View Profile
D3XX 64-bit driver problem with multiple devices connected
« 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.
Logged

FTDI Community

  • Administrator
  • Full Member
  • *****
  • Posts: 201
    • View Profile
Re: D3XX 64-bit driver problem with multiple devices connected
« Reply #1 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

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
Logged

ganswer

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: D3XX 64-bit driver problem with multiple devices connected
« Reply #2 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
Logged

n1mm

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: D3XX 64-bit driver problem with multiple devices connected
« Reply #3 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
Logged