Jump to content

XC2S100-kit

From HW wiki
Revision as of 15:31, 19 December 2010 by Sojka (talk | contribs)

Spartan II Demo Board

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)