X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fk40.cfg;h=57aa849201dc5d0c236f9ed703e4079312fe1552;hb=9e001244da2a2c472038ce1af0df32cfb2329569;hp=26b952b9952a3aa3c49e7680c3918dd96cca2a95;hpb=ca45e700b1c57caca2ef08e665e3c7e3e02ac8d3;p=openocd.git diff --git a/tcl/target/k40.cfg b/tcl/target/k40.cfg index 26b952b995..57aa849201 100644 --- a/tcl/target/k40.cfg +++ b/tcl/target/k40.cfg @@ -33,3 +33,7 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu $_CHIPNAME.cpu configure -event examine-start { puts "START..." ; } $_CHIPNAME.cpu configure -event examine-end { puts "END..." ; } + +# if srst is not fitted use SYSRESETREQ to +# perform a soft reset +cortex_m3 reset_config sysresetreq