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