Hi!

As discussed, here's a patch for the double-reset problem on STM32.

I've tested downloading and debugging with GDB and Eclipse, and everything seems to work fine.

This effectively sets reset_config to none. tsrt_only would also be ok, but that's better left to a board configuration file.
diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32.cfg
index 619824c..242bbbe 100644
--- a/tcl/target/stm32.cfg
+++ b/tcl/target/stm32.cfg
@@ -26,9 +26,6 @@ jtag_khz 1000
 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
-
 #jtag scan chain
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to