From c928fe0fa052cc93d7bb6bb02cdc86d805515bb1 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 16 Jun 2009 12:17:26 +0000 Subject: [PATCH] David Brownell : 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 --- src/jtag/tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5