diff --git a/src/target/target/stm32.cfg b/src/target/target/stm32.cfg index ed6cec4cd..2c3e07096 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