General Category > Discussion - Drivers

FT4222 - Problem with 64 bit dll after Windows security update

(1/2) > >>

urbanvibes:
I have a setup where 64 bit versions of ftd2xx and LibFT4222 dll's are called through Matlab, this originally worked fine on one PC, but failed on another one.
We had a debug session where we concluded that the first call to a LibFT4222.dll function returns FT4222_DEVICE_NOT_SUPPORTED. We compared installed dll's, made sure we had the same versions, but the same code still only worked on one machine. The morning after I restarted my PC after a Windows update, and now the error was on both machines.

I have attached a C++ test program created in Visual Studio, this works fine when compiling/running in 32 bit, but fails when compiling/running 64 bit.
(The dll paths are relative to my test setup, they might need modification before running)

Any ideas?
Sincerely
Torbjørn Biering Tvermosegaard

FTDI Community:
Hello,

Which version of the D2xx driver and LibFT4222 library are you using?

Which version of FT4222H IC are you using?

If you can send an email to your local technical support team we can take a look into your issue further:

https://ftdichip.com/technical-support/

Best Regards,
FTDI Community

urbanvibes:
I have sent a mail to EMEA region support, with this additional info:

Ftd2xx version is file: 3.2.16.1 Product: 2.12.36.4
LibFT4222 version is: 1.4.4.155 and same product version (but they come from LibFT4222-v1.4.5.zip)
The chip seems to be FT4222HQ 1911-D

Sincerely Torbjørn

urbanvibes:
For anyone else affected by this here is an update on this issue after communicating with FTDI-UK:

--- Quote ---Hi Torbjørn,
We think it most likely came from a Windows 10 security Update from August and seems to have an affect around memory allocation

The LibFT4222.dll is working using this configuration:
Using Visual Studio 2022 V17.2 after uninstalling 2x Windows 10 security patches from August: KB5015730 and KB5012170
Using Visual Studio 2022 V17.3 is still not working even after uninstalling the 2 security patches. The Visual Studio 17.3 Update includes security fixes.

We have an internal bug raised for this but I don’t have any specific time frame for a fix at this time 

Regards
[name removed by me(Torbjørn)] (FTDI-UK)


--- End quote ---

Furthermore I ran the test program on a Windows 11 machine with the exact same result.

Sincerely Torbjørn

FTDI Community:
Hello,

Please ensure that you are opening the correct interface.

For example, FT4222H in Mode 0:

Interface A is for SPI/I2C control.
Interface B is for GPIO control.

If you open the wrong interface in your software this can lead to issues.

It's worthwhile checking your mode configuration and application software as uninstalling Windows Security patches should not be the solution.

Best Regards,
FTDI Community

Navigation

[0] Message Index

[#] Next page

Go to full version