FTDI Community

General Category => Discussion - Software => Topic started by: martin654 on March 22, 2022, 06:45:59 PM

Title: libMPSSE not working with new D2XX drivers
Post by: martin654 on March 22, 2022, 06:45:59 PM
Hello,

libMPSSE does not work with the newest FTDI D2XXX drivers (2.12.36.4). I have an UM201XB I2C development board which worked some time ago but it is no longer enumerated by libMPSSE with drivers 2.12.36.4 installed. I cannot revert drivers back to an older version because Windows 11 automatically updates to 2.12.36.4.

The problem seems to be that the new D2XXX driver returns FT_DEVICE_X_SERIES = 9 as the device type but Mid_CheckMPSSEAvailable does not know this device type.

I changed Mid_CheckMPSSEAvailable to accept FT_DEVICE_X_SERIES devices. The UM201XB is found but opening the I2C channel causes an application hang.

I found a post about libMPSSE 1.0.1 beta but I cannot download it, the download links seem to be broken.

Regards,
Martin
Title: Re: libMPSSE not working with new D2XX drivers
Post by: FTDI Community on March 24, 2022, 04:48:24 PM
Hello,

LibMPSSE can't be used with UMFT201XB as the FT201X does not have an MPSSE Engine inside.

FT232H, FT2232H and FT4232H can be used with LibMPSSE.
Note that these can be I2C masters only.

FT201X can only be an I2C slave.

You may be interested in AN_255_USB to I2C Example using the FT232H and FT201X devices (https://ftdichip.com/an_255_usb-to-i2c-example-using-the-ft232h-and-ft201x-devices/).
The software can be downloaded here:
https://ftdichip.com/wp-content/uploads/2020/07/AN_255-Files.zip

Best Regards,
FTDI Community
Title: Re: libMPSSE not working with new D2XX drivers
Post by: martin654 on March 25, 2022, 08:46:07 AM
Hello,

Oops, I have taken the wrong module out of the drawer.

Thanks for the fast reply.

Best regards,
Martin