From: Luca Ellero Date: Mon, 7 Feb 2011 22:47:15 +0000 (+0000) Subject: omap4430: Add JRC TAPID for PandaBoard REV EA1 (PEAP platforms) X-Git-Tag: v0.5.0-rc1~191 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6684b35346fc10626041e1b2fef060786bf98a95;p=openocd 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 --- 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"