X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fk60.cfg;h=a368e0b26dad73161ca6a8e24ab5e4a544ec02dc;hb=9c4d2946548f72d77f103b978ab30501d5953f04;hp=a85fa909bf1240167e2d2756619e8ce3ecbb81d6;hpb=2ce4e31bbcfabc06b7ac71d2e507e707d293c5c0;p=openocd.git diff --git a/tcl/target/k60.cfg b/tcl/target/k60.cfg index a85fa909bf..a368e0b26d 100644 --- a/tcl/target/k60.cfg +++ b/tcl/target/k60.cfg @@ -29,11 +29,13 @@ set _TARGETNAME $_CHIPNAME.cpu swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID -target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.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..." ; } -# if srst is not fitted use SYSRESETREQ to -# perform a soft reset -cortex_m3 reset_config sysresetreq +if {![using_hla]} { + # if srst is not fitted use SYSRESETREQ to + # perform a soft reset + cortex_m reset_config sysresetreq +}