aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-06-07 15:52:20 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-06-12 14:41:28 +0000
commitbbc193ef8d25243a8f7e861de3a8820206939e9c (patch)
tree6c3122dc650d917161fa4211e249d101b24c8595 /tcl
parent6ff1dc92fd9d06171b7c7cdf39238e83ee6637ac (diff)
str9: ignore boundary scan version
Ignore version of Boundary Scan TAP in newer revisions of the str9. Change-Id: I6e205f8c731f07078c469e686025857c180f3a6d Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1436 Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/str912.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcl/target/str912.cfg b/tcl/target/str912.cfg
index 57bf8b66..599a254a 100644
--- a/tcl/target/str912.cfg
+++ b/tcl/target/str912.cfg
@@ -39,9 +39,11 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
if { [info exists BSTAPID] } {
set _BSTAPID $BSTAPID
} else {
+ # possible values: 0x1457f041, 0x2457f041
+ # we ignore version in check below
set _BSTAPID 0x1457f041
}
-jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
+jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID -ignore-version
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm966e