This is an automated email from Gerrit.

Edward Fewell (efew...@ti.com) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/5488

-- gerrit

commit 26e17393b93d10b944696e8e77d6889f85214664
Author: Edward Fewell <efew...@ti.com>
Date:   Mon Mar 2 12:22:12 2020 -0600

    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 <efew...@ti.com>

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

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to