diff options
author | Luca Ellero <lroluk@gmail.com> | 2011-02-07 22:47:15 +0000 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-02-08 09:51:54 +0100 |
commit | 6684b35346fc10626041e1b2fef060786bf98a95 (patch) | |
tree | 286439daa8bef54aa293719ee1cf62801d1545c6 | |
parent | 08bf273def9dcd4bae020f1fc2edecb835f6f32e (diff) | |
download | openocd_libswd-6684b35346fc10626041e1b2fef060786bf98a95.tar.gz openocd_libswd-6684b35346fc10626041e1b2fef060786bf98a95.tar.bz2 openocd_libswd-6684b35346fc10626041e1b2fef060786bf98a95.tar.xz openocd_libswd-6684b35346fc10626041e1b2fef060786bf98a95.zip |
omap4430: Add JRC TAPID for PandaBoard REV EA1 (PEAP platforms)
PandaBoard REV EA1 (Panda Early Adopter Program) has a different ID.
This patch add alternate REV EA1 TAP id to configuration file
Signed-off-by: Luca Ellero <lroluk@gmail.com>
-rw-r--r-- | tcl/target/omap4430.cfg | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tcl/target/omap4430.cfg b/tcl/target/omap4430.cfg index 69678eec..19b2d707 100644 --- a/tcl/target/omap4430.cfg +++ b/tcl/target/omap4430.cfg @@ -54,11 +54,21 @@ jtag configure $_CHIPNAME.m30_dap -event tap-enable \ if { [info exists JRC_TAPID ] } { set _JRC_TAPID $JRC_TAPID } else { - set _JRC_TAPID 0x3b95c02f + set _JRC_TAPID 0x3b95c02f + set _JRC_TAPID2 0x1b85202f } +# PandaBoard REV EA1 (PEAP platforms) +if { [info exists JRC_TAPID2 ] } { + set _JRC_TAPID2 $JRC_TAPID2 +} else { + set _JRC_TAPID2 0x1b85202f +} + + + jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \ - -expected-id $_JRC_TAPID + -expected-id $_JRC_TAPID -expected-id $_JRC_TAPID2 # Required by ICEpick to power-up the debug domain jtag configure $_CHIPNAME.jrc -event post-reset "runtest 200" |