openocd/src/jtag
David Brownell a3245bd7cd interface: define TMS sequence command
For support of SWD we need to be able to clock out special bit
sequences over TMS or SWDIO.  Create this as a generic operation,
not yet called by anything, which is split as usual into:

 - upper level abstraction ... here, jtag_add_tms_seq();
 - midlayer implementation logic hooking that to the lowlevel code;
 - lowlevel minidriver operation ... here, interface_add_tms_seq();
 - message type for request queue, here JTAG_TMS.

This is done slightly differently than other operations: there's a flag
saying whether the interface driver supports this request.  (In fact a
flag *word* so upper layers can learn about other capabilities too ...
for example, supporting SWD operations.)

That approach (flag) lets this method *eventually* be used to eliminate
pathmove() and statemove() support from most adapter drivers, by moving
all that logic into the mid-layer and increasing uniformity between the
various drivers.  (Which will in turn reduce subtle bugginess.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-27 00:12:38 -08:00
..
drivers interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
minidriver minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
minidummy interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
zy1000 interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
commands.c minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
commands.h interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
core.c interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
interface.c move ARRAY_SIZE macro to types.h 2009-11-16 09:58:11 -08:00
interface.h interface: define TMS sequence command 2010-02-27 00:12:38 -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 interface: define TMS sequence command 2010-02-27 00:12:38 -08:00
Makefile.am minidriver: fix inline capability of minidriver 2009-12-08 10:29:58 +01:00
minidriver.h interface: define TMS sequence command 2010-02-27 00:12:38 -08: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