aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]tcl/target/stm32l.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/tcl/target/stm32l.cfg b/tcl/target/stm32l.cfg
index 27ebf828..1fa06f0f 100644..100755
--- a/tcl/target/stm32l.cfg
+++ b/tcl/target/stm32l.cfg
@@ -43,11 +43,12 @@ if { [info exists CPUTAPID] } {
# Section 24.6.3
set _CPUTAPID 0x4ba00477
} {
- set _CPUTAPID 0x2ba01477
+ set _CPUTAPID1 0x2ba01477
+ set _CPUTAPID2 0x0bc11477
}
}
-swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
+swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID1 -expected-id $_CPUTAPID2
if { [info exists BSTAPID] } {
# FIXME this never gets used to override defaults...