From 3859646e13ed52983ff24d4f69648d00d0873ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Tue, 18 Jun 2024 16:11:40 +0100 Subject: [PATCH] Debug: backup openocd work area, fix crash after fresh debugger connect and continue (#3722) --- scripts/debug/stm32wbx.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debug/stm32wbx.cfg b/scripts/debug/stm32wbx.cfg index ba383831b..4fc9c8d2c 100644 --- a/scripts/debug/stm32wbx.cfg +++ b/scripts/debug/stm32wbx.cfg @@ -44,7 +44,7 @@ if {[using_jtag]} { set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap -$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 +$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 1 set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME stm32l4x 0 0 0 0 $_TARGETNAME