diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2016-08-24 11:18:41 +0200 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-12-08 12:18:52 +0000 |
commit | 25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f (patch) | |
tree | 9e7337a735688314f87335ad376f771550a2ceeb | |
parent | bcaf775fc10d88d2c63c06bafada141895318b34 (diff) | |
download | riscv-openocd-25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f.zip riscv-openocd-25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f.tar.gz riscv-openocd-25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f.tar.bz2 |
tcl at91samdXX.cfg: update config to current OpenOCD status
Remove comment about workaround of not working 'reset halt' - not needed
as 'reset halt' is working as expected @ EDBG with srst_only.
Add srst_pulls_trst to reset_config as it no more triggers an error.
Change-Id: I47cf445690c46ccfb866900cddbfcaefc8649f82
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3722
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r-- | tcl/target/at91samdXX.cfg | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tcl/target/at91samdXX.cfg b/tcl/target/at91samdXX.cfg index 47b4f5f..9a3c292 100644 --- a/tcl/target/at91samdXX.cfg +++ b/tcl/target/at91samdXX.cfg @@ -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 |