Xilinx USB JTAG cable installation
Assuming you have installed Xilinx ISE, this article will guide you on installing Cable Drivers for Xilinx USB JTAB Programmers. If you have problems, please check that you have not done any mistake on the primary installation.
Digilent Xilinx USB JTAG cable
Installation environment
- Fedora 23 (64 bits)
- Linux Kernel 4.2.5
- Xilinx ISE Design Suite 14.7 for Linux
Digilent Adept Runtime x86/x64
Digilent Adept Runtime package is available at Digilent website.
Chose the package according to your Linux OS. If it’s a 32-bit OS, download Adept Runtime x86 Linux. If it’s 64-bit kernel, download Adept Runtime x64 Linux. The downloaded software package is wrapped in format .tar.gz.
Digilent Adept Utilities x86/x64
Digilent Adept Runtime package is available at Digilent website.
Chose the package according to your linux OS. If it’s a 32-bit OS, download Adept Utilities x86 Linux. If it’s 64-bit kernel, download Adept Utilities x64 Linux. The downloaded software package is wrapped in format .tar.gz.
Digilent Plugins x86/x64
Download Digilent Plugin for Xilinx Design Suite if you want to download your bitstream from XPS, ISE or iMPACT directly and debug with SDK or Chipscope. Digilent Plugin is alse available at Digilent website.
Chose the package according to your Linux OS. If it’s a 32-bit OS, download Digilent Plug-in x86 Linux. If it’s 64-bit kernel, download Digilent Plug-in x64 Linux. The downloaded software package is wrapped in format .tar.gz.
Installation
First of all, decompress all packages.
$ tar xzf digilent.adept.runtime_<version>.tar.gz
$ tar xzf digilent.adept.utilities_<version>.tar.gz
$ tar xzf libCseDigilent_<version>.tar.gz
Install Digilent Adept Runtime
If you are installing on kernel version greater than 3.0, you first need to add the following lines after line 209
209 cprocUdev = $(ps -e | grep -i -c udevd)
210
211 if [ "${szVmjr}" = "3" ]
212 then
213 if (( $cprocUdev ))
214 then
215 let fUseUdev = 1
216 fi
217 fi
NOTE
You can retrieve your kernel version with
$ uname -r
After the verification above, run the installation script
$ sudo ./install.sh
Copy the rule file 52-digilent-usb.rules to the udev directory and restart udev
$ sudo cp 52-digilent-usb.rules /etc/udev/rules.d/
$ sudo udevadm control --reload
Install Digilent Adept Utilities
Enter directory digilent.adept.utilities_<version>-<platform>, and run command the install script. This time we will keep all default locations unchanged
$ sudo ./install.sh
Install Digilent Plugin for Xilinx Design Suites
Enter directory libCseDigilent_2.0.5-<platform>. Move to the directory of the Xilinx DS version installed on your computer. There is a PDF under the folder named: Digilent_Plug-in_Xilinx_<version>.pdf. The document tells exactly how to install the Digilent Plugin and how to use it. To install plugin is quite easy, all you need to do is copy the libCseDigilent.so and libCseDigilent.xml Digilent inside plugins folder. Remember to choose the right <lin_version> (lib or lib64 depending of your architecture)
$ sudo cp * <Xilinx_DS_Path>/ISE/lib/<lin_version>/plugins/Digilent/libCseDigilent/
If there is no dir Digilent under <Xilinx_DS_Path>/ISE/lib/<lin_version>/plugins, just make a new dir
$ sudo mkdir <Xilinx_DS_Path>/ISE/lib/<lin_version>/plugins/Digilent
Testing
Connect your Digilent board to your PC, and check whether Adept utilities can recognize your board. All you need is to run the command djtgcfg and see whether your boards pop up
$ djtgcfg enum
See if any FPGA can be found on your JTAG chain.
For now on I believe that you can walk by yourself, and begin to program your device.
Reference
This guide was adapted from Gentoo Linux Wiki article “Xilinx USB JTAG Programmers”.