Fix idcode end of chain flag.

For multi core cpus with cores without an idcode this doesn't work
because the extra bit for every core and a n-bit shift in the data
stream.

Change-Id: Iba0ad9422ea55c01492b27b936d028719be31180
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/618
Tested-by: jenkins
Reviewed-by: Bill Traynor <wmat@alphatroop.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
__archive__
Mathias K 2012-05-09 16:24:35 +02:00 committed by Spencer Oliver
parent aeb3c4f37e
commit 5b0a131594
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ void jtag_sleep(uint32_t us)
/* A reserved manufacturer ID is used in END_OF_CHAIN_FLAG, so we /* A reserved manufacturer ID is used in END_OF_CHAIN_FLAG, so we
* know that no valid TAP will have it as an IDCODE value. * know that no valid TAP will have it as an IDCODE value.
*/ */
#define END_OF_CHAIN_FLAG 0x000000ff #define END_OF_CHAIN_FLAG 0xffffffff
/* a larger IR length than we ever expect to autoprobe */ /* a larger IR length than we ever expect to autoprobe */
#define JTAG_IRLEN_MAX 60 #define JTAG_IRLEN_MAX 60