how to connect Kria kv260 to MATLAB using JTAG for data capture IP

72 views (last 30 days)
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

Answers (2)

Heman P
Heman P on 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:
  1. Please ensure that no other process is currently using the JTAG cable.
  2. Disconnect the JTAG cable and close all the MATLAB sessions.
  3. Re-connnect the JTAG cable to the device and verify the connection to the device using the Vivado HW manager tool.
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
  4 Comments
mohamed
mohamed on 24 Dec 2025 at 7:45
Hi Heman,
I was able to resolve the issue by using a Digilent JTAG cable, which appears to be more compatible with MATLAB.
I also tried the solution you provided, but it did not work in my case. However, when I connected the Digilent JTAG cable directly to the JTAG pins on the board, MATLAB was able to recognize the Kria board as a Digilent cable. After that, I was able to proceed with debugging successfully.
Thank you for your support.
Best regards,
Heman P
Heman P on 24 Dec 2025 at 8:08
Hi Mohamed,
Glad to hear you were able to connect and successfully continue your debugging using the Digilent JTAG cable.
Thanks,
Heman, P

Sign in to comment.


Dhanushree
Dhanushree on 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 Comment
Heman P
Heman P on 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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!