Description
Keywords: firmware, update
Platform Cable USB fails to connect to iMPACT version 8.2i running on Red Hat Enterprise Linux 4 (2.6 kernel). The following are the symptoms of the failure:
- The Initialize Chain operation is attempted, but no devices are detected and a "write cmdbuffer failed" message appears in the command log.
- The cable appears to connect at full speed (FS), but any subsequent operations fail and a "write cmdbuffer failed" message appears in the command log.
- The CPLD revision shown in the command log is inconsistent with the expected value (0012h).
- iMPACT appears to be caught in a loop in which it repeatedly attempts to update the cable's firmware.
Solution
The problem is the result of a bug in the cable driver and can be resolved by installing a patch. The procedure for downloading and installing the patch is shown below. This problem is resolved in 8.2i sp1.
The latest version of the patch installs cable firmware version 1025, which has been upgraded from version 1023. The cable firmware versions appear after the cable has been detected and connected in iMPACT. If the cable is still operating on version 1023, re-install the following patch.
1. Login with root permission and open a terminal.
2. Verify that the "windrvr6" module is loaded and running.
cat /proc/modules
If it is installed, the "windrvr6" module will appear in the generated list. If the module is not loaded, refer to
(Xilinx Answer 22648) for instructions on how to install and load the module.
3. Change the current directory to "<InstallDir>/bin/lin", where "<InstallDir>" is the location of the previously installed Xilinx design tools:
cd <InstallDir>/bin/lin
4. Download the "xusbdfwu.hex" firmware file from the following link to this directory:
http://www.xilinx.com/txpatches/pub/utilities/fpga/xusbdfwu-1025.zip5. Disconnect the USB cable from the PC.
6. Enter the following command to run the installation script:
source ./setup_pcusb
7. Reconnect the USB cable.