This is an automated email from Gerrit. "Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9060
-- gerrit commit 7046b4af8508c70129c497c938d91c5f269f80aa Author: Tomas Vanek <[email protected]> Date: Mon Jul 28 09:36:18 2025 +0200 tcl/target/atsamv: disable watchdog in reset-init event Prevent disrupting of 'flash erase_check' or 'flash verify_image' running longer than 16 seconds. Change-Id: I545a1155ac0d237c49f2f3a27235d8a67df2a61b Signed-off-by: Tomas Vanek <[email protected]> diff --git a/tcl/target/atsamv.cfg b/tcl/target/atsamv.cfg index 1adf1af0ed..9fd89795b6 100644 --- a/tcl/target/atsamv.cfg +++ b/tcl/target/atsamv.cfg @@ -41,6 +41,11 @@ target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap $_TARGETNAME configure -work-area-phys 0x20400000 -work-area-size $_WORKAREASIZE -work-area-backup 0 +$_TARGETNAME configure -event reset-init { + # WDT_MR = WDDIS (disable watchdog) + mww 0x400E1854 0x8000 +} + adapter speed 1800 if {![using_hla]} { --
