Usb Jtag Cable Drivers

How to make usb jtag cable

Solution

The Xilinx ISE Design Suite installer will attempt to install your cable drivers. Across varying platforms and user configurations there can be problems or failures with the install.

Initially the XUP USB JTAG cable would show up in the device manager under 'Programming cables' as a 'Xilinx Embedded Platform USB Firmware Loader' and would not be found by the Vivado Hardware Manager. I had to right click on “Xilinx Embedded Platform USB Firmware Loader” in the device manager and click “Uinstall”.

This Xilinx Answer gives an overview of how a user can manually install the drivers without re-running the full installation.

Note: For similar Vivado related install/uninstall procedures see Vivado Design Suite User Guide (UG973).

ISE:

Drivers

Plug the USB-Blaster download cable into your PC. The Found New Hardware dialog box appears. Select Locate and install driver software (recommended). Select Don't search online. When you are prompted to Insert the disc that came with your USB-Blaster, select I don’t have the disc. Show me other options. Select Browse my computer for driver software (advanced) when you see the Windows couldn’t find driver software for your device dialog box. 14-way cable 7614-6002 (product of 3M Co., Ltd.) and 2514-6002 (product of 3M Limited) PC Interface: USB 2.0, full speed and high speed: Target board connection: Via attached user I/F cable (Connection signals vary by the target MCU type.) Power supply: Up to 200mA (3.3V or 5V) Power voltage: 1.8V to 5.5V (depending on the target MCU. See if any FPGA can be found on your JTAG chain. For now on I belive that you can walk by yourself, and begin to program your device. Xilinx XUP USB JTAG cable. These drivers and method of using them is verified with ISE 14.5 on Gentoo 64bit. Drivers provided with ISE installation don't work with Linux system. Is powered directly over the USB cable. The second connector is the standard 10-pin JTAG interface used by all MAXQ microcontroller EV kits, allowing the adapter to be connected to another MAXQ microcontroller using a 2x5-pin header and 10-pin ribbon cable. The driver software can be downloaded at.

On Windows

  1. Disconnect the Xilinx USB cable. Alternatively, you can disabled the USB cable in the device manager first then re-enable them in step 5; in this case, you will not even need to reboot.
  2. Navigate to <Xilinx install>bin [nt|nt64] or <Xilinx install>[nt|nt64] in an installed area.
  3. Run wdreg -inf windrvr6.inf install
  4. Run wdreg -inf xusbdrvr.inf install
  5. Connect the Xilinx USB cable.

Note:
You might need to run the Command Prompt in Administrator mode


On Linux

There are two ways of installing cable drivers on Linux.
The first one is with limited sudo access (new method) and the second is with sudo -s access.


Limited sudo Access

To get sudo access on a machine, file a helpdesk ticket requesting sudo access to install cable drivers.
You can check which commands can be run by running '/tools/xint/bin/sudo -l'.
To install cable drivers:
  1. Go to<Xilinx install>/bin/[lin|lin64] or <Xilinx install>/bin/[lin|lin64] in an installed area.
  2. Copy the install_script directory to /tmp.
  3. Run '/tools/xint/bin/sudo /tmp/install_script/install_drivers/install_drivers'
  4. Run '/tools/xint/bin/sudo chmod 666 /dev/windrvr6'


Full sudo -s access

  1. Run sudo -s
  2. Go to<Xilinx install>/bin/[lin|lin64] or common/bin/[lin|lin64] in an installed area.
  3. Copy the install_script directory to /opt.
  4. Run './install_drivers' in /opt/install_script/install_drivers.
  5. Add windrvr6 read/write access by running 'chmod 666 /dev/windrvr6'.


Additional steps to make chmod permanent on reboot (Red Hat 4)

  1. Open this file with your favorite text editor (requires sudo access): /etc/udev/permissions.d/50-udev.permissions
  2. Add the line to the end of the file:

windrvr6:root:root:0666

Download mediachance multimedia builder v4 9 8. Additional steps to make chmod permanent on reboot (Red Hat 5+)

Usb
  1. Open this file with your favorite text editor (requires sudo access): /etc/rc.local (or /etc/rc.d/rc.local)
  2. Add the line to the end of the file:

chmod 666 /dev/xpc4* chmod 666 /dev/windrvr6

Installing fxload when driver complains about it missing (Red Hat 5)

Usb jtag cable drivers download
  1. Download the correct rpm here, one is for 32-bit and one is for 64-bit: http://packages.atrpms.net/dist/el5/fxload/
  2. Install the rpm using root access by calling:
Jtag

rpm -i <filename>.rpm

Installing libusb

Some builds of Linux are missing libusb, which is used for the Xilinx USB cables.

If the libusb is not available, it defaults to using the Jungo drivers, which might have issues with multiple cables.



Uninstalling Cable Drivers

On Windows

  1. Navigate to <Xilinx install>bin [nt|nt64] in an installed area.
  2. Open cmd console.
  3. Run 'wdreg -inf %cd%windrvr6.inf uninstall'
  4. Run 'wdreg -inf %cd%xusbdrvr.inf uninstall'
  5. Run 'net stop XilinxPC4Driver'
  6. Delete '%WINDIR%system32driverswindrvr6.sys'
  7. Delete '%WINDIR%system32driversxusb*.sys'
  8. Delete '%WINDIR%system32driversxpc4drvr.sys'


On Linux

  1. Disconnect the USB cable. Close applications that use the cable.
  2. Open a cmd console.
  3. Navigate to <Xilinx install>/bin/[lin|lin64] or common/bin/[lin|lin64]/install_script/install_drivers in an installed area.
  4. Run ./install_drivers clean
  5. Follow the additional instruction printed in the log.


Debugging Cable Drivers

General

Check the install log in the Xinfo report.

On Windows

For Windows 7 installation failures see:

Usb Jtag Cable Drivers Downloads

On Linux

Usb Jtag Cable Drivers Free

  1. Try the command: /sbin/lsusb
  2. Read the log: /var/log/messages
  3. Check the Xinfo for Exit code -
    • Returns 0 if fxload is not found.
    • Returns 1 if driver directory is not accessible.
    • Returns 2 if user does not have root privileges.
  4. On some Linux distributions, installation fails to create the firmware in the correct location (/usr/share/x.hex) as well as the udev rule (/etc/udev/rules.d/xusbdfwu.rules).
    Copy these files into the correct locations from a good install. The xusbdfwu.rules file uses a shell variable, $TEMPNODE. This name may not work on all distributions.
    All references to $TEMPNODE should be replaced with the lowercase version, $tempnode. Then restart udev and the cable should be recognized.