]> git.sur5r.net Git - openocd/commit
Update the jtag-examine_chain() logic to verify that there's no
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Sep 2009 00:04:35 +0000 (00:04 +0000)
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Sep 2009 00:04:35 +0000 (00:04 +0000)
commitd20103cd93641bca44f737b45004f495cb24a27f
treec289f34c42a9d8d438f27508a929e81056dcb145
parent48e96a18eddc73c1affccb2c397e044e09678095
Update the jtag-examine_chain() logic to verify that there's no
garbage after the expected data (from the TAPs' BYPASS or IDCODE
registers).

NOTE that there was previously some code that looked like it was
trying to do this ... which didn't work, because it was looping
over the list of expected TAPs, and never checked *after* that
list completed!  That could hide some *nasty* reset issues...

Also replace a now-obsolete scanchain length test with one that
behaves correctly; and update reporting of unexpected IDCODEs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2739 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/core.c