- Please ensure that no other process is currently using the JTAG cable.
- Disconnect the JTAG cable and close all the MATLAB sessions.
- Re-connnect the JTAG cable to the device and verify the connection to the device using the Vivado HW manager tool.
how to connect Kria kv260 to MATLAB using JTAG for data capture IP
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hi,
I'm try to debug a developed communication system design on FPGA by using data capture IP added to existing HDL code , when integrate the data capture IP on zybo z20 board , it works and connected to MATLAB and I can read data from FPGA.
now , I'm try to imgrate the design to kria Kv260 , I faced some problem to run HDL design , but I solve this problems , but the last one is to connect to MATLAB, and when I use same approach for zybo , I got this error
Error using fpgadebug_mex
Failed to open Digilent JTAG cable: Did not find any Digilent(R) JTAG cable.
Failed to open FTDI JTAG cable: Failed to perform JTAG write operation
Error in hdlverifier.FPGADataReader/setupImpl
I can't understand why MATLAB can't read JTAG when conneting to kria board , I try many solutions by adding JTAG name and type and ckeck that if Kria connected to PC or not and it connected through JTAG in vivado , but still can't solve this issue and I can't understand from where this problem come.
can any one help my to solve this issue ?
thank you
0 Kommentare
Antworten (2)
Heman P
am 11 Aug. 2025
Hi Mohamed,
It has been confirmed that the JTAG port on the Kria KV260 board utilizes an FTDI chipset.
Based on the error provided, the application has successfully loaded the required FTDI library and configured the JTAG clock without any issues. The error message, "Failed to open FTDI JTAG cable: Failed to perform JTAG write operation," occurs specifically when the application attempts to retrieve the ID code from the hardware.
A likely cause for this failure is that another process such as Vivado, the Hardware Server, or a similar tool may already be accessing the FTDI device, preventing access by your application.
Can you perform the following diagnostic steps:
If you are able to see the Kria KV260 device part number or device name via Vivado HW manager tool, confirms no issue with JTAG connection. Then, close the Vivado HW manager tool, re-open the MATLAB session and try to capture the data via data capture IP from MATLAB.
Thanks,
Heman, P
2 Kommentare
Heman P
am 23 Sep. 2025
Hi Mohamed,
After analyzing the error message you shared here, the software is able to load the required JTAG library and it seems like still some other process like Xilinx hw_server, Vivado Hardware Manager, Digilent Adept, or other vendor tools is locking the cable.
If you make sure no other process is running at the background, can you install the latest FTDI drivers on both host machine and SPKG HSP installatin path as explained below:
FTDI D2XX latest driver path: https://ftdichip.com/wp-content/uploads/2025/03/CDM-v2.12.36.20-WHQL-Certified.zip
Unzip the contents to this HSP installation path:
C:\ProgramData\MATLAB\SupportPackages\<MATLAB_Version>\3P.instrset\ftcjtag.instrset\win64
Thanks,
Heman, P
Dhanushree
am 18 Aug. 2025
t=0:0.5:24; % Time in hours
tempA = 25+ 5*sin(pi*t/12);
tempB = 22+ 4*sin(pi*t/10+ pi/4);
plot(t, tempA, 'r', t, tempB, 'b--', 'LineWidth', 2);
xlabel('Time (hours)');
ylabel('Temperature (°C)');
legend('Room A', 'Room B');
title('Temperature Comparison');
hold on;
1 Kommentar
Heman P
am 23 Sep. 2025
Hi Dhanushree,
Your answer is not related to the question mentioned in this thread. Hope you answered in the wrong channel. Can you place verify and remove it if possible?
Thanks,
Heman, P
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!