usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Bricked X310

PR
Philipp Rudnik
Mon, Nov 14, 2016 7:46 AM

Hi!

I have a bricked X310, caused by loss of connection during the FPGA image
update. I got the iMPACT tool from xilinx and the fpga jtag programmer
script (UHD tools).  I tried connecting it via the JTAG-USB connector to my
PC and ran:
sudo -s.....
root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh
--impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
--fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

The Output is: (please apologize any german language)

---======
Copyright 2014 Ettus Research LLC

JTAG Programming Tool

---======

==== Generating impact batch file xR4WcYhm.impact.cmd...
==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit
into the FPGA...
WARNING: de_DE is not supported as a language.  Using usenglish.
Release 14.3 - iMPACT P.40xd (lin64)
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
Preference Table
Name                Setting
StartupClock        Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode      False
UseHighz            False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel        Detailed
svfUseTime          false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set to
default 6 MHz regardless of explicit arguments supplied for setting the baud
rates
If you are using the Platform Cable USB, please refer to the USB Cable
Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
INFO:Cse - The fxload application is not installed. This application is
required
when using the Platform Cable USB. This warning should be ignored if you
are
using the Parallel Cable III or Parallel Cable IV. Please download and
install the fxload-2002_04_11 package. Note that root access is required
to
perform the installation.
Connecting to cable (Parallel Port - parport0).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport2).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport3).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Cable autodetection failed.
ERROR: Programming failed. Check output above for hints. Maybe you forgot
to use sudo?

I followed the instructions by xilinx AR and ran:
root@sputnik-Schleppi:/opt/install_script/install_drivers#
./install_drivers

which gave me the following output:

--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = sputnik-Schleppi
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 4.4.0-45-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
--Updating xusbdfwu.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
--Updating xusb_xlp.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
--Updating xusb_emb.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
--Updating xusb_xpr.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
--Updating xusb_xup.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
--Updating xusb_xp2.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
--Updating xusb_xse.hex file.
cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
--Adding Product ID 0007 to the usermap.
--Adding Product ID 0009 to the usermap.
--Adding Product ID 000d to the usermap.
--Adding Product ID 000f to the usermap.
--Adding Product ID 0013 to the usermap.
--Adding Product ID 0015 to the usermap.
--Adding Product ID 0008 to the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does
not exist.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht
gefunden
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory...
/opt/install_script/install_drivers/linux_drivers/windriver64
checking for linux kernel source... found at
/lib/modules/4.4.0-45-generic/build
not found
configure.wd: error: please install the kernel source or specify alternate
location
make -f makefile.wd clean
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:28: die Regel für Ziel „clean“ scheiterte
make: *** [clean] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the
root user only
and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

I also tried some code fixes, shown in this forum, which helped with the
xpc4drvr, but not with the windrvr6:
https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544

I hope somebody can help me out with that problem,

Thanks,

  • Philipp
Hi! I have a bricked X310, caused by loss of connection during the FPGA image update. I got the iMPACT tool from xilinx and the fpga jtag programmer script (UHD tools). I tried connecting it via the JTAG-USB connector to my PC and ran: sudo -s..... root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit The Output is: (please apologize any german language) ======================================= Copyright 2014 Ettus Research LLC JTAG Programming Tool ======================================= ==== Generating impact batch file xR4WcYhm.impact.cmd... ==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA... WARNING: de_DE is not supported as a language. Using usenglish. Release 14.3 - iMPACT P.40xd (lin64) Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. Preference Table Name Setting StartupClock Auto_Correction AutoSignature False KeepSVF False ConcurrentMode False UseHighz False ConfigOnFailure Stop UserLevel Novice MessageLevel Detailed svfUseTime false SpiByteSwap Auto_Correction AutoInfer false SvfPlayDisplayComments false AutoDetecting cable. Please wait. *** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates If you are using the Platform Cable USB, please refer to the USB Cable Installation Guide (UG344) to install the libusb package. Connecting to cable (Usb Port - USB21). Checking cable driver. Linux release = 4.4.0-45-generic. WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Cable connection failed. INFO:Cse - The fxload application is not installed. This application is required when using the Platform Cable USB. This warning should be ignored if you are using the Parallel Cable III or Parallel Cable IV. Please download and install the fxload-2002_04_11 package. Note that root access is required to perform the installation. Connecting to cable (Parallel Port - parport0). Linux release = 4.4.0-45-generic. WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Cable connection failed. Connecting to cable (Parallel Port - parport1). Linux release = 4.4.0-45-generic. WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Cable connection failed. Connecting to cable (Parallel Port - parport2). Linux release = 4.4.0-45-generic. WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Cable connection failed. Connecting to cable (Parallel Port - parport3). Linux release = 4.4.0-45-generic. WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648. Cable connection failed. Cable autodetection failed. ERROR: Programming failed. Check output above for hints. Maybe you forgot to use sudo? I followed the instructions by xilinx AR and ran: root@sputnik-Schleppi:/opt/install_script/install_drivers# ./install_drivers which gave me the following output: --Install log = ./install_drivers --Installing cable drivers. --Driver versions in this package: windrvr=1301, xpc4drvr=1041 --Script name = ./install_drivers --HostName = sputnik-Schleppi --Current working dir = /opt/install_script/install_drivers --Script location = /opt/install_script/install_drivers --No script argument. --Kernel version = 4.4.0-45-generic. --Arch = x86_64. --Installer version = 1100 --Unsetting ARCH environment variable. --User has root permission. --File /lib/modules/misc/install_windrvr6 does not exist. --Installing USB drivers------------------------------------------ --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. --Updating xusbdfwu.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. --Updating xusb_xlp.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. --Updating xusb_emb.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. --Updating xusb_xpr.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. --Updating xusb_xup.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. --Updating xusb_xp2.hex file. --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. --Updating xusb_xse.hex file. cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden --Adding Product ID 0007 to the usermap. --Adding Product ID 0009 to the usermap. --Adding Product ID 000d to the usermap. --Adding Product ID 000f to the usermap. --Adding Product ID 0013 to the usermap. --Adding Product ID 0015 to the usermap. --Adding Product ID 0008 to the usermap. --Installing windrvr6--------------------------------------------- --Checking version. --File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does not exist. --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. --Setting source version to 1301. --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the destination file. USE_KBUILD = no hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht gefunden compilation terminated. checking for cpu architecture... x86_64 checking for WinDriver root directory... /opt/install_script/install_drivers/linux_drivers/windriver64 checking for linux kernel source... found at /lib/modules/4.4.0-45-generic/build not found configure.wd: error: please install the kernel source or specify alternate location make -f makefile.wd clean make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird betreten make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird verlassen makefile:28: die Regel für Ziel „clean“ scheiterte make: *** [clean] Fehler 2 make -f makefile.wd make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird betreten make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird verlassen makefile:21: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 make -f makefile.wd make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird betreten make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ wird verlassen makefile:21: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 --make windrvr install rc= 2 --install_windrvr6 rc = 2 --Module windrvr6 is not running. --Module xpc4drvr is not running. --Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only and must be changed to allow access to other users. --real rc=2 --Driver installation failed. --Digilent Return code = 0 --Xilinx Return code = 1 --Return code = 1 I also tried some code fixes, shown in this forum, which helped with the xpc4drvr, but not with the windrvr6: https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544 I hope somebody can help me out with that problem, Thanks, - Philipp
MM
Marcus Müller
Mon, Nov 14, 2016 11:43 AM

Hi Philipp,

sorry to hear you've got trouble!

So, we generally recommend impact because it's less Gigabytes to
install... but in this case:

  1. Get the free Vivado 2015.4 version.
  2. install it, by default it ends up in /opt/Xilinx
  3. sudo
    /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_digilent.sh
  4. sudo udevadm control --reload  ## To reload the new udev rules that
    tell your linux system to make the JTAG adapter available to normal
    users
  5. run Vivado, go to hardware manager, connect your X310 and power it up
  6. Tools->Autoconnect
  7. Right-click on the FPGA in the hardware "list", program device,
    select the appropriate .bit from UHD (typically:
    /usr/share/uhd/images/usrp_x310_fpga_HG.bit)

