target: icepick: switch over to icepick_c_router 22/2622/2
authorFelipe Balbi <balbi@ti.com>
Thu, 19 Mar 2015 17:59:44 +0000 (12:59 -0500)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 10:22:07 +0000 (11:22 +0100)
Reusing what's already there to ease maintainability.

Change-Id: I2030581669c644e2d9d9f9968075ab6344445d04
Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-on: http://openocd.zylin.com/2622
Tested-by: jenkins
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/target/icepick.cfg

index 13a6a5106b8a68930ef1a7c4dad73670c912e3b8..3a0afdef24ffd34fb36da46d3feb295a19123563 100644 (file)
@@ -116,8 +116,7 @@ proc icepick_d_tapenable {jrc port} {
        icepick_c_connect $jrc
 
        # Select the port
        icepick_c_connect $jrc
 
        # Select the port
-       irscan $jrc [CONST IR_ROUTER] -endstate IRPAUSE
-       drscan $jrc 32 [expr 0xa0002108 + ($port << 24)] -endstate DRPAUSE
+       icepick_c_router $jrc 1 0x2 $port 0x2108
 
        # Set 4 bit core ID to the Cortex-A
        irscan $jrc [CONST IR_ROUTER] -endstate IRPAUSE
 
        # Set 4 bit core ID to the Cortex-A
        irscan $jrc [CONST IR_ROUTER] -endstate IRPAUSE

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)