Page 1 of 1

JTAG Connection (again)

Posted: Mon Feb 18, 2019 6:49 pm
by tzw
Hey guys,

I would like to program the my Stemlab 125-14 v.1.0 using the JTAG connector on the board, so I can do it directly from Vivado (instead of doing it over ssh) and also debug my designs using the Integrated logic analyzer of Vivado.

I bought a Digilent JTAG-HS3 USB cable:
https://reference.digilentinc.com/_medi ... hs3_rm.pdf

This cable unfortunately does not really fit on the pins on the board. Therefore I would like to solder a little adapter.

I've been browsing the forum and wiki now to find out, which JTAG pins on the board are which but cannot find any specification. Also in the development schematics it doesn't say anything about which JTAG pin in the schematic corresponds to which physical pin on the board
https://redpitaya.readthedocs.io/en/lat ... /shem.html

If someone could help me out with the correct order of the JTAG pins on the board, I would appreciate it very much. Thx

Re: JTAG Connection (again)

Posted: Mon Feb 18, 2019 7:09 pm
by tzw
Solved by looking at the backside of the board :)

Re: JTAG Connection (again)

Posted: Tue Feb 19, 2019 5:28 pm
by tzw
Follow up question:

Using my adapter together with the Digilent JTAG-HS3 Cable I try to program the Red Pitaya in Vivado 2015.4.
The Vivado Hardware Manager realizes that the cable is attached as hardware target but I I get the following error when trying to open the hardware target:

ERROR: [Labtools 27-2269] No devices detected on target localhost:3121/xilinx_tcf/Digilent/210299A888F9.
Check cable connectivity and that the target board is powered up then
use the disconnect_hw_server and connect_hw_server to re-register this hardware target.

Help would be much appreciated.

Re: JTAG Connection (again)

Posted: Fri Mar 08, 2019 11:06 am
by tzw
PROBLEM SOLVED: Using a Xilinx Platform USB cable 2 did the Job for me.
https://www.xilinx.com/products/boards- ... -ii-g.html

After reinstalling the cable drivers as described in
https://www.xilinx.com/support/answers/59128.html
I can connect to the Red Pitaya from Vivade 2018.2 Hardware Manager on Ubuntu 18.04

Also change the ownership of the device to the current user using

Code: Select all

$chown user:group /dev/bus/usb/<bus_number>/<device_number>
to be able to connect to it in Vivado.