This is an automated email from Gerrit.

Mathias Küster ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/618

-- gerrit

commit 8a0f25a8b13999619d5cf9261ca8cacfa1f27053
Author: Mathias K <[email protected]>
Date:   Mon May 7 19:14:11 2012 +0200

    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 <[email protected]>

diff --git a/src/jtag/core.c b/src/jtag/core.c
index 99a9eb7..67e968d 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

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to