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!

Reply

Vivado 2015.2 Cable driver installation problem

Accepted Solution Solved
Observer
Posts: 58
Registered: ‎03-02-2015
Accepted Solution

Vivado 2015.2 Cable driver installation problem

Hi All,

 

I am currently in the process of installing Vivado 2015.2 on to Ubuntu 14.04 LTS. In the Vivado Design Suite User Guide - Release Notes, Installation, and Licensing - UG973 (v2015.1) April 1, 2015 on page 26 under Installing Cable Drivers is states that the cable drivers are not installed automaically in Vivado 2015.1. It then gives the following instruction of how to install them:-

 

Script Location: <Vivado Install
Dir>/data/xicom/cable_drivers/lin64/install_script/install_drivers/
Script Name: install_drivers

 

I followed this instruction but I get the following error:-

 

Installing cable drivers.
Script name = /opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers
HostName = lincoln-H81M-DS2
Current working dir = /home/lincoln
Kernel version = 3.16.0-43-generic.
Arch = x86_64.
Installer version = 2015
/opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers: 44: /opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers: ./install_digilent.sh: not found
/opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers: 46: /opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers: ./setup_pcusb: not found
--real rc=127

Driver installation failed.

Digilent Return code = 127
Xilinx Return code = 1
Return code = 1

 

I have Googled around but have had no luck. Would anyone be able to point me in the right direction to solve this problem.

 

Thanks very much,

 

Lincoln


Accepted Solutions
Moderator
Posts: 5,501
Registered: ‎08-01-2008

Re: Vivado 2015.2 Cable driver installation problem

AR# 59128 Is it possible to (re)install the Xilinx USB/Digilent cable drivers without a full reinstall of Vivado Design Suite?

If the Xilinx USB/Digilent cable driver was not installed when installing Vivado Design Suite or if the Xilinx USB/Digilent cable driver is disabled, is it possible to reinstall the driver without a full reinstallation of Vivado?

Yes, the driver installers are always supplied with the Vivado installation and are located in <Vivado installation dir>\data\xicom\cable_drivers\

In this directory, there are subdirectories for each OS (nt/nt64) or (lin/lin64)
 

For Windows there is an install_drivers_wrapper batch file which needs to be called with the following arguments:

 

in 64-bit Windows:

cd <Vivado install path>\data\xicom\cable_drivers\nt64
install_drivers_wrapper.bat <Vivado install path>\data\xicom\cable_drivers\nt64 C<Vivado install path>\install.log <Vivado install path>\

 

in 32-bit Windows:

cd <Vivado install path>\data\xicom\cable_drivers\nt
install_drivers_wrapper.bat <Vivado install path>\data\xicom\cable_drivers\nt C<Vivado install path>\install.log <Vivado install path>\


For Linux you need to follow the procedure outlined in the readme.txt (<Vivado installation dir>/data/xicom/cable_drivers/lin64/install_script/install_drivers/readme.txt):

1) Disconnect all Xilinx USB cables from the host computer.
2) Open a shell or terminal console.
3) Extract the driver script and its support files to a local drive of the machine where the cable will be used by typing:
tar xzvf install_drivers.tar.gz
The extraction creates a directory named install_drivers in the current directory.

4) Navigate to the install_drivers directory by typing:
cd install_drivers
5) Run the script by typing:
./install_drivers
6) When the installation is complete, reconnect the cable.
 
7) Change permissions on the USB / PC4 driver by typing:
 
chmod 666 /dev/windrvr6
 
Note: By default, access to windrvr6 is restricted to root only.
 

This step grants group and user access to the driver.

However, if you reboot your system, access to the driver will revert back to root-only and you will have to repeat step #7 (you do not have to rerun the installation script).

Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.

View solution in original post


All Replies
Xilinx Employee
Posts: 3,777
Registered: ‎04-16-2012

Re: Vivado 2015.2 Cable driver installation problem

Hi Lincoln,

 

Check these answer records:

 

http://www.xilinx.com/support/answers/54381.html

http://www.xilinx.com/support/answers/29310.html

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
Moderator
Posts: 5,501
Registered: ‎08-01-2008

Re: Vivado 2015.2 Cable driver installation problem

