Upgrade Cobo firmware

I tried below according to the instructions, but it does not work  !!!!!!!!!!!!!!!!!!!!!!!

The latest Cobo firmware is firmware250.bit

according to Shebli, the following procedure is used for upgrading the install the Xillinx cable driver


Notes on Xilinx Tools ¶

These notes have been taken during install on Ubuntu 10.04 LTS . Since Xilinx supports RHEL things might be easier on SL6.

Update Ubuntu 10.04 LTS

As this version of Ubuntu is not supported anymore,apt-get won’t work. A few things need to be changed.

sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update

Xilinx Tools Install On Linux

  • Download Xilinx_ISE_DS_Lin_12.4_M.81d.2.0.tar (for version 12.4) from Xilinx web site (need to have developer login).
  • Untar downloaded file (typically in /opt using a sudo account).
  • cd to extracted directory and type sudo ./xsetup and follow instructions. Choose no to acquire licence because it is a will be setup through environment variables (see further).

USB Drivers for Xilinx JTAG Cable

  • Install libusb-dev and libftdi-dev using your package manager.
  • Install fxload using your package manager.
  • Download Xilinx cable USB driver sources.
  • Compile sources typing make 
  • Install the library produced libusb-driver.so (typically by copying it to /usr/lib).
  • Put the following line in a new file “libusb-driver.rules” in /etc/udev/rules.d/:
    ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03fd", MODE="666"
  • If your cable does not have the ID 03fd:0008 in the output of lsusb command, 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. Make sure you have installed the libusb-dev and fxload packages.
  2. If you have no /etc/udev/rules.d/xusbdfwu.rules file, copy it from /path/to/ISE/bin/lin/xusbdfwu.rules to /etc/udev/rules.d/xusbdfwu.rules.
  3. If your Linux distro is not too old (e.g. > Ubuntu 9.10), you are probably running a fairly recent version of udev, so you’ll need to adapt the rules file accordingly, using the following command:
    sed -i -e 's/TEMPNODE/tempnode/' -e 's/SYSFS/ATTRS/g' -e 's/BUS/SUBSYSTEMS/' /etc/udev/rules.d/xusbdfwu.rules
  4. Copy the files /path/to/ISE/bin/lin/xusb*.hex to /usr/share/.
  5. Restart the udev daemon using the following command and re-plug the USB cable:
    service udev restart

The LED on the XIlinx cable should be GREEN. Also, the lsusb command should list (among other USB devices) the Xilinx cable with its ID finishing with digit 8. Typically:

% lsusb | grep Xilinx
Bus 001 Device 003: ID 03fd:0008 Xilinx, Inc. 
                               This digit should be set to '8'

Set Up Xilinx Environment variables

This is the typical env variables that you must add to your .bashrc (you should adapt it to your case of course), including the LM_LICENSE_FILE variable referring to the licence server:

if [ ! $XILINX ]; then
	export LM_LICENSE_FILE=2100@dappcq227:1717@irfupcj44:$LM_LICENSE_FILE
	export XILINX_INSTALL=/opt/Xilinx/12.4/ISE_DS
	source $XILINX_INSTALL/settings64.sh
	export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH:/opt/Xilinx/usb-driver
	export PRINTER=irfulpy90