I recently purchased a Digilent XUP-USB-JTAG (Rev G) programmer to use with Xilinx Vitis Rel 2022.1 so I can single-step and debug a Zynq-7000 custom board. My installation is on Linux (Ubuntu 18.04) and I ran the cable driver installer that comes with Vitis that installs the necessary udev rules for this device. I reloaded the udev rules via:
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
The 'lsusb' program detects the device:
$ lsusb
Bus 005 Device 070: ID 03fd:000d Xilinx, Inc.
So the rules defined in '52-xilinx-pcusb.rules' run when the device is inserted.
The following link indicates that there is an "extra" command that needs to be run when the device is inserted to load the USB device with firmware:
The program that loads the device is 'fxload' which is a Cypress Semiconductor utility used with their EZUSB FX/FX2 chips. The hex file 'usb_emb.hex' is provided with the Vitis release in the following installation directory
Vitis/2022.1/data/xicom/xusb_emb.hex
Unfortunately, the Rev. G of the XUP-USB-JTAG programmer uses the FX3 chipset which is incompatible with the FX2 firmware (my version of fxload won't even load it). As I understand it, the FX3 binaries are in a proprietary format that differs from the older "hex" files. When I run Vitis and try to attach to my target the XUP is not detected.
So my questions become:
* How do I get my XUP-USB-JTAG programmer to work in Vitis under Linux?
* Where do I get the updated FX3 compatible firmware which (apparently) Vitis needs in order to recognize the programmer?
* Has anyone managed to get this device working with Linux?
* If it's not supported with Vitis on Linux, which low-cost Diligent device would and allow me to use it in Vitis for JTAG application development?
Edited by JColvin made the post visible rather than a in a file
Question
gschmott
I recently purchased a Digilent XUP-USB-JTAG (Rev G) programmer to use with Xilinx Vitis Rel 2022.1 so I can single-step and debug a Zynq-7000 custom board. My installation is on Linux (Ubuntu 18.04) and I ran the cable driver installer that comes with Vitis that installs the necessary udev rules for this device. I reloaded the udev rules via:
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
The 'lsusb' program detects the device:
$ lsusb
Bus 005 Device 070: ID 03fd:000d Xilinx, Inc.
So the rules defined in '52-xilinx-pcusb.rules' run when the device is inserted.
The following link indicates that there is an "extra" command that needs to be run when the device is inserted to load the USB device with firmware:
https://forum.digilent.com/topic/13275-xup-usb-jtag-programmer/#comment-40008
Specifically 'xusb_emb.hex' for my product ID:
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $TEMPNODE"
The program that loads the device is 'fxload' which is a Cypress Semiconductor utility used with their EZUSB FX/FX2 chips. The hex file 'usb_emb.hex' is provided with the Vitis release in the following installation directory
Vitis/2022.1/data/xicom/xusb_emb.hex
Unfortunately, the Rev. G of the XUP-USB-JTAG programmer uses the FX3 chipset which is incompatible with the FX2 firmware (my version of fxload won't even load it). As I understand it, the FX3 binaries are in a proprietary format that differs from the older "hex" files. When I run Vitis and try to attach to my target the XUP is not detected.
So my questions become:
* How do I get my XUP-USB-JTAG programmer to work in Vitis under Linux?
Edited by JColvin* Where do I get the updated FX3 compatible firmware which (apparently) Vitis needs in order to recognize the programmer?
* Has anyone managed to get this device working with Linux?
* If it's not supported with Vitis on Linux, which low-cost Diligent device would and allow me to use it in Vitis for JTAG application development?
made the post visible rather than a in a file
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now