From: OpenOCD-Gerrit <ope...@us...> - 2022-10-08 07:55:35
|
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 8bf5482754715f2e1b05be03de8780f26c305955 (commit) from d6ae732f6e1646742bb179c5247ea6a96acfc47e (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 8bf5482754715f2e1b05be03de8780f26c305955 Author: Nishanth Menon <nm...@ti...> Date: Thu Jul 14 16:37:54 2022 -0500 tcl/target/ti_k3: Handle swd vs jtag Since all the device definition when accessing device from jtag is also valid when accessing from swd, lets make sure the configuration can handle the same. Signed-off-by: Nishanth Menon <nm...@ti...> Change-Id: I5af071137fd8c3b52cc4ef72401f8eba952f9cad Reviewed-on: https://review.openocd.org/c/openocd/+/7090 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index 254bb6971..2454357fc 100644 --- a/tcl/target/ti_k3.cfg +++ b/tcl/target/ti_k3.cfg @@ -12,6 +12,8 @@ # Has 2 ARMV8 Cores and 4 R5 Cores, M4F and an M3 # +source [find target/swj-dp.tcl] + if { [info exists SOC] } { set _soc $SOC } else { @@ -164,7 +166,8 @@ switch $_soc { } } -jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_K3_DAP_TAPID -ignore-version +swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_K3_DAP_TAPID -ignore-version + dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu ----------------------------------------------------------------------- Summary of changes: tcl/target/ti_k3.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |