From 76ba9bd0b373e0bddfe944e411550b0a0304b238 Mon Sep 17 00:00:00 2001 From: Edward Fewell Date: Mon, 2 Mar 2020 12:22:12 -0600 Subject: tcl/target: Use sysresetreq for MSP432 targets Confirmed that sysresetreq is supported and works better for MSP432P4 and MSP432E4 targets than srst that was previously being used. Tested on MSP432P4111, MSP432P401R, and MSP432E401Y Launchpads. Change-Id: I1454c3379b9300bc133f82a766daeaefb98dbaac Signed-off-by: Edward Fewell Reviewed-on: http://openocd.zylin.com/5488 Tested-by: jenkins Reviewed-by: Antonio Borneo --- tcl/target/ti_msp432.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcl') diff --git a/tcl/target/ti_msp432.cfg b/tcl/target/ti_msp432.cfg index 146e7ee..77f81da 100644 --- a/tcl/target/ti_msp432.cfg +++ b/tcl/target/ti_msp432.cfg @@ -42,10 +42,10 @@ if { [info exists WORKAREASIZE] } { set _WORKAREASIZE 0x4000 } + $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME msp432 0 0 0 0 $_TARGETNAME -reset_config srst_only -adapter srst delay 100 +cortex_m reset_config sysresetreq -- cgit v1.1