UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 54381

Xilinx Programming Cables - Platform Cable USB and Parallel Cable IV - Driver install FAQ

Description

This AR gives an overview of how to manuallyinstall Xilinx Programming Cable drivers.

Solution

The Xilinx ISE Design Suite and Vivado installers will attempt to install your cable drivers. Across varying platforms and user configurations there can be problems or failures with the install. This Xilinx Answer gives an overview of how a user can manually install the drivers without re-running the full installation.

On Windows

  1. Disconnect the Xilinx USB cable. Alternatively, you can disabled theUSB 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 may 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 way) 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


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

  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)

  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:
    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 may have issues with multiple cables.
To install libusb, see (Xilinx Answer 29310).


Uninstalling Cable Drivers

On Windows

  1. Navigate to xfndry\HEAD\cust_rtf\bin\ [nt|nt64] or common\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%\system32\drivers\windrvr6.sys"
  7. Delete "%WINDIR%\system32\drivers\xusb*.sys"
  8. Delete "%WINDIR%\system32\drivers\xpc4drvr.sys"

On Linux

  1. Disconnect theUSB 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:

(Xilinx Answer 44397)

On Linux

  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.
AR# 54381
Date Created 02/21/2013
Last Updated 03/07/2013
Status Active
Type General Article
Tools
  • Vivado
  • ISE Design Suite
Boards & Kits
  • Xilinx Parallel Cable IV
  • Platform Cable USB-II
  • Platform Cable USB