This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/474

-- gerrit

commit 2e03204f19fc3cb76b7e218d738e650d23d77f04
Author: Spencer Oliver <[email protected]>
Date:   Tue Feb 21 10:16:27 2012 +0000

    jtag: fix cmd scan_chain expected_ids bug
    
    This fixes scan_chain to correctly print all the expected_ids.
    
    Change-Id: I93738980d85e0fe369d40c58b19339424d37ec34
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index 819b267..c74df5e 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -957,7 +957,7 @@ COMMAND_HANDLER(handle_scan_chain_command)
 
                for (ii = 1; ii < tap->expected_ids_cnt; ii++) {
                        snprintf(expected_id, sizeof expected_id, "0x%08x",
-                               (unsigned) tap->expected_ids[1]);
+                               (unsigned) tap->expected_ids[ii]);
                        if (tap->ignore_version)
                                expected_id[2] = '*';
 

-- 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to