diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-26 14:19:27 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-26 14:19:27 +0000 |
commit | 3e685d0bbec1d8cc36eabe0e5125a7fb06ddc2fa (patch) | |
tree | ec1f71c6931552d78a7bfb11fd17156637d3589f | |
parent | bdbc833bacd6b78612806393cf0122ea702221e2 (diff) | |
download | openocd_libswd-3e685d0bbec1d8cc36eabe0e5125a7fb06ddc2fa.tar.gz openocd_libswd-3e685d0bbec1d8cc36eabe0e5125a7fb06ddc2fa.tar.bz2 openocd_libswd-3e685d0bbec1d8cc36eabe0e5125a7fb06ddc2fa.tar.xz openocd_libswd-3e685d0bbec1d8cc36eabe0e5125a7fb06ddc2fa.zip |
oopss.. another jtag minidriver reset gaffe.
git-svn-id: svn://svn.berlios.de/openocd/trunk@352 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/jtag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 7bb98e96..9268d3cb 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -905,8 +905,8 @@ int jtag_add_reset(int req_trst, int req_srst) if (trst_with_tms) { jtag_call_event_callbacks(JTAG_TRST_ASSERTED); - cmd_queue_cur_state = TAP_TLR; - cmd_queue_end_state = TAP_TLR; + jtag_add_end_state(TAP_TLR); + jtag_add_statemove(TAP_TLR); return ERROR_OK; } @@ -916,7 +916,7 @@ int jtag_add_reset(int req_trst, int req_srst) /* we just asserted nTRST, so we're now in Test-Logic-Reset, * and inform possible listeners about this */ - jtag_add_statemove(TAP_TLR); + cmd_queue_cur_state = TAP_TLR; jtag_call_event_callbacks(JTAG_TRST_ASSERTED); } else |