aboutsummaryrefslogtreecommitdiffstats
path: root/support/openocd/debug_0.4.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'support/openocd/debug_0.4.cfg')
-rw-r--r--support/openocd/debug_0.4.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/openocd/debug_0.4.cfg b/support/openocd/debug_0.4.cfg
index bbc8864..7d6982a 100644
--- a/support/openocd/debug_0.4.cfg
+++ b/support/openocd/debug_0.4.cfg
@@ -24,7 +24,7 @@ jtag_nsrst_delay 100
jtag_ntrst_delay 100
#use combined on interfaces or targets that can't set TRST/SRST separately
-reset_config trst_and_srst
+reset_config srst_only
#jtag scan chain
if { [info exists CPUTAPID ] } {
@@ -67,8 +67,8 @@ $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-s
flash bank bank0 stm32x 0x08000000 0x00020000 0 0 $_TARGETNAME
proc nopforever {} {
- puts "Resetting the chip..."
- reset run
+ puts "Resetting the chip... Halting for debugger."
+ reset halt
}
init