]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/str912.cfg
str9: ignore boundary scan version
[fw/openocd] / tcl / target / str912.cfg
index 57bf8b66f4b4f80c86a44c5460db489b5a32bef9..599a254a043354ae55b2157066214c06301c1552 100644 (file)
@@ -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