From: zwelch Date: Tue, 16 Jun 2009 12:17:26 +0000 (+0000) Subject: David Brownell : X-Git-Tag: v0.2.0~263 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c928fe0fa052cc93d7bb6bb02cdc86d805515bb1;p=openocd 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 --- 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;