openocd/src/jtag
Mariano Alvira 4a64820f23 ft2232: add a mechanism to specify channel in layout structs
FT2232-family chips have two or more MPSSE modules.   FTDI documentation
calls these channels.  JTAG adapter drivers thus need to be able to choose
which channel to use.  (For example, one channel may connect to a board's
microcontroller, while another connects to a CPLD.)

Since each channel has its own USB interface, libftdi (somewhat confusingly)
identifies channels using INTERFACE_* symbols.  Most boards use INTERFACE_A
for JTAG, which is the default in OpenOCD.  But some wire up a different one.

Note that there are two facets of what makes a wiring "layout":

 - The mapping between debug signals map and channel signals ... embedded
   in C functions.

 - Label used in Tcl configuration scripts ... part of the "layout" structure.

By letting the channel be part of the layout struct, we permit sharing the C
functions between Tcl-visible layouts, when those signal mappings are reused.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-25 00:01:55 -08:00
..
drivers ft2232: add a mechanism to specify channel in layout structs 2010-02-25 00:01:55 -08:00
minidriver minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
minidummy minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
zy1000 arm11: improve performance using minidriver hook 2010-02-22 10:15:51 +01:00
commands.c minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
commands.h minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
core.c JTAG: fix bug when no interface connected 2010-02-03 13:09:24 +00:00
interface.c move ARRAY_SIZE macro to types.h 2009-11-16 09:58:11 -08:00
interface.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
interfaces.c Driver for USB-JTAG, Altera USB-Blaster and compatibles 2009-12-26 15:05:06 -08:00
interfaces.h change #include "interface.h" to <jtag/interface.h> 2009-12-03 04:22:52 -08:00
jtag.h jtag.h whitespace/comment cleanup 2010-01-14 14:38:24 -08:00
Makefile.am minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
minidriver.h minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
startup.tcl gdb: restore behavior from 0.3.1 for srst_asserted and power_restore 2010-02-01 13:45:09 +01:00
tcl.c commands: allow scan_chain command to be executed during config 2010-01-18 21:42:34 +01:00