X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32f3x.cfg;h=31993ff80076ca03e0d68ccdd2be0b463c022944;hp=1f051434611a3015cffcc2e0cd98a1995468f7b8;hb=79d6d3cda90c6694343bde909978069994049ab7;hpb=9695564e6321b24edfc03cac555a914dcc7154f6 diff --git a/tcl/target/stm32f3x.cfg b/tcl/target/stm32f3x.cfg index 1f05143461..31993ff800 100644 --- a/tcl/target/stm32f3x.cfg +++ b/tcl/target/stm32f3x.cfg @@ -44,11 +44,12 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP if { [info exists BSTAPID] } { set _BSTAPID $BSTAPID } else { - # See STM Document RM0316 - # Section 29.6.2 - set _BSTAPID 0x06432041 + # STM Document RM0316 rev 2 Section 30.6.2 says 0x06432041 + # but STM32F303VCT6 rev Y has 0x06422041 + set _BSTAPID1 0x06422041 + set _BSTAPID2 0x06432041 } -jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID +jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME