cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
7,444 Views
Registered: ‎03-16-2010

Getting iMPACT to recognise the USB cable using linux

Jump to solution

I am attempting to install iMPACT on my 64-bit linux system. Since I was using a very new udev version, I had to manually update the udev rules to get the firmware to load.

 

I got this working so when I plug the cable into my computer, the light on the programmer turns green.

 

To my amazement however, iMPACT is still complaining about missing drivers. I even tried setting the environment variable to use 'force' lib-usb usage (although it should be default for my 11.4 version)

 

What does iMPACT need besides the device with its firmware preloaded?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
8,811 Views
Registered: ‎03-16-2010

Re: Getting iMPACT to recognise the USB cable using linux

Jump to solution
I removed the drivers from my system and installed the open-source lib-usb driver. This solved my problem :)

View solution in original post

2 Replies
Highlighted
Adventurer
Adventurer
8,812 Views
Registered: ‎03-16-2010

Re: Getting iMPACT to recognise the USB cable using linux

Jump to solution
I removed the drivers from my system and installed the open-source lib-usb driver. This solved my problem :)

View solution in original post

Highlighted
Visitor
Visitor
6,557 Views
Registered: ‎04-01-2011

Re: Getting iMPACT to recognise the USB cable using linux

Jump to solution

 

This is just to elaborate for future poor souls.
This works with ISE 13.1 as of:
    root@leno:/opt/Xilinx/13.1/ISE_DS/ISE/bin/lin# uname -a
    Linux leno 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux
    
    root@leno:/opt/Xilinx/13.1/ISE_DS/ISE/bin/lin# lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 10.10
    Release:    10.10
    Codename:    maverick
More info:
I chose to put addtional stuff in $XILINX/cable:
    eisbaw@leno:~$ ls /opt/Xilinx/13.1/cable/
    eisbaw_startise.sh  libusb-driver.so
Make sure that your start script end with the lines below, ie:
    eisbaw@leno:~$ tail -n 3 /opt/Xilinx/13.1/cable/eisbaw_startise.sh 
    export LD_PRELOAD=/opt/Xilinx/13.1/cable/libusb-driver.so
    exec /opt/Xilinx/13.1/ISE_DS/ISE/bin/lin/ise
////////////////////
=======================
To use the device as an ordinary user, put the following line in a new
file "libusb-driver.rules" in /etc/udev/rules.d/ and restart udev:
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03fd", MODE="666"
If your cable does not have the ID 03fd:0008 in the output of lsusb,
the initial firmware has not been loaded (loading it changes the
product-ID from another value to 8). To load the firmware follow
these steps:
1. If you have no /etc/udev/rules.d/xusbdfwu.rules file, copy it from
   /opt/Xilinx/13.1/ISE_DS/ISE/bin/lin/xusbdfwu.rules to /etc/udev/rules.d/xusbdfwu.rules
2. If you are running a newer version of udev (as in Debian Squeeze and
   Ubuntu 9.10), you need to adapt the rules-file to the new udev-version:
   sed -i -e 's/TEMPNODE/tempnode/' -e 's/SYSFS/ATTRS/g' -e 's/BUS/SUBSYSTEMS/' /etc/udev/rules.d/xusbdfwu.rules
3. Install the package containing /sbin/fxload from your linux distribution.
   It is usually called "fxload"
4. copy the files /path/to/ISE/bin/lin/xusb*.hex to /usr/share/
5. restart udev 
    service udev restart
6. Plug in the cable
If you have multiple cables connected, you can specify the cable to use
in the XILINX_USB_DEV environment-variable as "bus:device".
These identifiers are available in the output of lsusb:
Bus 001 Device 004: ID 03fd:0008 Xilinx, Inc.
    ^^^        ^^^
To use this cable, set the XILINX_USB_DEV variable to "001:004".

 

0 Kudos