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 <lro...@gmail.com>
---
 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 69678ee..19b2d70 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"
-- 
1.6.4.4

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to