I have been working off and on trying to use the Xilinx XUP board on Linux Fedora Core 3 with EDK 7.1 and ISE 7.1. I have been fairly succesful with the software, but downloading the bitstream over the USB cable has got me baffled. It has worked a few times, but most of the time there seem to be errors in transmission and this makes the board trying to do this:
WARNING:iMPACT:2301 - Platform Cable USB firmware must be updated. This
operation may take up to 10 minutes on a USB 2.0 port
or up to 30 minutes on a USB 1.1 port. Please do not stop the process or
disconnect the cable prior to compeletion. The cable
STATUS LED will be RED for the duration of the update process.
In the process, I then get:
Doing update for waitTime.
Doing update for waitTime.
Doing update for waitTime.
and after a while:
write cmdbuffer failed 20000015.
write cmdbuffer failed 20000015.
write cmdbuffer failed 20000015.
write cmdbuffer failed 20000015.
When it works correctly, it is like this (downloading the Basic System Build):
Downloading Bitstream onto the target board
*********************************************impact -batch etc/download.cmd
Release 7.1.03i - iMPACT H.41
Copyright (c) 1995-2005 Xilinx, Inc. All rights reserved.
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setCable -port auto
AutoDetecting cable. Please wait.
Connecting to cable (Parallel Port - parport0).
WinDriver v7.00 Jungo (c) 1997 - 2005 Build Date: Apr 26 2005 X86
21:13:57.parport0: baseAddress=0x378, ecpAddress=0x778
LPT base address = 0378h.
ECP base address = 0778h.
Cable connection failed.
Connecting to cable (Parallel Port - parport1).
WinDriver v7.00 Jungo (c) 1997 - 2005 Build Date: Apr 26 2005 X86
21:13:57.Cable connection failed.
Connecting to cable (Parallel Port - parport2).
WinDriver v7.00 Jungo (c) 1997 - 2005 Build Date: Apr 26 2005 X86
21:13:57.Cable connection failed.
Connecting to cable (Parallel Port - parport3).
WinDriver v7.00 Jungo (c) 1997 - 2005 Build Date: Apr 26 2005 X86
21:13:57.Cable connection failed.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
File version of /home/krish/binaries/Xilinx/bin/lin/xusbdfwu.hex =
1018(dec),03FA.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1018(dec),
03FA.Calling setinterface num=0, alternate=0.
DeviceAttach: received and accepted attach for:
vendor id 0x3fd, product id 0x8, device handle 0x92d9af0
Max current requested during enumeration is 150 mA.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1018.
CPLD file version = 0006h.
CPLD version = 0006h.
// *** BATCH CMD : identify
Identifying chain contents ....Version is 0001
'1': : Manufacturer's ID =Xilinx xc2vp30, Version : 1
INFO:iMPACT:1777 -
Reading /home/krish/binaries/Xilinx/virtex2p/data/xc2vp30.bsd...
INFO:iMPACT:501 - '1': Added Device xc2vp30 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
Version is 0000
'2': : Manufacturer's ID =Xilinx xccace, Version : 0
INFO:iMPACT:1777 -
Reading /home/krish/binaries/Xilinx/acecf/data/xccace.bsd...
INFO:iMPACT:501 - '1': Added Device xccace successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
Version is 1111
'3': : Manufacturer's ID =Xilinx xcf32p, Version : 15
INFO:iMPACT:1777 -
Reading /home/krish/binaries/Xilinx/xcfp/data/xcf32p.bsd...
INFO:iMPACT:501 - '1': Added Device xcf32p successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
Validating chain...
Boundary-scan chain validated successfully.
Elapsed time = 2 sec.
// *** BATCH CMD : identifyMPMElapsed time = 0 sec.
// *** BATCH CMD : setAttribute -position 3 -attr configFileName -value
"implementation/download.bit"
'3': Loading file 'implementation/download.bit' ...
done.
INFO:iMPACT:501 - '3': Added Device xc2vp30 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
// *** BATCH CMD : program -p 3
Validating chain...
Boundary-scan chain validated successfully.
'3':Programming device...
done.
'3': Reading status register contents...
CRC error : 0
Decryptor security set : 0
DCM locked : 1
DCI matched : 1
legacy input error : 0
status of GTS_CFG_B : 1
status of GWE : 1
status of GHIGH : 1
value of MODE pin M0 : 1
value of MODE pin M1 : 1
value of MODE pin M2 : 0
value of CFG_RDY (INIT_B) : 1
DONEIN input from DONE pin : 1
IDCODE not validated while trying to write FDRI : 0
write FDRI issued before or after decrypt operation: 0
Decryptor keys not used in proper sequence : 0
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 0111 1101 1000 0000 0000 0000 0000
INFO:iMPACT:579 - '3': Completed downloading bit file to device.
INFO:iMPACT:580 - '3':Checking done pin ....done.
'3': Programmed successfully.
Elapsed time = 5 sec.
// *** BATCH CMD : quit
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
I am using a fully patched Fedora Core 3 system, with a locally compiled kernel 2.6.12-local (basically identical to
2.6.12-1.1372_FC3), have observed FPGA-FAQ 0044, Xilinx Answer #21650, and am using Jungo System's WinDriver v7.00 Jungo (c) 1997 - 2005 Build Date: Apr 26 2005. Xilinx patches for ISE and EDK have been applied.Is there a good way to determine what is causing this unreliability? Are there any tests I can perform? I would be very grateful for any suggestions.
Kind regards,
Kris Heyrman Asst. Prof. in Electronics Hogeschool Gent (you can also respond to snipped-for-privacy@geenspam.hogent.be if you delete 'geenspam.')