summaryrefslogtreecommitdiff
path: root/src/jtag/adapter.c
Commit message (Collapse)AuthorAgeFilesLines
* JTAG/ADP: Minor debug message update.Tomek CEDRO2011-07-281-1/+1
|
* TRANSPORT: Supported transport names lists are now declared by ↵Tomek CEDRO2011-06-251-2/+1
| | | | src/transport.h and defined by src/transport.c. Multiple definitions of 'jtag_only' were removed and code was updated to use 'oocd_transport_jtag_only' (also updated headers if necessary) as defined by src/transport.
* INTERFACE/SIGNAL: Added "find" option to tcl command interface_signal. Fixed ↵Tomek CEDRO2011-06-211-3/+26
| | | | "del" command. Added syntax check. Minor backend cosmetics.
* ADAPTER: Implemented TCL support for interface signal management ↵Tomek CEDRO2011-06-161-0/+71
| | | | (interface_signal command that supports add/del/list parameters).
* ADAPTER: Fixed transport selection mechanism to support transports other ↵Tomek CEDRO2011-06-161-8/+3
| | | | than jtag (if defined).
* transport: move files over to transport folderØyvind Harboe2011-06-131-1/+1
| | | | | | as we introduce swd and jtag as two transports, we want to start up with a new transport folder to organize the code a bit.
* adapter.c: missing space in handle_interface_commandSpencer Oliver2010-07-121-1/+1
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* transport selection tweaksDavid Brownell2010-07-091-2/+22
| | | | | | | | | | | | * Bugfix and simplify legacy jtag-only defaulting * Make "dummy" declare its jtag-only nature * likewise update ft2232 * warn if selection is _required_ (multi-transport adapters), fixes the "only ft2232 works" bug for at least dummy, with other drivers going the "legacy" path (submit patches). Signed-off-by: David Brownell <db@helium.(none)>
* transport: fix bug/typo in interface_transports commandØyvind Harboe2010-07-071-1/+2
| | | | | | | Classic manifestation of weakness of dangling { formatting :-) Hard to spot these sort of mistakes visually. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* initial "transport" frameworkDavid Brownell2010-07-021-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)>
* adapter: allow adjusting srst assert withmichal smulski2010-04-241-0/+24
| | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* jtag/tcl.c cleanup -- split out "adapter.c"David Brownell2010-03-271-0/+459
Clean up the jtag/tcl.c file, which was one of the biggest and messiest ones in that directory. Do it by splitting out all the generic adapter commands to a separate "adapter.c" file (leaving the "tcl.c" file holding only JTAG utilities). Also rename the little-used "jtag interface" to "adapter_name", which should have been at least re-categorized earlier (it's not jtag-only). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>