From aa7441df6339a55abe21fa5aec66aab0afba7e00 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 28 Feb 2018 00:00:16 +0100 Subject: 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. --- openocd.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3