For the Digilent cable, please follow the steps in (http://www.xilinx.com/support/answers/59128.html)

Note: This method will work for the Digilent cable but not for the Xilinx USB cable.


For the Xilinx USB Cable, please follow the steps at the link below.

http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux

Note: this method has been tested with both Vivado and ISE installed on the Ubuntu OS, it has not been tested with only Vivado installed.


Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
Observer
Posts: 58
Registered: ‎03-02-2015

Re: Vivado 2015.2 Cable driver installation problem

Hi Balkrishan, Thanks for the reply. The link you provided (http://www.xilinx.com/support/answers/59128.html) does not link to any information. Thanks.
Observer
Posts: 58
Registered: ‎03-02-2015

Re: Vivado 2015.2 Cable driver installation problem

Hi Vinay,

 

Thanks for the reply.

 

I am following the link given by yourself

 

http://www.xilinx.com/support/answers/54381.html

 

The following is an excerpt from the page:-

 

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"

I tried running "/tools/xint/bin/sudo -l" but I get:-

 

bash: /tools/xint/bin/sudo: No such file or directory

 

When I look in the root directory /tools does not exist.

 

Am I doing something wrong?

 

Thanks very much,

 

Lincoln

 

 

 

Moderator
Posts: 5,501
Registered: ‎08-01-2008

Re: Vivado 2015.2 Cable driver installation problem

AR# 59128 Is it possible to (re)install the Xilinx USB/Digilent cable drivers without a full reinstall of Vivado Design Suite?

If the Xilinx USB/Digilent cable driver was not installed when installing Vivado Design Suite or if the Xilinx USB/Digilent cable driver is disabled, is it possible to reinstall the driver without a full reinstallation of Vivado?

Yes, the driver installers are always supplied with the Vivado installation and are located in <Vivado installation dir>\data\xicom\cable_drivers\

In this directory, there are subdirectories for each OS (nt/nt64) or (lin/lin64)
 

For Windows there is an install_drivers_wrapper batch file which needs to be called with the following arguments:

 

in 64-bit Windows:

cd <Vivado install path>\data\xicom\cable_drivers\nt64
install_drivers_wrapper.bat <Vivado install path>\data\xicom\cable_drivers\nt64 C<Vivado install path>\install.log <Vivado install path>\

 

in 32-bit Windows:

cd <Vivado install path>\data\xicom\cable_drivers\nt
install_drivers_wrapper.bat <Vivado install path>\data\xicom\cable_drivers\nt C<Vivado install path>\install.log <Vivado install path>\


For Linux you need to follow the procedure outlined in the readme.txt (<Vivado installation dir>/data/xicom/cable_drivers/lin64/install_script/install_drivers/readme.txt):

1) Disconnect all Xilinx USB cables from the host computer.
2) Open a shell or terminal console.
3) Extract the driver script and its support files to a local drive of the machine where the cable will be used by typing:
tar xzvf install_drivers.tar.gz
The extraction creates a directory named install_drivers in the current directory.

4) Navigate to the install_drivers directory by typing:
cd install_drivers
5) Run the script by typing:
./install_drivers
6) When the installation is complete, reconnect the cable.
 
7) Change permissions on the USB / PC4 driver by typing:
 
chmod 666 /dev/windrvr6
 
Note: By default, access to windrvr6 is restricted to root only.
 

This step grants group and user access to the driver.

However, if you reboot your system, access to the driver will revert back to root-only and you will have to repeat step #7 (you do not have to rerun the installation script).

Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
Observer
Posts: 58
Registered: ‎03-02-2015

Re: Vivado 2015.2 Cable driver installation problem

Thanks Balkrishan and Visay,

 

I think by navigating to

 

<vivado>/data/xicom/cable_drivers/lin64/install_script/install_drivers

 

directory and then running:-

 

sudo ./install_drivers

 

was successful, it returned:-


Installing cable drivers.
Script name = ./install_drivers
HostName = lincoln-H81M-DS2
Current working dir = /opt/Xilinx/Vivado/2015.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
Kernel version = 3.16.0-43-generic.
Arch = x86_64.
Installer version = 2015
Successfully installed Digilent Cable Drivers
--File /etc/udev/rules.d/52-xilinx-pcusb.rules does not exist.
--File version of /etc/udev/rules.d/52-xilinx-pcusb.rules = 0000.
--Updating rules file.

Digilent Return code = 0
Xilinx Return code = 0
Return code = 0
Driver installation successful.

 

By looking at the return message it seems to have worked.

 

Thanks very much,

 

Lincoln.