XC2S100-kit: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This page describes "Spartan II Demo Board" DS-KIT-2S100 | |||
== JTAG Cable == | |||
Model: IJC-2 | Model: IJC-2 | ||
=== Open-Source driver === | |||
http://www.rmdir.de/~michael/xilinx/ | http://www.rmdir.de/~michael/xilinx/ | ||
| Line 24: | Line 24: | ||
FTDI := $(shell libftdi-config --libs 2>/dev/null) | FTDI := $(shell libftdi-config --libs 2>/dev/null) | ||
Use LD_PRELOAD variable before starting ISE. I use the following script to start ISE: | |||
#!/bin/bash | |||
. /opt/Xilinx/10.1/ISE/settings32.sh | |||
export LD_PRELOAD=/home/xxx/src/xilinx/usb-driver/libusb-driver.so | |||
ise | |||
Revision as of 15:38, 19 December 2010
This page describes "Spartan II Demo Board" DS-KIT-2S100
JTAG Cable
Model: IJC-2
Open-Source driver
http://www.rmdir.de/~michael/xilinx/
git clone git://git.zerfleddert.de/usb-driver
To compile 32-bit version on 64-bit system (Debian Squeeze), I had to change the Makefile according to the following patch:
diff --git a/Makefile b/Makefile index baff08d..f22653c 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ HEADER=usb-driver.h xpcu.h parport.h jtagkey.h config.h jtagmo ifeq ($(LIBVER),32) CFLAGS += -m32 +LIBS=-ldl /lib32/libusb-0.1.so.4 -lpthread endif FTDI := $(shell libftdi-config --libs 2>/dev/null)
Use LD_PRELOAD variable before starting ISE. I use the following script to start ISE:
#!/bin/bash . /opt/Xilinx/10.1/ISE/settings32.sh export LD_PRELOAD=/home/xxx/src/xilinx/usb-driver/libusb-driver.so ise