tcl: Support for Analog Devices ADSP-SC58x
[fw/openocd] / tcl / target / at91samdXX.cfg
index 50d93f59035a367a7f8275d83e020443bac760ca..9a3c29282aa8fa5f29a380e5f5cfe9519549cc2b 100644 (file)
@@ -1,5 +1,5 @@
 #
-# script for Atmel SAMD, SAMR, SAML or SAMC, a CORTEX-M0 chip
+# script for Atmel SAMD, SAMR, SAML or SAMC, a Cortex-M0 chip
 #
 
 #
@@ -50,13 +50,7 @@ $_TARGETNAME configure -event reset-deassert-post {
 }
 
 # SRST (wired to RESET_N) resets debug circuitry
-# srst_pulls_trst is not configured here to avoid an error raised in reset halt
-reset_config srst_gates_jtag
-
-# Atmel's EDBG (on-board cmsis-dap adapter of Xplained kits) cannot
-# stop the MCU before it starts executing code if hardware RESETN
-# line is configured by command "reset_config srst_only"
-# Use "reset_config none" (default) before flash programming.
+reset_config srst_gates_jtag srst_pulls_trst
 
 # Do not use a reset button with other SWD adapter than Atmel's EDBG.
 # DSU usually locks MCU in reset state until you issue a reset command