From 78d155c7b67c9e8ca6392f6bcc98befcac25af37 Mon Sep 17 00:00:00 2001 From: cyy_mac Date: Fri, 7 Aug 2026 19:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9openocd=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openocd.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openocd.cfg b/openocd.cfg index 08a6726..cdfe81a 100644 --- a/openocd.cfg +++ b/openocd.cfg @@ -3,6 +3,7 @@ transport select swd source [find target/stm32f4x.cfg] adapter speed 5000 -reset_config srst_only srst_nogate -gdb_port 3333 +# This DAPLink connection exposes SWDIO/SWCLK but does not reset the target +# through NRST. Let the Cortex-M target use SYSRESETREQ instead. +reset_config none $_TARGETNAME configure -gdb-max-connections 4