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.
---
 src/jtag/tcl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
---
 src/jtag/tcl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -1130,7 +1130,7 @@ static int handle_runtest_command(struct
 	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;
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to