The CC3220SF targets need a halt after a soft_reset_halt otherwise
they keep throwing Error: Could not write to register 'msp'

Signed-off-by: Dhruva Gole <d-g...@ti.com>
---
 tcl/target/ti_cc3220sf.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tcl/target/ti_cc3220sf.cfg b/tcl/target/ti_cc3220sf.cfg
index cf433637687e..f86001866000 100644
--- a/tcl/target/ti_cc3220sf.cfg
+++ b/tcl/target/ti_cc3220sf.cfg
@@ -26,6 +26,7 @@ flash bank $_FLASHNAME cc3220sf 0 0 0 0 $_TARGETNAME
 proc ocd_process_reset_inner { MODE } {
 
        soft_reset_halt
+       halt
 
        # Initialize MSP, PSP, and PC from vector table at flash 0x01000800
        set boot [read_memory 0x01000800 32 2]
-- 
2.34.1


Reply via email to