From 9ef76992b6788d08b366c132f7a9f4e7db9ef925 Mon Sep 17 00:00:00 2001
From: ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Wed, 3 Dec 2008 16:38:52 +0000
Subject: [PATCH] - incorrect str9 irmask used in config files

git-svn-id: svn://svn.berlios.de/openocd/trunk@1203 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/target/target/str910-eval.cfg  | 6 +++---
 src/target/target/str912.cfg       | 6 +++---
 src/target/target/str9comstick.cfg | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/target/target/str910-eval.cfg b/src/target/target/str910-eval.cfg
index df0ce379b..10a2100bc 100644
--- a/src/target/target/str910-eval.cfg
+++ b/src/target/target/str910-eval.cfg
@@ -20,7 +20,7 @@ if { [info exists FLASHTAPID ] } {
 } else {
    set _FLASHTAPID 0x04570041
 }
-jtag newtap $_CHIPNAME flash -irlen 8 -ircapture 0x1 -irmask 0xfe -expected-id $_FLASHTAPID
+jtag newtap $_CHIPNAME flash -irlen 8 -ircapture 0x1 -irmask 0x1 -expected-id $_FLASHTAPID
 
 
 if { [info exists CPUTAPID ] } {
@@ -28,14 +28,14 @@ if { [info exists CPUTAPID ] } {
 } else {
    set _CPUTAPID 0x25966041
 }
-jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0x1 -irmask 0xe -expected-id $_CPUTAPID
+jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
 
 if { [info exists BSTAPID ] } {
    set _BSTAPID $BSTAPID
 } else {
    set _BSTAPID 0x1457f041
 }
-jtag newtap $_CHIPNAME bs    -irlen 5 -ircapture 0x1 -irmask 0x1e -expected-id $_BSTAPID
+jtag newtap $_CHIPNAME bs    -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
 
 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
 target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm966e
diff --git a/src/target/target/str912.cfg b/src/target/target/str912.cfg
index a794d2b4e..705326b5e 100644
--- a/src/target/target/str912.cfg
+++ b/src/target/target/str912.cfg
@@ -26,14 +26,14 @@ if { [info exists FLASHTAPID ] } {
 } else {
    set _FLASHTAPID 0x04570041
 }
-jtag newtap $_CHIPNAME flash -irlen 8 -ircapture 0x1 -irmask 0xfe -expected-id $_FLASHTAPID
+jtag newtap $_CHIPNAME flash -irlen 8 -ircapture 0x1 -irmask 0x1 -expected-id $_FLASHTAPID
 
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
    set _CPUTAPID 0x25966041
 }
-jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0x1 -irmask 0xe -expected-id $_CPUTAPID
+jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
 
 
 if { [info exists BSTAPID ] } {
@@ -41,7 +41,7 @@ if { [info exists BSTAPID ] } {
 } else {
    set _BSTAPID 0x1457f041
 }
-jtag newtap $_CHIPNAME bs    -irlen 5 -ircapture 0x1 -irmask 0x1e -expected-id $_BSTAPID
+jtag newtap $_CHIPNAME bs    -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
 
 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
 target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm966e
diff --git a/src/target/target/str9comstick.cfg b/src/target/target/str9comstick.cfg
index eebfddfdd..2a2366e5f 100644
--- a/src/target/target/str9comstick.cfg
+++ b/src/target/target/str9comstick.cfg
@@ -23,7 +23,7 @@ if { [info exists CPUTAPID ] } {
 } else {
    set _CPUTAPID 0x25966041
 }
-jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0xf -irmask 0xe -expected-id $_CPUTAPID
+jtag newtap $_CHIPNAME cpu   -irlen 4 -ircapture 0xf -irmask 0xf -expected-id $_CPUTAPID
 
 
 if { [info exists BSTAPID ] } {
-- 
GitLab