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/+/7091
-- gerrit commit 36841a90bb10813594dde3e3336c4d1a5cc1278a Author: Nishanth Menon <n...@ti.com> Date: Thu Jul 14 16:37:54 2022 -0500 tcl/interface: Add am625 native swd configuration Direct memory driver swd native configuration for am625 Signed-off-by: Nishanth Menon <n...@ti.com> Signed-off-by: Jason Peck <jp...@ti.com> Change-Id: I6cf521fe9af0a4b8f8ab4853bc25722368b713e6 diff --git a/tcl/interface/ti_k3_am625-swd-native.cfg b/tcl/interface/ti_k3_am625-swd-native.cfg new file mode 100644 index 0000000000..d5a9bba36c --- /dev/null +++ b/tcl/interface/ti_k3_am625-swd-native.cfg @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2022 Texas Instruments Incorporated - http://www.ti.com/ +# +# Texas Instruments am625 +# Link: https://www.ti.com/product/AM625 +# +# This configuration file is used as a self hosted debug configuration that +# works on every AM625 platform based on firewall configuration permitted +# in the system. +# +# In this system openOCD runs on one of the CPUs inside AM625 and provides +# network ports that can then be used to debug the microcontrollers on the +# SoC - either self hosted IDE OR remotely. + +# We are using dmem, which uses dapdirect_swd transport +adapter driver dmem + +# DAPBUS (Debugger) description +dmem base_address 0x740002000 +dmem ap_address_offset 0x100 +dmem max_aps 10 + +# The following are the details of APs to be emulated for direct address access. +# Debug Config (Debugger) description +dmem emu_base_address 0x760000000 0x1d500000 +dmem emu_ap_list 1 + +if { ![info exists SOC] } { + set SOC am625 +} + +source [find target/ti_k3.cfg] + +adapter speed 2500 --