summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-28 00:00:16 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-28 00:00:16 +0100
commitaa7441df6339a55abe21fa5aec66aab0afba7e00 (patch)
tree5f4d46d6e031ff59d75a50258e8b2f372e05037b
parent11eb99aad4363c8dc548991a255364b42ab542ce (diff)
openocd.cfg: add connect_assert_srst to the reset configuration
OpenOCD doesn't assert SRST by default, which prevents the flash from being programmed since the firmware is running.
-rw-r--r--openocd.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/openocd.cfg b/openocd.cfg
index fa08472..3dc4e77 100644
--- a/openocd.cfg
+++ b/openocd.cfg
@@ -1,5 +1,5 @@
source [find interface/ftdi/flyswatter2.cfg]
source [find target/stm32f4x.cfg]
-reset_config trst_and_srst srst_nogate
+reset_config trst_and_srst srst_nogate connect_assert_srst
init