Browse Source

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
tags/v0.2.0
zwelch 15 years ago
parent
commit
c928fe0fa0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/jtag/tcl.c

+ 1
- 1
src/jtag/tcl.c View File

@@ -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;


Loading…
Cancel
Save