summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/target/stm32.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/target/target/stm32.cfg b/src/target/target/stm32.cfg
index ed6cec4c..2c3e0709 100644
--- a/src/target/target/stm32.cfg
+++ b/src/target/target/stm32.cfg
@@ -36,11 +36,13 @@ if { [info exists BSTAPID ] } {
} else {
# See STM Document RM0008
# Section 26.6.2
- # Medium Density RevA
+ # Low density devices, Rev A
+ set _BSTAPID 0x06412041
+ # Medium density devices, Rev A
set _BSTAPID 0x06410041
- # Rev B and Rev Z
+ # Medium density devices, Rev B and Rev Z
set _BSTAPID 0x16410041
- # High Density Devices, Rev A
+ # High density devices, Rev A
set _BSTAPID 0x06414041
}
jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID