tcl/target: Use sysresetreq for MSP432 targets 88/5488/2
authorEdward Fewell <efewell@ti.com>
Mon, 2 Mar 2020 18:22:12 +0000 (12:22 -0600)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 24 Mar 2020 17:17:22 +0000 (17:17 +0000)
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 <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/5488
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/ti_msp432.cfg

index 146e7ee..77f81da 100644 (file)
@@ -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