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
This commit is contained in:
oharboe 2008-08-04 06:54:58 +00:00
parent 54916e30bb
commit e4729b3b7a
1 changed files with 5 additions and 0 deletions

View File

@ -854,6 +854,11 @@ void jtag_add_pathmove(int num_states, enum tap_state *path)
for (i=0; i<num_states; i++) 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])&& if ((tap_transitions[cur_state].low != path[i])&&
(tap_transitions[cur_state].high != path[i])) (tap_transitions[cur_state].high != path[i]))
{ {