pass pointer to usb-driver structure through impact
[usb-driver] / index.html
026cbe49 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <HEAD>
4 <TITLE>XILINX USB/Parallel JTAG cables on Linux without windrvr</TITLE>
5 </HEAD>
7 <H1>XILINX JTAG tools on Linux without proprietary kernel modules</H1>
8 <H2>About</H2>
9 <P>
10 When using <a href="">XILINX</a> JTAG software like Impact, Chipscope and XMD
2b78cb99 11 on Linux, the proprietary kernel module <i>windrvr</i> from <a href="">Jungo</a>
026cbe49 12 is needed to access the parallel- or usb-cable.
13 As this module does not work with current linux kernel versions (&gt; 2.6.18) a library was developed,
14 which emulates the module in userspace and allows the tools to access the JTAG cable without the need
15 for a proprietary kernel module.
16 </P>
17 <P>
18 The library uses <a href="">libusb</a> to access USB devices and the
4d2daea0 19 <a href="">ppdev</a> interface to communicate
026cbe49 20 with parallel cables. The parallel part currently only supports Parallel Cable III mode (and PCIV in
21 PCIII compatibility mode) as the faster PCIV modes use another kernel module which is not emulated by
22 this library. So you are limited to a 200kHz JTAG clock when using Parallel Cable IV with this software.
23 The USB cable is supported at full speed.
24 </P>
25 <P>
7606d470 26 Experimental support for FTDI 2232 based devices has been added. They are seen by Impact as a Parallel
27 Cable III. These devices are currently significantly slower than every other supported cable.
28 </P>
29 <P>
026cbe49 30 The library is called <i>libusb-driver</i> as it was developed to support the USB cable, but later
31 extended to also support parallel cables.
32 </P>
33 <P><B>News</B> (<I>2008-03-26</I>): Xilinx has released their own drivers based on libusb with ISE Design Suite 10.1.
34 To use them, you need to set the environment-variable <kbd>XIL_IMPACT_USE_LIBUSB</kbd> to <kbd>1</kbd>
35 before running the tools. The driver on this page no longer needs to be preloaded if you only used
36 it to access USB cables. Parallel port support still seems to rely on <i>windrvr</i>, which can be
37 emulated by <i>libusb-driver</i>.</P>
38 <P><B>Using 32-bit ISE 10.1 on a 64-bit platform:</B> When using the 32-bit JTAG tools from ISE Design
39 Suite 10.1 on a 64-bit machine, the tools will not connect to the cable but output the following
40 error: <I>Cable operation is not supported when running the 32-bit version of the application on a
41 64-bit platform.</I>
42 To fix this, run the tools with <KBD>linux32</KBD> or preload the newest 32-bit version of
43 <i>libusb-driver</i>. This will lead the tools to believe that they are running on a 32-bit
44 platform and allows them to connect to the cable.
45 </P>
026cbe49 46 <H2>Supported Cables</H2>
47 The following cables are reported to work with this driver:
48 <ul>
e9a331c7 49 <li><a href="">XILINX Platform Cable USB DLC9, DLC9LP and DLC9G</a></li>
026cbe49 50 <li><a href="">Integrated Platform Cable USB on Spartan 3E starter kit</a></li>
de6f38de 51 <li><a href="">Integrated Platform Cable USB on Spartan 3A starter kit</a></li>
20ce0945 52 <li><a href="">Integrated Platform Cable USB on XUP-V2Pro</a></li>
21a5b635 53 <li><a href="">XILINX Parallel Cable IV</a> (in Parallel Cable III compatibility mode)</li>
026cbe49 54 <li><a href="">Enterpoint Prog2</a> Parallel Cable III clone</li>
55 <li><a href="">Trenz TE0149-01</a> Parallel Cable III clone</li>
9ec5ba04 56 <li><a href=";Nav2=Cables&amp;Cat=Cable">Digilent JTAG3</a> Parallel Cable III clone</li>
7606d470 57 <li><a href="">Amontec JTAGkey-Tiny</a> (experimental)</li>
026cbe49 58 </ul>
78d5d21d 59 These cables should work but have not yet been tested:
60 <ul>
78d5d21d 61 <li>Integrated Platform Cable USB on other development boards</li>
62 <li>other Parallel Cable III clones</li>
7606d470 63 <li>other FTDI2232 based devices which use the chips standard JTAG pinout (experimental)</li>
78d5d21d 64 </ul>
026cbe49 65 <H2>Supported Software</H2>
66 The following software is reported to work with this driver:
67 <ul>
718362b4 68 <li><a href="">ISE Webpack 10.1</a></li>
04d489ad 69 <li><a href="">ISE Webpack 9.2 SP1, SP2, SP3 and SP4</a></li>
70 <li><a href="">ISE Webpack 9.1 SP1, SP2 and SP3</a></li>
71 <li><a href="">ISE Webpack 8.2 SP3</a></li>
72 <li><a href="">ISE Webpack 8.1 SP3</a></li>
718362b4 73 <li><a href="">ChipScope Pro 10.1</a></li>
04d489ad 74 <li><a href="">ChipScope Pro 9.2.01i, 9.2.02i, 9.2.03i and 9.2.04i</a></li>
59fab31f 75 <li><a href="">ChipScope Pro 9.1.02i and 9.1.03i</a></li>
026cbe49 76 <li><a href="">ChipScope Pro 8.2.04i</a></li>
718362b4 77 <li><a href="">EDK 10.1</a></li>
b9423a53 78 <li><a href="">EDK 9.2.01i and 9.2.02i</a></li>
59fab31f 79 <li><a href="">EDK 9.1.01i and 9.1.02i</a></li>
026cbe49 80 <li><a href="">EDK 8.2.02i</a></li>
2271fdf2 81 <li><a href="">EDK 8.1.02i</a></li>
337944d1 82 <li><a href="">Synplicity Identify Debugger</a></li>
026cbe49 83 </ul>
84 <H2>Download</H2>
85 <ul>
8d29f0a4 86 <li>Download <a href=";h=HEAD;sf=tgz">usb-driver-HEAD.tar.gz</a> (to build it, you need to have the libusb development package installed. It is called libusb-dev on Debian.)</li>
badd6a82 87 <li>Read the <a href=";f=README;hb=HEAD">README</a></li>
e9b47752 88 <li>Browse the <a href="">Git repository</a> (<a href="">Summary</a>)</li>
9ec5ba04 89 <li>Precompiled <a href=""></a> for Debian Etch, but better build your own</li>
b22eea29 90 <li>Clone the <a href="">Git</a> repository with: <kbd>git clone git://</kbd></li>
41d0a9f7 91 </ul>
92 <H2>Links</H2>
93 <ul>
94 <li><a href="">XILINX listened</a></li>
95 <li><a href="">Installation instructions using a MacBook running Ubuntu in VMware by Sven Andersson</a></li>
b3158171 96 <li><a href="">Using the libusb-driver on a 64bit system with a 32bit ISE by Ken Ryan</a></li>
9ec5ba04 97 <li><a href="">Ubuntu installation instructions by Luzerne</a></li>
41d0a9f7 98 <li><a href="">Ubuntu installation instructions by Paul-Armand Verhaegen</a></li>
9ec5ba04 99 <li><a href="">Initial announcement on comp.arch.fpga</a></li>
57d4107e 100 <li><a href="">XUP</a> by inisyn research, opensource JTAG programming for Spartan 3E starter kit USB cable</li>
101 <li><a href="">USB JTAG adapter</a> by Kolja Waschk, opensource integration of the XILINX platform cable USB into OpenOCD and openwince JTAG Tools</li>
295cadbc 102 <li><a href="">Spartan3 JTAG download tools for GNU/Linux (xc3sprog)</a></li>
026cbe49 103 </ul>
104 <HR>
f19a030c 105 <FONT SIZE="-1"><I><A HREF="">Michael Gernoth</A></I></FONT>
026cbe49 106 </BODY>
Impressum, Datenschutz