Hope that helps! Notice that we also have a script so you don't have to
actually start Vivado in graphical mode, but you'd have to checkout
UHD's FPGA source code and set up a few paths for that to work (and
still would have to download & install Vivado), so I don't think that
would be overly much of a simplification for you. In any case,
especially if future readers wonder: Instead of doing step 5ff above,
you'd "source /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh"
and run "viv_jtag_program x300_image_file.bit".

Best regards,

Marcus

On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote:

Hi!

I have a bricked X310, caused by loss of connection during the FPGA
image update. I got the iMPACT tool from xilinx and the fpga jtag
programmer script (UHD tools).  I tried connecting it via the JTAG-USB
connector to my PC and ran:
sudo -s.....
root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh
--impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
--fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

The Output is: (please apologize any german language)

---======
Copyright 2014 Ettus Research LLC

JTAG Programming Tool

---======

==== Generating impact batch file xR4WcYhm.impact.cmd...
==== Running impact -- loading
/usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA...
WARNING: de_DE is not supported as a language.  Using usenglish.
Release 14.3 - iMPACT P.40xd (lin64)
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
Preference Table
Name                Setting
StartupClock        Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode      False
UseHighz            False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel        Detailed
svfUseTime          false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is
set to
default 6 MHz regardless of explicit arguments supplied for setting
the baud
rates
If you are using the Platform Cable USB, please refer to the USB Cable
Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the
cable
drivers. See Answer Record 22648.
Cable connection failed.
INFO:Cse - The fxload application is not installed. This application
is required
when using the Platform Cable USB. This warning should be ignored
if you are
using the Parallel Cable III or Parallel Cable IV. Please download and
install the fxload-2002_04_11 package. Note that root access is
required to
perform the installation.
Connecting to cable (Parallel Port - parport0).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the
cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the
cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport2).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the
cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport3).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the
cable
drivers. See Answer Record 22648.
Cable connection failed.
Cable autodetection failed.
ERROR: Programming failed. Check output above for hints. Maybe you
forgot to use sudo?

I followed the instructions by xilinx AR and ran:
root@sputnik-Schleppi:/opt/install_script/install_drivers#
./install_drivers

which gave me the following output:

--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = sputnik-Schleppi
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 4.4.0-45-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
--Updating xusbdfwu.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
--Updating xusb_xlp.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
--Updating xusb_emb.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
--Updating xusb_xpr.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
--Updating xusb_xup.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
--Updating xusb_xp2.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
--Updating xusb_xse.hex file.
cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
--Adding Product ID 0007 to the usermap.
--Adding Product ID 0009 to the usermap.
--Adding Product ID 000d to the usermap.
--Adding Product ID 000f to the usermap.
--Adding Product ID 0013 to the usermap.
--Adding Product ID 0015 to the usermap.
--Adding Product ID 0008 to the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko
does not exist.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis
nicht gefunden
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory...
/opt/install_script/install_drivers/linux_drivers/windriver64
checking for linux kernel source... found at
/lib/modules/4.4.0-45-generic/build
not found
configure.wd: error: please install the kernel source or specify
alternate location
make -f makefile.wd clean
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:28: die Regel für Ziel „clean“ scheiterte
make: *** [clean] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled
for the root user only
and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

I also tried some code fixes, shown in this forum, which helped with
the xpc4drvr, but not with the windrvr6:
https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544

I hope somebody can help me out with that problem,

Thanks,

  • Philipp

USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Philipp, sorry to hear you've got trouble! So, we generally recommend impact because it's less Gigabytes to install... but in this case: 1. Get the free Vivado 2015.4 version. 2. install it, by default it ends up in /opt/Xilinx 3. sudo /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_digilent.sh 4. sudo udevadm control --reload ## To reload the new udev rules that tell your linux system to make the JTAG adapter available to normal users 5. run Vivado, go to hardware manager, connect your X310 and power it up 6. Tools->Autoconnect 7. Right-click on the FPGA in the hardware "list", program device, select the appropriate .bit from UHD (typically: /usr/share/uhd/images/usrp_x310_fpga_HG.bit) Hope that helps! Notice that we also have a script so you don't have to actually start Vivado in graphical mode, but you'd have to checkout UHD's FPGA source code and set up a few paths for that to work (and still would have to download & install Vivado), so I don't think that would be overly much of a simplification for you. In any case, especially if future readers wonder: Instead of doing step 5ff above, you'd "source /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run "viv_jtag_program x300_image_file.bit". Best regards, Marcus On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote: > Hi! > > I have a bricked X310, caused by loss of connection during the FPGA > image update. I got the iMPACT tool from xilinx and the fpga jtag > programmer script (UHD tools). I tried connecting it via the JTAG-USB > connector to my PC and ran: > sudo -s..... > root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh > --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact > --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit > > The Output is: (please apologize any german language) > ======================================= > Copyright 2014 Ettus Research LLC > > JTAG Programming Tool > ======================================= > > ==== Generating impact batch file xR4WcYhm.impact.cmd... > ==== Running impact -- loading > /usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA... > WARNING: de_DE is not supported as a language. Using usenglish. > Release 14.3 - iMPACT P.40xd (lin64) > Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. > Preference Table > Name Setting > StartupClock Auto_Correction > AutoSignature False > KeepSVF False > ConcurrentMode False > UseHighz False > ConfigOnFailure Stop > UserLevel Novice > MessageLevel Detailed > svfUseTime false > SpiByteSwap Auto_Correction > AutoInfer false > SvfPlayDisplayComments false > AutoDetecting cable. Please wait. > *** WARNING ***: When port is set to auto detect mode, cable speed is > set to > default 6 MHz regardless of explicit arguments supplied for setting > the baud > rates > If you are using the Platform Cable USB, please refer to the USB Cable > Installation Guide (UG344) to install the libusb package. > Connecting to cable (Usb Port - USB21). > Checking cable driver. > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the > cable > drivers. See Answer Record 22648. > Cable connection failed. > INFO:Cse - The fxload application is not installed. This application > is required > when using the Platform Cable USB. This warning should be ignored > if you are > using the Parallel Cable III or Parallel Cable IV. Please download and > install the fxload-2002_04_11 package. Note that root access is > required to > perform the installation. > Connecting to cable (Parallel Port - parport0). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the > cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport1). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the > cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport2). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the > cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport3). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the > cable > drivers. See Answer Record 22648. > Cable connection failed. > Cable autodetection failed. > ERROR: Programming failed. Check output above for hints. Maybe you > forgot to use sudo? > > > I followed the instructions by xilinx AR and ran: > root@sputnik-Schleppi:/opt/install_script/install_drivers# > ./install_drivers > > which gave me the following output: > > --Install log = ./install_drivers > --Installing cable drivers. > --Driver versions in this package: windrvr=1301, xpc4drvr=1041 > --Script name = ./install_drivers > --HostName = sputnik-Schleppi > --Current working dir = /opt/install_script/install_drivers > --Script location = /opt/install_script/install_drivers > --No script argument. > --Kernel version = 4.4.0-45-generic. > --Arch = x86_64. > --Installer version = 1100 > --Unsetting ARCH environment variable. > --User has root permission. > --File /lib/modules/misc/install_windrvr6 does not exist. > --Installing USB drivers------------------------------------------ > --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. > --Updating xusbdfwu.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. > --Updating xusb_xlp.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. > --Updating xusb_emb.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. > --Updating xusb_xpr.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. > --Updating xusb_xup.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. > --Updating xusb_xp2.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. > --Updating xusb_xse.hex file. > cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden > --Adding Product ID 0007 to the usermap. > --Adding Product ID 0009 to the usermap. > --Adding Product ID 000d to the usermap. > --Adding Product ID 000f to the usermap. > --Adding Product ID 0013 to the usermap. > --Adding Product ID 0015 to the usermap. > --Adding Product ID 0008 to the usermap. > --Installing windrvr6--------------------------------------------- > --Checking version. > --File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko > does not exist. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. > --Setting source version to 1301. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the > destination file. > USE_KBUILD = no > hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis > nicht gefunden > compilation terminated. > checking for cpu architecture... x86_64 > checking for WinDriver root directory... > /opt/install_script/install_drivers/linux_drivers/windriver64 > checking for linux kernel source... found at > /lib/modules/4.4.0-45-generic/build > not found > configure.wd: error: please install the kernel source or specify > alternate location > make -f makefile.wd clean > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:28: die Regel für Ziel „clean“ scheiterte > make: *** [clean] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > --make windrvr install rc= 2 > --install_windrvr6 rc = 2 > --Module windrvr6 is not running. > --Module xpc4drvr is not running. > --Note: By default, the file permission of /dev/windrvr6 is enabled > for the root user only > and must be changed to allow access to other users. > > --real rc=2 > > --Driver installation failed. > > --Digilent Return code = 0 > --Xilinx Return code = 1 > --Return code = 1 > > I also tried some code fixes, shown in this forum, which helped with > the xpc4drvr, but not with the windrvr6: > https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544 > > I hope somebody can help me out with that problem, > > Thanks, > - Philipp > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
PR
Philipp Rudnik
Wed, Nov 16, 2016 8:17 AM

