From: OpenOCD-Gerrit <ope...@us...> - 2020-04-05 14:16:15
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via eb427864e8b7f12fffe85327b03b9b9cdf397c1d (commit) from d14eac569c761b3026d32b4977edb371fa6b8fbe (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit eb427864e8b7f12fffe85327b03b9b9cdf397c1d Author: Edward Fewell <ef...@ti...> Date: Tue Mar 10 15:11:43 2020 -0500 tcl/target: Use vectreset for CC13xx/CC26xx targets. nSRST and sysreqreset are both broken for these targets. Upon a hard reset, the target disables the TDO/TDI pins and the ICEPick router will remove the target's TAP from the scan chain. The scripts to do these tasks are run, but then OpenOCD throws the reset again breaking the debug connection. Until that issue can be resolved, vectreset is the only reset that works without breaking the debug connection. Update: original patch didn't have the correct reset command. Change-Id: If7c985b703c87399a13364609d370d6222f4a66c Signed-off-by: Edward Fewell <ef...@ti...> Reviewed-on: http://openocd.zylin.com/5511 Tested-by: jenkins Reviewed-by: Tomas Vanek <va...@fb...> diff --git a/tcl/target/ti_cc26x0.cfg b/tcl/target/ti_cc26x0.cfg index 8d8a0df4e..f95d7b2fc 100644 --- a/tcl/target/ti_cc26x0.cfg +++ b/tcl/target/ti_cc26x0.cfg @@ -52,5 +52,4 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME cc26xx 0 0 0 0 $_TARGETNAME -reset_config srst_only -adapter srst delay 100 +cortex_m reset_config vectreset ----------------------------------------------------------------------- Summary of changes: tcl/target/ti_cc26x0.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |