tinyriscv-openocd/src
David Brownell 93f2afa45f initial "transport" framework
This adds the guts of a transport framework with initialization,
which should work with current JTAG-only configurations (tested
with FT2232).

Each debug adapter can declare the transports it supports, and
exactly one transport is initialized.  (with its commands) in
any given OpenOCD session.

  * Define a new "struct transport with init hooks and a few
 "transport"  subcommands to support it:

     "list" ... list the transports configured (just "jtag" for now)
     "select" ... makes the debug session use that transport
     "init" ... initializes the selected transport (internal)

  * "interface_transports" ... declares transports the current interface
    can support.  (Some will do this from C code instead, when there are
    no hardware versioning (or other) issues to prevent it.

Plus some FT2232 tweaks, including a few to streamline upcoming
support for an SWD transport (initially for Luminary adapters).

Eventually src/jtag should probably become src/transport, moving
jtag-specific stuff  to transport/jtag.

Signed-off-by: David Brownell <db@helium.(none)>
2010-07-02 16:45:28 -04:00
..
flash at91sam3s* support 2010-06-25 21:37:53 +02:00
helper helper/jim-eventloop.h: review unused definitions 2010-06-21 22:14:12 +08:00
jtag initial "transport" framework 2010-07-02 16:45:28 -04:00
pld PLD: review scope of functions 2010-04-10 17:06:16 +08:00
server gdb-server: fix -Wshadow warning 2010-06-17 15:41:07 +02:00
svf svf: -Wshadow warning fixes 2010-06-16 08:17:27 +02:00
target arm11: fix gaffe in no-ack transfers 2010-06-23 11:10:30 +02:00
xsvf xsvf: Fix shadow issues on Mac 2010-06-22 08:24:26 +02:00
Makefile.am Driver for USB-JTAG, Altera USB-Blaster and compatibles 2009-12-26 15:05:06 -08:00
ecosboard.c NOR/DRIVERS: review scope of functions 2010-04-10 19:38:15 +08:00
hello.c HELLO: review unused symbols 2010-04-10 17:23:06 +08:00
hello.h HELLO: review unused symbols 2010-04-10 17:23:06 +08:00
main.c add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
openocd.c initial "transport" framework 2010-07-02 16:45:28 -04:00
openocd.h remove #if logic for openocd_sleep_*lude 2009-12-02 13:26:26 -08:00