diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-16 12:17:26 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-16 12:17:26 +0000 |
commit | c928fe0fa052cc93d7bb6bb02cdc86d805515bb1 (patch) | |
tree | 4f5717838f19142272321e11d67e0d1d8ab38c40 | |
parent | a0c10dd29b84e7e9238fa6652c8f7cea3c14fc14 (diff) | |
download | openocd+libswd-c928fe0fa052cc93d7bb6bb02cdc86d805515bb1.tar.gz openocd+libswd-c928fe0fa052cc93d7bb6bb02cdc86d805515bb1.tar.bz2 openocd+libswd-c928fe0fa052cc93d7bb6bb02cdc86d805515bb1.tar.xz openocd+libswd-c928fe0fa052cc93d7bb6bb02cdc86d805515bb1.zip |
David Brownell <david-b@pacbell.net>:
Fix a bug preventing ICEpick "enable that TAP" code from working:
the "runtest" command wrongly finished with a JTAG reset, discarding
the work the TAP enable handler just finished! Instead, JTAG should
stay in RUN/IDLE state.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2252 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index ec74a9e1..fc2671e2 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -1130,7 +1130,7 @@ static int handle_runtest_command(struct command_context_s *cmd_ctx, if (ERROR_OK != retval) return retval; - jtag_add_runtest(num_clocks, jtag_get_end_state()); + jtag_add_runtest(num_clocks, TAP_IDLE); jtag_execute_queue(); return ERROR_OK; |