X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fk40.cfg;h=57aa849201dc5d0c236f9ed703e4079312fe1552;hb=9959297f2012eae7b810bb7d1c3679fafbee0fae;hp=26b952b9952a3aa3c49e7680c3918dd96cca2a95;hpb=ca45e700b1c57caca2ef08e665e3c7e3e02ac8d3;p=fw%2Fopenocd diff --git a/tcl/target/k40.cfg b/tcl/target/k40.cfg index 26b952b99..57aa84920 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