diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-04 06:54:58 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-04 06:54:58 +0000 |
commit | e4729b3b7a5cfa30c19da4be7babfc074616fac6 (patch) | |
tree | deb7a4884f586810cb743360666ad20ca4edbb51 | |
parent | 54916e30bb8855338e570f657abe5e326a9824fa (diff) | |
download | openocd+libswd-e4729b3b7a5cfa30c19da4be7babfc074616fac6.tar.gz openocd+libswd-e4729b3b7a5cfa30c19da4be7babfc074616fac6.tar.bz2 openocd+libswd-e4729b3b7a5cfa30c19da4be7babfc074616fac6.tar.xz openocd+libswd-e4729b3b7a5cfa30c19da4be7babfc074616fac6.zip |
TAP_TLR won't work in a pathmove sequence. OpenOCD shouldn't and doesn't need to support this.
git-svn-id: svn://svn.berlios.de/openocd/trunk@886 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/jtag.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 05c6628b..04b3892d 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -854,6 +854,11 @@ void jtag_add_pathmove(int num_states, enum tap_state *path) for (i=0; i<num_states; i++) { + if (path[i] == TAP_TLR) + { + LOG_ERROR("BUG: TAP_TLR is not a valid state for pathmove sequences"); + exit(-1); + } if ((tap_transitions[cur_state].low != path[i])&& (tap_transitions[cur_state].high != path[i])) { |