![HIL.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249985/HIL.png)
How to setup a JTAG communication between FPGA board and Matlab?
25 views (last 30 days)
Show older comments
What I am trying is to setup the data capturing interface from the FPGA-board to Matlab. Here I am using the FPGA in the loop wizard to configure and connect an FPGA board via JTAG interface (see below). The FPGA board is fully powered and the FPGA can be connected via JTAG and Quartus without problem. This means the FPGA is fully powered and the clock enabled. The JTAG is connected via USB Blaster II.
![Matlab1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249562/Matlab1.png)
With “Validate” I tried to connect via JTAG the FPGA-board but fails with following error:
![Matlab2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249563/Matlab2.png)
Questions:
- Is this the correct way to simply check the interface (JTAG) to the FPGA?
- Where do I set the JTAG pin numbers in the Matlab GUI?
- Is there any other issue with the setup?
thanks in advance
0 Comments
Answers (1)
Kavya Vuriti
on 25 Nov 2019
Hi,
Refer this for hardware and software requirements for JTAG communication between FPGA board and MATLAB or Simulink. You can try checking if all the software corresponding to USB Blaster II are installed on your system based on the operating system.
Also, you can enter FPGA pin numbers in interfaces and FIL I/O panes on the left side while creating your custom board.
![HIL.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249985/HIL.png)
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!