unable to find FTD2XX library path

25 views (last 30 days)
KH
KH on 9 Dec 2024
Answered: Heman P on 13 Dec 2024
Hi,
When i use
h=aximanager('AMD','JTAGCableType','FTDI');
in Ubuntu 20.04 LTS system.
An error occurs:
error using fpgadebug_mex
failed to open FTDI JTAG cable: Unable to find FTD2XX library path'
Error in hdlverifier.AXIManagerJTAG/openCable
Error in hdlverifier.AXIManagerJTAG
However, the ftd2xx driver has been installed on my computer.

Accepted Answer

Heman P
Heman P on 9 Dec 2024
Hi KH,
The error 'Unable to find FTD2XX library path' typically appears when the user has not installed the 'HDL Verifier Support Package for AMD FPGA and SoC Devices' on their host MATLAB system.
Can you check the "Add-Ons" section on your installed MATLAB and confirm the above mentioned SPKG name in the "Add-Ons -> Manage Add-Ons"?
Thanks,
Heman, P
  3 Comments
Heman P
Heman P on 11 Dec 2024
Edited: Heman P on 11 Dec 2024
Hi KH,
Investigated and came to know that our AXI Manager codebase is currently unable to retrieve the SPKG installation path for the FTD2XX library on the Linux platform.
As a result, you are facing the error message: 'Failed to open FTDI JTAG cable: Unable to find FTD2XX library path.'
But the same issue is not there with Windows platform.
This confirms the necessity for an update on the Linux side to correctly return the path.
Since, this pertains to the internal codebase of the AXI Manager script, we will address this issue through an SPKG update for the affected versions.
In the meantime, we can provide you with a working patch file to ensure that you can continue using the AXI Manager functionality without any disruption to your application.
Could you please specify the version of MATLAB you are using?
Thanks,
Heman, P
KH
KH on 13 Dec 2024
Thanks for your reply, I'll solve the problem later.
The matlab version I use is 2024b.

Sign in to comment.

More Answers (1)

Heman P
Heman P on 13 Dec 2024
Hi KT,
Please find the patch file 'AXIManagerJTAG.zip' from the attachment.
This zip file contains the 'AXIManagerJTAG.p' MATLAB p-code file, compatible with MATLAB version R2024b on Linux.
Copy the file ‘AXIManagerJTAG.p’ to the SPKG installation path:
"/home/<user_name>/Documents/MATLAB/SupportPackages/R2024b/toolbox/hdlverifier/supportpackages/fpgadebug/+hdlverifier"
After copying the file, launch the MATLAB and perform the following commands on MATLAB console:
>> rehash toolbox
>> rehash toolboxcache
Please let me know if this patch file works in your setup environment.
Thanks,
Heman, P

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!