From 5b0a1315948252ddde03fc74763ef8300c5f329c Mon Sep 17 00:00:00 2001 From: Mathias K Date: Wed, 9 May 2012 16:24:35 +0200 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/618 Tested-by: jenkins Reviewed-by: Bill Traynor Reviewed-by: Spencer Oliver --- src/jtag/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/core.c b/src/jtag/core.c index 63f319a3..55abe759 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -894,7 +894,7 @@ void jtag_sleep(uint32_t us) /* 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. */ -#define END_OF_CHAIN_FLAG 0x000000ff +#define END_OF_CHAIN_FLAG 0xffffffff /* a larger IR length than we ever expect to autoprobe */ #define JTAG_IRLEN_MAX 60 -- 2.39.5