X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=tcl%2Ftarget%2Fk40.cfg;h=b0f699401cb6bdc76c6be063e320093140e3d144;hb=a1bbf4b75bc68aeed3c72e37b302bb36757401c2;hp=ec5502884e49fb19b31fd0d07d691763b64de928;hpb=b7d2cdc0d4fc319169c60362708a67e2ff626525;p=openocd.git diff --git a/tcl/target/k40.cfg b/tcl/target/k40.cfg index ec5502884e..b0f699401c 100644 --- a/tcl/target/k40.cfg +++ b/tcl/target/k40.cfg @@ -31,9 +31,10 @@ swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPU target create $_TARGETNAME cortex_m -chain-position $_CHIPNAME.cpu -$_CHIPNAME.cpu configure -event examine-start { puts "START..." ; } -$_CHIPNAME.cpu configure -event examine-end { puts "END..." ; } +reset_config srst_nogate -# if srst is not fitted use SYSRESETREQ to -# perform a soft reset -cortex_m reset_config sysresetreq +if {![using_hla]} { + # if srst is not fitted use SYSRESETREQ to + # perform a soft reset + cortex_m reset_config sysresetreq +}