From 917f92f0525f405802d2b4d5a2d3ea12c427ebfd Mon Sep 17 00:00:00 2001
From: ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Wed, 1 Jul 2009 10:29:10 +0000
Subject: [PATCH] - add stm32 connectivity line tapid to stm32.cfg

git-svn-id: svn://svn.berlios.de/openocd/trunk@2440 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 tcl/target/stm32.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32.cfg
index d3f60feb3..04cee2349 100644
--- a/tcl/target/stm32.cfg
+++ b/tcl/target/stm32.cfg
@@ -52,8 +52,10 @@ if { [info exists BSTAPID ] } {
   set _BSTAPID3 0x16410041
   # High density devices, Rev A
   set _BSTAPID4 0x06414041
+  # Connectivity line devices, Rev A and Rev Z
+  set _BSTAPID5 0x06418041
 }   
-jtag newtap $_CHIPNAME bs  -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 -expected-id $_BSTAPID4
+jtag newtap $_CHIPNAME bs  -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 -expected-id $_BSTAPID3 -expected-id $_BSTAPID4 -expected-id $_BSTAPID5
 
 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
 target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME
-- 
GitLab