]> git.sur5r.net Git - openocd/commit
ADIv5 DAP ops switching to JTAG or SWD modes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 27 Feb 2010 08:31:35 +0000 (00:31 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 27 Feb 2010 08:31:35 +0000 (00:31 -0800)
commit3ef9beb52cd0ed57ae6d28f7858001bfb68d7e86
tree65046a7e88480fdb5ce8229b29fd4246a4928be7
parent8c9b52e8b615198252ab53e1b5c7cf5f314c5ca1
ADIv5 DAP ops switching to JTAG or SWD modes

Define two new DAP operations which use the new jtag_add_tms_seq()
calls to put the DAP's transport into either SWD or JTAG mode, when
the hardware allows.

Tested with the Stellaris 'Recovering a "Locked" Device' procedure,
which loops five times over both of these.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h