From 4234dabd276478984417b7f53d43308d23bb1ed3 Mon Sep 17 00:00:00 2001 From: Robert Fisk Date: Mon, 11 Jul 2016 19:09:21 +1200 Subject: [PATCH] Use debugger's SRST to simultaneously reset both micros. --- OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg b/OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg index 41e0411..b8587ea 100644 --- a/OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg +++ b/OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg @@ -2,3 +2,10 @@ # set WORKAREASIZE 0x10000 source [find target/stm32f4x.cfg] + + +# Use SRST to synchronously reset both micros +reset_config srst_only + +# Not necessary: +#cortex_m reset_config srst