This is an automated email from Gerrit. "Nishanth Menon <n...@ti.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7090
-- gerrit commit d8950689694a12e553f162f52a03f923dc368b16 Author: Nishanth Menon <n...@ti.com> 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 <n...@ti.com> Change-Id: I5af071137fd8c3b52cc4ef72401f8eba952f9cad diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index 254bb69716..ea772372da 100644 --- a/tcl/target/ti_k3.cfg +++ b/tcl/target/ti_k3.cfg @@ -164,7 +164,12 @@ switch $_soc { } } -jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_K3_DAP_TAPID -ignore-version +if {[using_jtag]} { + jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_K3_DAP_TAPID -ignore-version +} else { + swd newdap $_CHIPNAME cpu -expected-id $_K3_DAP_TAPID -ignore-version +} + dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu --