X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32l4x.cfg;h=9cad7c492c6b2ea29a905b7dfbd48f4d439324a2;hb=refs%2Fchanges%2F85%2F3385%2F3;hp=dec006985a3a1dda58bc4403e637fcfe8af3a591;hpb=20466e5374e563a61b3c4c859265623451be463c;p=openocd.git diff --git a/tcl/target/stm32l4x.cfg b/tcl/target/stm32l4x.cfg index dec006985a..9cad7c492c 100644 --- a/tcl/target/stm32l4x.cfg +++ b/tcl/target/stm32l4x.cfg @@ -37,17 +37,8 @@ if { [info exists CPUTAPID] } { swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID -if { [info exists BSTAPID] } { - set _BSTAPID $BSTAPID -} else { - # See STM Document RM0351 - # Section 44.6.3 - # STM32L4X6 - set _BSTAPID1 0x06415041 -} - if {[using_jtag]} { - swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 + jtag newtap $_CHIPNAME bs -irlen 5 } set _TARGETNAME $_CHIPNAME.cpu