Hi Marcus!

That was quite easy, thanks a lot!

Regards,
Philipp

2016-11-14 12:43 GMT+01:00 Marcus Müller via USRP-users <
usrp-users@lists.ettus.com>:

Hi Philipp,

sorry to hear you've got trouble!

So, we generally recommend impact because it's less Gigabytes to
install... but in this case:

1. Get the free Vivado 2015.4 version.
2. install it, by default it ends up in /opt/Xilinx
3. sudo /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/
lin64/install_script/install_drivers/install_digilent.sh
4. sudo udevadm control --reload  ## To reload the new udev rules that
tell your linux system to make the JTAG adapter available to normal users
5. run Vivado, go to hardware manager, connect your X310 and power it
up
6. Tools->Autoconnect
7. Right-click on the FPGA in the hardware "list", program device,
select the appropriate .bit from UHD (typically: /usr/share/uhd/images/usrp_
x310_fpga_HG.bit)

Hope that helps! Notice that we also have a script so you don't have to
actually start Vivado in graphical mode, but you'd have to checkout UHD's
FPGA source code and set up a few paths for that to work (and still would
have to download & install Vivado), so I don't think that would be overly
much of a simplification for you. In any case, especially if future readers
wonder: Instead of doing step 5ff above, you'd "source
/path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run
"viv_jtag_program x300_image_file.bit".

Best regards,

Marcus
On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote:

Hi!

I have a bricked X310, caused by loss of connection during the FPGA image
update. I got the iMPACT tool from xilinx and the fpga jtag programmer
script (UHD tools).  I tried connecting it via the JTAG-USB connector to my
PC and ran:
sudo -s.....
root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh
--impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
--fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

The Output is: (please apologize any german language)

---======
Copyright 2014 Ettus Research LLC

JTAG Programming Tool

---======

==== Generating impact batch file xR4WcYhm.impact.cmd...
==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit
into the FPGA...
WARNING: de_DE is not supported as a language.  Using usenglish.
Release 14.3 - iMPACT P.40xd (lin64)
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
Preference Table
Name                Setting
StartupClock        Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode      False
UseHighz            False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel        Detailed
svfUseTime          false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set
to
default 6 MHz regardless of explicit arguments supplied for setting the
baud
rates
If you are using the Platform Cable USB, please refer to the USB Cable
Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
INFO:Cse - The fxload application is not installed. This application is
required
when using the Platform Cable USB. This warning should be ignored if
you are
using the Parallel Cable III or Parallel Cable IV. Please download and
install the fxload-2002_04_11 package. Note that root access is
required to
perform the installation.
Connecting to cable (Parallel Port - parport0).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport2).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport3).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Cable autodetection failed.
ERROR: Programming failed. Check output above for hints. Maybe you forgot
to use sudo?

I followed the instructions by xilinx AR and ran:
root@sputnik-Schleppi:/opt/install_script/install_drivers#
./install_drivers

which gave me the following output:

--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = sputnik-Schleppi
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 4.4.0-45-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
--Updating xusbdfwu.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
--Updating xusb_xlp.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
--Updating xusb_emb.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
--Updating xusb_xpr.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
--Updating xusb_xup.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
--Updating xusb_xp2.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
--Updating xusb_xse.hex file.
cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
--Adding Product ID 0007 to the usermap.
--Adding Product ID 0009 to the usermap.
--Adding Product ID 000d to the usermap.
--Adding Product ID 000f to the usermap.
--Adding Product ID 0013 to the usermap.
--Adding Product ID 0015 to the usermap.
--Adding Product ID 0008 to the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does
not exist.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht
gefunden
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory... /opt/install_script/install_
drivers/linux_drivers/windriver64
checking for linux kernel source... found at /lib/modules/4.4.0-45-generic/
build
not found
configure.wd: error: please install the kernel source or specify alternate
location
make -f makefile.wd clean
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:28: die Regel für Ziel „clean“ scheiterte
make: *** [clean] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for
the root user only
and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

I also tried some code fixes, shown in this forum, which helped with the
xpc4drvr, but not with the windrvr6: https://forums.xilinx.com/t5/
Installation-and-Licensing/ISE14-3-device-driver-intall-
failed-on-Ubuntu-12-04/td-p/272544

I hope somebody can help me out with that problem,

Thanks,

  • Philipp

USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Marcus! That was quite easy, thanks a lot! Regards, Philipp 2016-11-14 12:43 GMT+01:00 Marcus Müller via USRP-users < usrp-users@lists.ettus.com>: > Hi Philipp, > > sorry to hear you've got trouble! > > So, we generally recommend impact because it's less Gigabytes to > install... but in this case: > > 1. Get the free Vivado 2015.4 version. > 2. install it, by default it ends up in /opt/Xilinx > 3. sudo /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/ > lin64/install_script/install_drivers/install_digilent.sh > 4. sudo udevadm control --reload ## To reload the new udev rules that > tell your linux system to make the JTAG adapter available to normal users > 5. run Vivado, go to hardware manager, connect your X310 and power it > up > 6. Tools->Autoconnect > 7. Right-click on the FPGA in the hardware "list", program device, > select the appropriate .bit from UHD (typically: /usr/share/uhd/images/usrp_ > x310_fpga_HG.bit) > > Hope that helps! Notice that we also have a script so you don't have to > actually start Vivado in graphical mode, but you'd have to checkout UHD's > FPGA source code and set up a few paths for that to work (and still would > have to download & install Vivado), so I don't think that would be overly > much of a simplification for you. In any case, especially if future readers > wonder: Instead of doing step 5ff above, you'd "source > /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run > "viv_jtag_program x300_image_file.bit". > > Best regards, > > Marcus > On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote: > > Hi! > > I have a bricked X310, caused by loss of connection during the FPGA image > update. I got the iMPACT tool from xilinx and the fpga jtag programmer > script (UHD tools). I tried connecting it via the JTAG-USB connector to my > PC and ran: > sudo -s..... > root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh > --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact > --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit > > The Output is: (please apologize any german language) > ======================================= > Copyright 2014 Ettus Research LLC > > JTAG Programming Tool > ======================================= > > ==== Generating impact batch file xR4WcYhm.impact.cmd... > ==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit > into the FPGA... > WARNING: de_DE is not supported as a language. Using usenglish. > Release 14.3 - iMPACT P.40xd (lin64) > Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. > Preference Table > Name Setting > StartupClock Auto_Correction > AutoSignature False > KeepSVF False > ConcurrentMode False > UseHighz False > ConfigOnFailure Stop > UserLevel Novice > MessageLevel Detailed > svfUseTime false > SpiByteSwap Auto_Correction > AutoInfer false > SvfPlayDisplayComments false > AutoDetecting cable. Please wait. > *** WARNING ***: When port is set to auto detect mode, cable speed is set > to > default 6 MHz regardless of explicit arguments supplied for setting the > baud > rates > If you are using the Platform Cable USB, please refer to the USB Cable > Installation Guide (UG344) to install the libusb package. > Connecting to cable (Usb Port - USB21). > Checking cable driver. > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > INFO:Cse - The fxload application is not installed. This application is > required > when using the Platform Cable USB. This warning should be ignored if > you are > using the Parallel Cable III or Parallel Cable IV. Please download and > install the fxload-2002_04_11 package. Note that root access is > required to > perform the installation. > Connecting to cable (Parallel Port - parport0). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport1). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport2). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport3). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Cable autodetection failed. > ERROR: Programming failed. Check output above for hints. Maybe you forgot > to use sudo? > > > I followed the instructions by xilinx AR and ran: > root@sputnik-Schleppi:/opt/install_script/install_drivers# > ./install_drivers > > which gave me the following output: > > --Install log = ./install_drivers > --Installing cable drivers. > --Driver versions in this package: windrvr=1301, xpc4drvr=1041 > --Script name = ./install_drivers > --HostName = sputnik-Schleppi > --Current working dir = /opt/install_script/install_drivers > --Script location = /opt/install_script/install_drivers > --No script argument. > --Kernel version = 4.4.0-45-generic. > --Arch = x86_64. > --Installer version = 1100 > --Unsetting ARCH environment variable. > --User has root permission. > --File /lib/modules/misc/install_windrvr6 does not exist. > --Installing USB drivers------------------------------------------ > --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. > --Updating xusbdfwu.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. > --Updating xusb_xlp.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. > --Updating xusb_emb.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. > --Updating xusb_xpr.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. > --Updating xusb_xup.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. > --Updating xusb_xp2.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. > --Updating xusb_xse.hex file. > cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden > --Adding Product ID 0007 to the usermap. > --Adding Product ID 0009 to the usermap. > --Adding Product ID 000d to the usermap. > --Adding Product ID 000f to the usermap. > --Adding Product ID 0013 to the usermap. > --Adding Product ID 0015 to the usermap. > --Adding Product ID 0008 to the usermap. > --Installing windrvr6--------------------------------------------- > --Checking version. > --File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does > not exist. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. > --Setting source version to 1301. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the > destination file. > USE_KBUILD = no > hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht > gefunden > compilation terminated. > checking for cpu architecture... x86_64 > checking for WinDriver root directory... /opt/install_script/install_ > drivers/linux_drivers/windriver64 > checking for linux kernel source... found at /lib/modules/4.4.0-45-generic/ > build > not found > configure.wd: error: please install the kernel source or specify alternate > location > make -f makefile.wd clean > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:28: die Regel für Ziel „clean“ scheiterte > make: *** [clean] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > --make windrvr install rc= 2 > --install_windrvr6 rc = 2 > --Module windrvr6 is not running. > --Module xpc4drvr is not running. > --Note: By default, the file permission of /dev/windrvr6 is enabled for > the root user only > and must be changed to allow access to other users. > > --real rc=2 > > --Driver installation failed. > > --Digilent Return code = 0 > --Xilinx Return code = 1 > --Return code = 1 > > I also tried some code fixes, shown in this forum, which helped with the > xpc4drvr, but not with the windrvr6: https://forums.xilinx.com/t5/ > Installation-and-Licensing/ISE14-3-device-driver-intall- > failed-on-Ubuntu-12-04/td-p/272544 > > I hope somebody can help me out with that problem, > > Thanks, > - Philipp > > > _______________________________________________ > USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
MB
Martin Braun
Fri, Nov 18, 2016 12:39 AM

FYI, Xilinx' impact tool does not work if your locale is de_DE.

M

On 11/13/2016 11:46 PM, Philipp Rudnik via USRP-users wrote:

Hi!

I have a bricked X310, caused by loss of connection during the FPGA
image update. I got the iMPACT tool from xilinx and the fpga jtag
programmer script (UHD tools).  I tried connecting it via the JTAG-USB
connector to my PC and ran:
sudo -s.....
root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh
--impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
--fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

The Output is: (please apologize any german language)

---======
Copyright 2014 Ettus Research LLC

JTAG Programming Tool

---======

==== Generating impact batch file xR4WcYhm.impact.cmd...
==== Running impact -- loading
/usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA...
WARNING: de_DE is not supported as a language.  Using usenglish.
Release 14.3 - iMPACT P.40xd (lin64)
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
Preference Table
Name                Setting
StartupClock        Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode      False
UseHighz            False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel        Detailed
svfUseTime          false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set to
default 6 MHz regardless of explicit arguments supplied for setting the baud
rates
If you are using the Platform Cable USB, please refer to the USB Cable
Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
INFO:Cse - The fxload application is not installed. This application is
required
when using the Platform Cable USB. This warning should be ignored if
you are
using the Parallel Cable III or Parallel Cable IV. Please download and
install the fxload-2002_04_11 package. Note that root access is
required to
perform the installation.
Connecting to cable (Parallel Port - parport0).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport2).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport3).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Cable autodetection failed.
ERROR: Programming failed. Check output above for hints. Maybe you
forgot to use sudo?

I followed the instructions by xilinx AR and ran:
root@sputnik-Schleppi:/opt/install_script/install_drivers#
./install_drivers

which gave me the following output:

--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = sputnik-Schleppi
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 4.4.0-45-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
--Updating xusbdfwu.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
--Updating xusb_xlp.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
--Updating xusb_emb.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
--Updating xusb_xpr.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
--Updating xusb_xup.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
--Updating xusb_xp2.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
--Updating xusb_xse.hex file.
cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
--Adding Product ID 0007 to the usermap.
--Adding Product ID 0009 to the usermap.
--Adding Product ID 000d to the usermap.
--Adding Product ID 000f to the usermap.
--Adding Product ID 0013 to the usermap.
--Adding Product ID 0015 to the usermap.
--Adding Product ID 0008 to the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko
does not exist.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht
gefunden
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory...
/opt/install_script/install_drivers/linux_drivers/windriver64
checking for linux kernel source... found at
/lib/modules/4.4.0-45-generic/build
not found
configure.wd: error: please install the kernel source or specify
alternate location
make -f makefile.wd clean
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:28: die Regel für Ziel „clean“ scheiterte
make: *** [clean] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis
„/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for
the root user only
and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

I also tried some code fixes, shown in this forum, which helped with the
xpc4drvr, but not with the windrvr6:
https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544

I hope somebody can help me out with that problem,

Thanks,

  • Philipp

USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

FYI, Xilinx' impact tool does not work if your locale is de_DE. M On 11/13/2016 11:46 PM, Philipp Rudnik via USRP-users wrote: > Hi! > > I have a bricked X310, caused by loss of connection during the FPGA > image update. I got the iMPACT tool from xilinx and the fpga jtag > programmer script (UHD tools). I tried connecting it via the JTAG-USB > connector to my PC and ran: > sudo -s..... > root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh > --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact > --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit > > The Output is: (please apologize any german language) > ======================================= > Copyright 2014 Ettus Research LLC > > JTAG Programming Tool > ======================================= > > ==== Generating impact batch file xR4WcYhm.impact.cmd... > ==== Running impact -- loading > /usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA... > WARNING: de_DE is not supported as a language. Using usenglish. > Release 14.3 - iMPACT P.40xd (lin64) > Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. > Preference Table > Name Setting > StartupClock Auto_Correction > AutoSignature False > KeepSVF False > ConcurrentMode False > UseHighz False > ConfigOnFailure Stop > UserLevel Novice > MessageLevel Detailed > svfUseTime false > SpiByteSwap Auto_Correction > AutoInfer false > SvfPlayDisplayComments false > AutoDetecting cable. Please wait. > *** WARNING ***: When port is set to auto detect mode, cable speed is set to > default 6 MHz regardless of explicit arguments supplied for setting the baud > rates > If you are using the Platform Cable USB, please refer to the USB Cable > Installation Guide (UG344) to install the libusb package. > Connecting to cable (Usb Port - USB21). > Checking cable driver. > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > INFO:Cse - The fxload application is not installed. This application is > required > when using the Platform Cable USB. This warning should be ignored if > you are > using the Parallel Cable III or Parallel Cable IV. Please download and > install the fxload-2002_04_11 package. Note that root access is > required to > perform the installation. > Connecting to cable (Parallel Port - parport0). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport1). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport2). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport3). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Cable autodetection failed. > ERROR: Programming failed. Check output above for hints. Maybe you > forgot to use sudo? > > > I followed the instructions by xilinx AR and ran: > root@sputnik-Schleppi:/opt/install_script/install_drivers# > ./install_drivers > > which gave me the following output: > > --Install log = ./install_drivers > --Installing cable drivers. > --Driver versions in this package: windrvr=1301, xpc4drvr=1041 > --Script name = ./install_drivers > --HostName = sputnik-Schleppi > --Current working dir = /opt/install_script/install_drivers > --Script location = /opt/install_script/install_drivers > --No script argument. > --Kernel version = 4.4.0-45-generic. > --Arch = x86_64. > --Installer version = 1100 > --Unsetting ARCH environment variable. > --User has root permission. > --File /lib/modules/misc/install_windrvr6 does not exist. > --Installing USB drivers------------------------------------------ > --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. > --Updating xusbdfwu.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. > --Updating xusb_xlp.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. > --Updating xusb_emb.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. > --Updating xusb_xpr.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. > --Updating xusb_xup.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. > --Updating xusb_xp2.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. > --Updating xusb_xse.hex file. > cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden > --Adding Product ID 0007 to the usermap. > --Adding Product ID 0009 to the usermap. > --Adding Product ID 000d to the usermap. > --Adding Product ID 000f to the usermap. > --Adding Product ID 0013 to the usermap. > --Adding Product ID 0015 to the usermap. > --Adding Product ID 0008 to the usermap. > --Installing windrvr6--------------------------------------------- > --Checking version. > --File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko > does not exist. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. > --Setting source version to 1301. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the > destination file. > USE_KBUILD = no > hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht > gefunden > compilation terminated. > checking for cpu architecture... x86_64 > checking for WinDriver root directory... > /opt/install_script/install_drivers/linux_drivers/windriver64 > checking for linux kernel source... found at > /lib/modules/4.4.0-45-generic/build > not found > configure.wd: error: please install the kernel source or specify > alternate location > make -f makefile.wd clean > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:28: die Regel für Ziel „clean“ scheiterte > make: *** [clean] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis > „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > --make windrvr install rc= 2 > --install_windrvr6 rc = 2 > --Module windrvr6 is not running. > --Module xpc4drvr is not running. > --Note: By default, the file permission of /dev/windrvr6 is enabled for > the root user only > and must be changed to allow access to other users. > > --real rc=2 > > --Driver installation failed. > > --Digilent Return code = 0 > --Xilinx Return code = 1 > --Return code = 1 > > I also tried some code fixes, shown in this forum, which helped with the > xpc4drvr, but not with the windrvr6: > https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544 > > I hope somebody can help me out with that problem, > > Thanks, > - Philipp > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
CR
Collins, Richard
Mon, Nov 21, 2016 4:57 PM

Hello,

This helped me restore an X310 just now!  May I request an update to the
USRP Manual -> USRP X3x0 Series -> "On-Board JTAG Programmer" section [1]
to reflect this info? It seems most everything is moving toward Vivado, and
I already had Vivado 2015.4 installed, but thought I might have to install
ISE (i.e. attempt installing ISE 14.3 or 14.7 on Ubuntu 16.04) in order
to re-flash the FPGA.  It was really Marcus's Step 3 that I was looking
for. I'm glad there's an installer for use with Vivado (and that we don't
have to use the GUI).

[1] - https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_jtag

  • Rich

On Mon, Nov 14, 2016 at 6:43 AM, Marcus Müller via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hi Philipp,

sorry to hear you've got trouble!

So, we generally recommend impact because it's less Gigabytes to
install... but in this case:

1. Get the free Vivado 2015.4 version.
2. install it, by default it ends up in /opt/Xilinx
3. sudo /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/
lin64/install_script/install_drivers/install_digilent.sh
4. sudo udevadm control --reload  ## To reload the new udev rules that
tell your linux system to make the JTAG adapter available to normal users
5. run Vivado, go to hardware manager, connect your X310 and power it
up
6. Tools->Autoconnect
7. Right-click on the FPGA in the hardware "list", program device,
select the appropriate .bit from UHD (typically: /usr/share/uhd/images/usrp_
x310_fpga_HG.bit)

Hope that helps! Notice that we also have a script so you don't have to
actually start Vivado in graphical mode, but you'd have to checkout UHD's
FPGA source code and set up a few paths for that to work (and still would
have to download & install Vivado), so I don't think that would be overly
much of a simplification for you. In any case, especially if future readers
wonder: Instead of doing step 5ff above, you'd "source
/path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run
"viv_jtag_program x300_image_file.bit".

Best regards,

Marcus
On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote:

Hi!

I have a bricked X310, caused by loss of connection during the FPGA image
update. I got the iMPACT tool from xilinx and the fpga jtag programmer
script (UHD tools).  I tried connecting it via the JTAG-USB connector to my
PC and ran:
sudo -s.....
root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh
--impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
--fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

The Output is: (please apologize any german language)

---======
Copyright 2014 Ettus Research LLC

JTAG Programming Tool

---======

==== Generating impact batch file xR4WcYhm.impact.cmd...
==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit
into the FPGA...
WARNING: de_DE is not supported as a language.  Using usenglish.
Release 14.3 - iMPACT P.40xd (lin64)
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
Preference Table
Name                Setting
StartupClock        Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode      False
UseHighz            False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel        Detailed
svfUseTime          false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set
to
default 6 MHz regardless of explicit arguments supplied for setting the
baud
rates
If you are using the Platform Cable USB, please refer to the USB Cable
Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
INFO:Cse - The fxload application is not installed. This application is
required
when using the Platform Cable USB. This warning should be ignored if
you are
using the Parallel Cable III or Parallel Cable IV. Please download and
install the fxload-2002_04_11 package. Note that root access is
required to
perform the installation.
Connecting to cable (Parallel Port - parport0).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport2).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Connecting to cable (Parallel Port - parport3).
Linux release = 4.4.0-45-generic.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable
drivers. See Answer Record 22648.
Cable connection failed.
Cable autodetection failed.
ERROR: Programming failed. Check output above for hints. Maybe you forgot
to use sudo?

I followed the instructions by xilinx AR and ran:
root@sputnik-Schleppi:/opt/install_script/install_drivers#
./install_drivers

which gave me the following output:

--Install log = ./install_drivers
--Installing cable drivers.
--Driver versions in this package: windrvr=1301, xpc4drvr=1041
--Script name = ./install_drivers
--HostName = sputnik-Schleppi
--Current working dir = /opt/install_script/install_drivers
--Script location = /opt/install_script/install_drivers
--No script argument.
--Kernel version = 4.4.0-45-generic.
--Arch = x86_64.
--Installer version = 1100
--Unsetting ARCH environment variable.
--User has root permission.
--File /lib/modules/misc/install_windrvr6 does not exist.
--Installing USB drivers------------------------------------------
--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
--Updating xusbdfwu.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
--Updating xusb_xlp.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
--Updating xusb_emb.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
--Updating xusb_xpr.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
--Updating xusb_xup.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
--Updating xusb_xp2.hex file.
--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
--File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
--Updating xusb_xse.hex file.
cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
--Adding Product ID 0007 to the usermap.
--Adding Product ID 0009 to the usermap.
--Adding Product ID 000d to the usermap.
--Adding Product ID 000f to the usermap.
--Adding Product ID 0013 to the usermap.
--Adding Product ID 0015 to the usermap.
--Adding Product ID 0008 to the usermap.
--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does
not exist.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
--Setting source version to 1301.
--File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
destination file.
USE_KBUILD = no
hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht
gefunden
compilation terminated.
checking for cpu architecture... x86_64
checking for WinDriver root directory... /opt/install_script/install_
drivers/linux_drivers/windriver64
checking for linux kernel source... found at /lib/modules/4.4.0-45-generic/
build
not found
configure.wd: error: please install the kernel source or specify alternate
location
make -f makefile.wd clean
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:28: die Regel für Ziel „clean“ scheiterte
make: *** [clean] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make -f makefile.wd
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird betreten
make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
wird verlassen
makefile:21: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for
the root user only
and must be changed to allow access to other users.

--real rc=2

--Driver installation failed.

--Digilent Return code = 0
--Xilinx Return code = 1
--Return code = 1

I also tried some code fixes, shown in this forum, which helped with the
xpc4drvr, but not with the windrvr6: https://forums.xilinx.com/t5/
Installation-and-Licensing/ISE14-3-device-driver-intall-
failed-on-Ubuntu-12-04/td-p/272544

I hope somebody can help me out with that problem,

Thanks,

  • Philipp

USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hello, This helped me restore an X310 just now! May I request an update to the USRP Manual -> USRP X3x0 Series -> "On-Board JTAG Programmer" section [1] to reflect this info? It seems most everything is moving toward Vivado, and I already had Vivado 2015.4 installed, but thought I might have to install ISE (i.e. *attempt* installing ISE 14.3 or 14.7 on Ubuntu 16.04) in order to re-flash the FPGA. It was really Marcus's Step 3 that I was looking for. I'm glad there's an installer for use with Vivado (and that we don't have to use the GUI). [1] - https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_jtag - Rich On Mon, Nov 14, 2016 at 6:43 AM, Marcus Müller via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi Philipp, > > sorry to hear you've got trouble! > > So, we generally recommend impact because it's less Gigabytes to > install... but in this case: > > 1. Get the free Vivado 2015.4 version. > 2. install it, by default it ends up in /opt/Xilinx > 3. sudo /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/ > lin64/install_script/install_drivers/install_digilent.sh > 4. sudo udevadm control --reload ## To reload the new udev rules that > tell your linux system to make the JTAG adapter available to normal users > 5. run Vivado, go to hardware manager, connect your X310 and power it > up > 6. Tools->Autoconnect > 7. Right-click on the FPGA in the hardware "list", program device, > select the appropriate .bit from UHD (typically: /usr/share/uhd/images/usrp_ > x310_fpga_HG.bit) > > Hope that helps! Notice that we also have a script so you don't have to > actually start Vivado in graphical mode, but you'd have to checkout UHD's > FPGA source code and set up a few paths for that to work (and still would > have to download & install Vivado), so I don't think that would be overly > much of a simplification for you. In any case, especially if future readers > wonder: Instead of doing step 5ff above, you'd "source > /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run > "viv_jtag_program x300_image_file.bit". > > Best regards, > > Marcus > On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote: > > Hi! > > I have a bricked X310, caused by loss of connection during the FPGA image > update. I got the iMPACT tool from xilinx and the fpga jtag programmer > script (UHD tools). I tried connecting it via the JTAG-USB connector to my > PC and ran: > sudo -s..... > root@sputnik-Schleppi:~/Downloads$ ./usrp_x3xx_fpga_jtag_programmer.sh > --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact > --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit > > The Output is: (please apologize any german language) > ======================================= > Copyright 2014 Ettus Research LLC > > JTAG Programming Tool > ======================================= > > ==== Generating impact batch file xR4WcYhm.impact.cmd... > ==== Running impact -- loading /usr/share/uhd/images/usrp_x310_fpga_HGS.bit > into the FPGA... > WARNING: de_DE is not supported as a language. Using usenglish. > Release 14.3 - iMPACT P.40xd (lin64) > Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. > Preference Table > Name Setting > StartupClock Auto_Correction > AutoSignature False > KeepSVF False > ConcurrentMode False > UseHighz False > ConfigOnFailure Stop > UserLevel Novice > MessageLevel Detailed > svfUseTime false > SpiByteSwap Auto_Correction > AutoInfer false > SvfPlayDisplayComments false > AutoDetecting cable. Please wait. > *** WARNING ***: When port is set to auto detect mode, cable speed is set > to > default 6 MHz regardless of explicit arguments supplied for setting the > baud > rates > If you are using the Platform Cable USB, please refer to the USB Cable > Installation Guide (UG344) to install the libusb package. > Connecting to cable (Usb Port - USB21). > Checking cable driver. > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > INFO:Cse - The fxload application is not installed. This application is > required > when using the Platform Cable USB. This warning should be ignored if > you are > using the Parallel Cable III or Parallel Cable IV. Please download and > install the fxload-2002_04_11 package. Note that root access is > required to > perform the installation. > Connecting to cable (Parallel Port - parport0). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport1). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport2). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Connecting to cable (Parallel Port - parport3). > Linux release = 4.4.0-45-generic. > WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall the cable > drivers. See Answer Record 22648. > Cable connection failed. > Cable autodetection failed. > ERROR: Programming failed. Check output above for hints. Maybe you forgot > to use sudo? > > > I followed the instructions by xilinx AR and ran: > root@sputnik-Schleppi:/opt/install_script/install_drivers# > ./install_drivers > > which gave me the following output: > > --Install log = ./install_drivers > --Installing cable drivers. > --Driver versions in this package: windrvr=1301, xpc4drvr=1041 > --Script name = ./install_drivers > --HostName = sputnik-Schleppi > --Current working dir = /opt/install_script/install_drivers > --Script location = /opt/install_script/install_drivers > --No script argument. > --Kernel version = 4.4.0-45-generic. > --Arch = x86_64. > --Installer version = 1100 > --Unsetting ARCH environment variable. > --User has root permission. > --File /lib/modules/misc/install_windrvr6 does not exist. > --Installing USB drivers------------------------------------------ > --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. > --Updating xusbdfwu.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. > --Updating xusb_xlp.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. > --Updating xusb_emb.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. > --Updating xusb_xpr.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. > --Updating xusb_xup.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. > --Updating xusb_xp2.hex file. > --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. > --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. > --Updating xusb_xse.hex file. > cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden > --Adding Product ID 0007 to the usermap. > --Adding Product ID 0009 to the usermap. > --Adding Product ID 000d to the usermap. > --Adding Product ID 000f to the usermap. > --Adding Product ID 0013 to the usermap. > --Adding Product ID 0015 to the usermap. > --Adding Product ID 0008 to the usermap. > --Installing windrvr6--------------------------------------------- > --Checking version. > --File /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does > not exist. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. > --Setting source version to 1301. > --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the > destination file. > USE_KBUILD = no > hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis nicht > gefunden > compilation terminated. > checking for cpu architecture... x86_64 > checking for WinDriver root directory... /opt/install_script/install_ > drivers/linux_drivers/windriver64 > checking for linux kernel source... found at /lib/modules/4.4.0-45-generic/ > build > not found > configure.wd: error: please install the kernel source or specify alternate > location > make -f makefile.wd clean > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:28: die Regel für Ziel „clean“ scheiterte > make: *** [clean] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > make -f makefile.wd > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird betreten > make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden > make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. > make[1]: Verzeichnis „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ > wird verlassen > makefile:21: die Regel für Ziel „all“ scheiterte > make: *** [all] Fehler 2 > --make windrvr install rc= 2 > --install_windrvr6 rc = 2 > --Module windrvr6 is not running. > --Module xpc4drvr is not running. > --Note: By default, the file permission of /dev/windrvr6 is enabled for > the root user only > and must be changed to allow access to other users. > > --real rc=2 > > --Driver installation failed. > > --Digilent Return code = 0 > --Xilinx Return code = 1 > --Return code = 1 > > I also tried some code fixes, shown in this forum, which helped with the > xpc4drvr, but not with the windrvr6: https://forums.xilinx.com/t5/ > Installation-and-Licensing/ISE14-3-device-driver-intall- > failed-on-Ubuntu-12-04/td-p/272544 > > I hope somebody can help me out with that problem, > > Thanks, > - Philipp > > > _______________________________________________ > USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
MB
Martin Braun
Wed, Nov 23, 2016 1:20 AM

Yes, we'll definitely updated the manual. Good point!

Cheers,
Martin

On 11/21/2016 08:57 AM, Collins, Richard via USRP-users wrote:

Hello,

This helped me restore an X310 just now!  May I request an update to the
USRP Manual -> USRP X3x0 Series -> "On-Board JTAG Programmer" section
[1] to reflect this info? It seems most everything is moving toward
Vivado, and I already had Vivado 2015.4 installed, but thought I might
have to install ISE (i.e. attempt installing ISE 14.3 or 14.7 on
Ubuntu 16.04) in order to re-flash the FPGA.  It was really Marcus's
Step 3 that I was looking for. I'm glad there's an installer for use
with Vivado (and that we don't have to use the GUI).

[1] - https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_jtag

  • Rich

On Mon, Nov 14, 2016 at 6:43 AM, Marcus Müller via USRP-users
<usrp-users@lists.ettus.com mailto:usrp-users@lists.ettus.com> wrote:

 Hi Philipp,

 sorry to hear you've got trouble!

 So, we generally recommend impact because it's less Gigabytes to
 install... but in this case:

  1. Get the free Vivado 2015.4 version.
  2. install it, by default it ends up in /opt/Xilinx
  3. sudo
     /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_digilent.sh
  4. sudo udevadm control --reload  ## To reload the new udev rules
     that tell your linux system to make the JTAG adapter available
     to normal users
  5. run Vivado, go to hardware manager, connect your X310 and power
     it up
  6. Tools->Autoconnect
  7. Right-click on the FPGA in the hardware "list", program device,
     select the appropriate .bit from UHD (typically:
     /usr/share/uhd/images/usrp_x310_fpga_HG.bit)

 Hope that helps! Notice that we also have a script so you don't have
 to actually start Vivado in graphical mode, but you'd have to
 checkout UHD's FPGA source code and set up a few paths for that to
 work (and still would have to download & install Vivado), so I don't
 think that would be overly much of a simplification for you. In any
 case, especially if future readers wonder: Instead of doing step 5ff
 above, you'd "source
 /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run
 "viv_jtag_program x300_image_file.bit".

 Best regards,

 Marcus

 On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote:
 Hi!

 I have a bricked X310, caused by loss of connection during the
 FPGA image update. I got the iMPACT tool from xilinx and the fpga
 jtag programmer script (UHD tools).  I tried connecting it via the
 JTAG-USB connector to my PC and ran:
 sudo -s.....
 root@sputnik-Schleppi:~/Downloads$
 ./usrp_x3xx_fpga_jtag_programmer.sh
 --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact
 --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit

 The Output is: (please apologize any german language)
 

---======
Copyright 2014 Ettus Research LLC

  JTAG Programming Tool
 

---======

 ==== Generating impact batch file xR4WcYhm.impact.cmd...
 ==== Running impact -- loading
 /usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA...
 WARNING: de_DE is not supported as a language.  Using usenglish.
 Release 14.3 - iMPACT P.40xd (lin64)
 Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
 Preference Table
 Name                 Setting            
 StartupClock         Auto_Correction    
 AutoSignature        False              
 KeepSVF              False              
 ConcurrentMode       False              
 UseHighz             False              
 ConfigOnFailure      Stop               
 UserLevel            Novice             
 MessageLevel         Detailed           
 svfUseTime           false              
 SpiByteSwap          Auto_Correction    
 AutoInfer            false              
 SvfPlayDisplayComments false              
 AutoDetecting cable. Please wait.
 *** WARNING ***: When port is set to auto detect mode, cable speed
 is set to
 default 6 MHz regardless of explicit arguments supplied for
 setting the baud
 rates
 If you are using the Platform Cable USB, please refer to the USB Cable
 Installation Guide (UG344) to install the libusb package.
 Connecting to cable (Usb Port - USB21).
 Checking cable driver.
  Linux release = 4.4.0-45-generic.
 WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall
 the cable
    drivers. See Answer Record 22648.
 Cable connection failed.
 INFO:Cse - The fxload application is not installed. This
 application is required
    when using the Platform Cable USB. This warning should be
 ignored if you are
    using the Parallel Cable III or Parallel Cable IV. Please
 download and
    install the fxload-2002_04_11 package. Note that root access is
 required to
    perform the installation.
 Connecting to cable (Parallel Port - parport0).
  Linux release = 4.4.0-45-generic.
 WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall
 the cable
    drivers. See Answer Record 22648.
 Cable connection failed.
 Connecting to cable (Parallel Port - parport1).
  Linux release = 4.4.0-45-generic.
 WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall
 the cable
    drivers. See Answer Record 22648.
 Cable connection failed.
 Connecting to cable (Parallel Port - parport2).
  Linux release = 4.4.0-45-generic.
 WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall
 the cable
    drivers. See Answer Record 22648.
 Cable connection failed.
 Connecting to cable (Parallel Port - parport3).
  Linux release = 4.4.0-45-generic.
 WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall
 the cable
    drivers. See Answer Record 22648.
 Cable connection failed.
 Cable autodetection failed.
 ERROR: Programming failed. Check output above for hints. Maybe you
 forgot to use sudo?


 I followed the instructions by xilinx AR and ran:
 root@sputnik-Schleppi:/opt/install_script/install_drivers#
 ./install_drivers

 which gave me the following output:

 --Install log = ./install_drivers
 --Installing cable drivers.
 --Driver versions in this package: windrvr=1301, xpc4drvr=1041
 --Script name = ./install_drivers
 --HostName = sputnik-Schleppi
 --Current working dir = /opt/install_script/install_drivers
 --Script location = /opt/install_script/install_drivers
 --No script argument.
 --Kernel version = 4.4.0-45-generic.
 --Arch = x86_64.
 --Installer version = 1100
 --Unsetting ARCH environment variable.
 --User has root permission.
 --File /lib/modules/misc/install_windrvr6 does not exist.
 --Installing USB drivers------------------------------------------
 --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000.
 --Updating xusbdfwu.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000.
 --Updating xusb_xlp.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000.
 --Updating xusb_emb.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000.
 --Updating xusb_xpr.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000.
 --Updating xusb_xup.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000.
 --Updating xusb_xp2.hex file.
 --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist.
 --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000.
 --Updating xusb_xse.hex file.
 cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden
 --Adding Product ID 0007 to the usermap.
 --Adding Product ID 0009 to the usermap.
 --Adding Product ID 000d to the usermap.
 --Adding Product ID 000f to the usermap.
 --Adding Product ID 0013 to the usermap.
 --Adding Product ID 0015 to the usermap.
 --Adding Product ID 0008 to the usermap.
 --Installing windrvr6---------------------------------------------
 --Checking version.
 --File
 /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does
 not exist.
 --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist.
 --Setting source version to 1301.
 --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the
 destination file.
 USE_KBUILD = no
 hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis
 nicht gefunden
 compilation terminated.
 checking for cpu architecture... x86_64
 checking for WinDriver root directory...
 /opt/install_script/install_drivers/linux_drivers/windriver64
 checking for linux kernel source... found at
 /lib/modules/4.4.0-45-generic/build
 not found
 configure.wd: error: please install the kernel source or specify
 alternate location
 make -f makefile.wd clean
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird betreten
 make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
 make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird verlassen
 makefile:28: die Regel für Ziel „clean“ scheiterte
 make: *** [clean] Fehler 2
 make -f makefile.wd
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird betreten
 make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
 make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird verlassen
 makefile:21: die Regel für Ziel „all“ scheiterte
 make: *** [all] Fehler 2
 make -f makefile.wd
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird betreten
 make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden
 make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen.  Schluss.
 make[1]: Verzeichnis
 „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“
 wird verlassen
 makefile:21: die Regel für Ziel „all“ scheiterte
 make: *** [all] Fehler 2
 --make windrvr install rc= 2
 --install_windrvr6 rc = 2
 --Module windrvr6 is not running.
 --Module xpc4drvr is not running.
 --Note: By default, the file permission of /dev/windrvr6 is
 enabled for the root user only
   and must be changed to allow access to other users.

 --real rc=2

 --Driver installation failed.

 --Digilent Return code = 0
 --Xilinx Return code = 1
 --Return code = 1

 I also tried some code fixes, shown in this forum, which helped
 with the xpc4drvr, but not with the windrvr6:
 https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544
 <https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544>

 I hope somebody can help me out with that problem,

 Thanks,
 - Philipp


 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
 http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
 <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
 http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
 <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>

USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Yes, we'll definitely updated the manual. Good point! Cheers, Martin On 11/21/2016 08:57 AM, Collins, Richard via USRP-users wrote: > Hello, > > This helped me restore an X310 just now! May I request an update to the > USRP Manual -> USRP X3x0 Series -> "On-Board JTAG Programmer" section > [1] to reflect this info? It seems most everything is moving toward > Vivado, and I already had Vivado 2015.4 installed, but thought I might > have to install ISE (i.e. *attempt* installing ISE 14.3 or 14.7 on > Ubuntu 16.04) in order to re-flash the FPGA. It was really Marcus's > Step 3 that I was looking for. I'm glad there's an installer for use > with Vivado (and that we don't have to use the GUI). > > [1] - https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_jtag > > - Rich > > On Mon, Nov 14, 2016 at 6:43 AM, Marcus Müller via USRP-users > <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>> wrote: > > Hi Philipp, > > sorry to hear you've got trouble! > > So, we generally recommend impact because it's less Gigabytes to > install... but in this case: > > 1. Get the free Vivado 2015.4 version. > 2. install it, by default it ends up in /opt/Xilinx > 3. sudo > /opt/Xilinx/Vivado/2015.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_digilent.sh > 4. sudo udevadm control --reload ## To reload the new udev rules > that tell your linux system to make the JTAG adapter available > to normal users > 5. run Vivado, go to hardware manager, connect your X310 and power > it up > 6. Tools->Autoconnect > 7. Right-click on the FPGA in the hardware "list", program device, > select the appropriate .bit from UHD (typically: > /usr/share/uhd/images/usrp_x310_fpga_HG.bit) > > Hope that helps! Notice that we also have a script so you don't have > to actually start Vivado in graphical mode, but you'd have to > checkout UHD's FPGA source code and set up a few paths for that to > work (and still would have to download & install Vivado), so I don't > think that would be overly much of a simplification for you. In any > case, especially if future readers wonder: Instead of doing step 5ff > above, you'd "source > /path/to/uhd/fpga-src/usrp3_rfnoc/top/x300/setupenv.sh" and run > "viv_jtag_program x300_image_file.bit". > > Best regards, > > Marcus > > On 14.11.2016 08:46, Philipp Rudnik via USRP-users wrote: >> Hi! >> >> I have a bricked X310, caused by loss of connection during the >> FPGA image update. I got the iMPACT tool from xilinx and the fpga >> jtag programmer script (UHD tools). I tried connecting it via the >> JTAG-USB connector to my PC and ran: >> sudo -s..... >> root@sputnik-Schleppi:~/Downloads$ >> ./usrp_x3xx_fpga_jtag_programmer.sh >> --impact-path=/home/sputnik/xilinx/14.3/LabTools/LabTools/bin/lin64/impact >> --fpga-path=/usr/share/uhd/images/usrp_x310_fpga_HGS.bit >> >> The Output is: (please apologize any german language) >> ======================================= >> Copyright 2014 Ettus Research LLC >> >> JTAG Programming Tool >> ======================================= >> >> ==== Generating impact batch file xR4WcYhm.impact.cmd... >> ==== Running impact -- loading >> /usr/share/uhd/images/usrp_x310_fpga_HGS.bit into the FPGA... >> WARNING: de_DE is not supported as a language. Using usenglish. >> Release 14.3 - iMPACT P.40xd (lin64) >> Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved. >> Preference Table >> Name Setting >> StartupClock Auto_Correction >> AutoSignature False >> KeepSVF False >> ConcurrentMode False >> UseHighz False >> ConfigOnFailure Stop >> UserLevel Novice >> MessageLevel Detailed >> svfUseTime false >> SpiByteSwap Auto_Correction >> AutoInfer false >> SvfPlayDisplayComments false >> AutoDetecting cable. Please wait. >> *** WARNING ***: When port is set to auto detect mode, cable speed >> is set to >> default 6 MHz regardless of explicit arguments supplied for >> setting the baud >> rates >> If you are using the Platform Cable USB, please refer to the USB Cable >> Installation Guide (UG344) to install the libusb package. >> Connecting to cable (Usb Port - USB21). >> Checking cable driver. >> Linux release = 4.4.0-45-generic. >> WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall >> the cable >> drivers. See Answer Record 22648. >> Cable connection failed. >> INFO:Cse - The fxload application is not installed. This >> application is required >> when using the Platform Cable USB. This warning should be >> ignored if you are >> using the Parallel Cable III or Parallel Cable IV. Please >> download and >> install the fxload-2002_04_11 package. Note that root access is >> required to >> perform the installation. >> Connecting to cable (Parallel Port - parport0). >> Linux release = 4.4.0-45-generic. >> WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall >> the cable >> drivers. See Answer Record 22648. >> Cable connection failed. >> Connecting to cable (Parallel Port - parport1). >> Linux release = 4.4.0-45-generic. >> WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall >> the cable >> drivers. See Answer Record 22648. >> Cable connection failed. >> Connecting to cable (Parallel Port - parport2). >> Linux release = 4.4.0-45-generic. >> WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall >> the cable >> drivers. See Answer Record 22648. >> Cable connection failed. >> Connecting to cable (Parallel Port - parport3). >> Linux release = 4.4.0-45-generic. >> WARNING:iMPACT - Module windrvr6 is not loaded. Please reinstall >> the cable >> drivers. See Answer Record 22648. >> Cable connection failed. >> Cable autodetection failed. >> ERROR: Programming failed. Check output above for hints. Maybe you >> forgot to use sudo? >> >> >> I followed the instructions by xilinx AR and ran: >> root@sputnik-Schleppi:/opt/install_script/install_drivers# >> ./install_drivers >> >> which gave me the following output: >> >> --Install log = ./install_drivers >> --Installing cable drivers. >> --Driver versions in this package: windrvr=1301, xpc4drvr=1041 >> --Script name = ./install_drivers >> --HostName = sputnik-Schleppi >> --Current working dir = /opt/install_script/install_drivers >> --Script location = /opt/install_script/install_drivers >> --No script argument. >> --Kernel version = 4.4.0-45-generic. >> --Arch = x86_64. >> --Installer version = 1100 >> --Unsetting ARCH environment variable. >> --User has root permission. >> --File /lib/modules/misc/install_windrvr6 does not exist. >> --Installing USB drivers------------------------------------------ >> --File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 0000. >> --Updating xusbdfwu.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex = 0000. >> --Updating xusb_xlp.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex = 0000. >> --Updating xusb_emb.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex = 0000. >> --Updating xusb_xpr.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex = 0000. >> --Updating xusb_xup.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex = 0000. >> --Updating xusb_xp2.hex file. >> --File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex does not exist. >> --File version of /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex = 0000. >> --Updating xusb_xse.hex file. >> cat: /etc/hotplug/usb.usermap: Datei oder Verzeichnis nicht gefunden >> --Adding Product ID 0007 to the usermap. >> --Adding Product ID 0009 to the usermap. >> --Adding Product ID 000d to the usermap. >> --Adding Product ID 000f to the usermap. >> --Adding Product ID 0013 to the usermap. >> --Adding Product ID 0015 to the usermap. >> --Adding Product ID 0008 to the usermap. >> --Installing windrvr6--------------------------------------------- >> --Checking version. >> --File >> /lib/modules/4.4.0-45-generic/kernel/drivers/misc/windrvr6.ko does >> not exist. >> --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko does not exist. >> --Setting source version to 1301. >> --File LINUX.4.4.0-45-generic.x86_64/windrvr6.ko is newer than the >> destination file. >> USE_KBUILD = no >> hello.c:1:26: fatal error: linux/config.h: Datei oder Verzeichnis >> nicht gefunden >> compilation terminated. >> checking for cpu architecture... x86_64 >> checking for WinDriver root directory... >> /opt/install_script/install_drivers/linux_drivers/windriver64 >> checking for linux kernel source... found at >> /lib/modules/4.4.0-45-generic/build >> not found >> configure.wd: error: please install the kernel source or specify >> alternate location >> make -f makefile.wd clean >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird betreten >> make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden >> make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird verlassen >> makefile:28: die Regel für Ziel „clean“ scheiterte >> make: *** [clean] Fehler 2 >> make -f makefile.wd >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird betreten >> make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden >> make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird verlassen >> makefile:21: die Regel für Ziel „all“ scheiterte >> make: *** [all] Fehler 2 >> make -f makefile.wd >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird betreten >> make[1]: makefile.wd: Datei oder Verzeichnis nicht gefunden >> make[1]: *** Keine Regel, um „makefile.wd“ zu erstellen. Schluss. >> make[1]: Verzeichnis >> „/opt/install_script/install_drivers/linux_drivers/windriver64/windrvr“ >> wird verlassen >> makefile:21: die Regel für Ziel „all“ scheiterte >> make: *** [all] Fehler 2 >> --make windrvr install rc= 2 >> --install_windrvr6 rc = 2 >> --Module windrvr6 is not running. >> --Module xpc4drvr is not running. >> --Note: By default, the file permission of /dev/windrvr6 is >> enabled for the root user only >> and must be changed to allow access to other users. >> >> --real rc=2 >> >> --Driver installation failed. >> >> --Digilent Return code = 0 >> --Xilinx Return code = 1 >> --Return code = 1 >> >> I also tried some code fixes, shown in this forum, which helped >> with the xpc4drvr, but not with the windrvr6: >> https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544 >> <https://forums.xilinx.com/t5/Installation-and-Licensing/ISE14-3-device-driver-intall-failed-on-Ubuntu-12-04/td-p/272544> >> >> I hope somebody can help me out with that problem, >> >> Thanks, >> - Philipp >> >> >> _______________________________________________ >> USRP-users mailing list >> USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >> <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com> > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com> > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >