]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
tcl/board: Add TI AM261 launchpad config
authorShivasharan Nagalikar <shivasharan.nagalikar@ti.com>
Fri, 21 Feb 2025 11:03:37 +0000 (16:33 +0530)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 15 Mar 2025 10:16:03 +0000 (10:16 +0000)
Add basic connection details with AM261 Launchpad.

For further details, see https://www.ti.com/tool/LP-AM261

Signed-off-by: Shivasharan Nagalikar <shivasharan.nagalikar@ti.com>
Change-Id: Ibf1270a8e470cc6ab5846dc3da64e451a8a769fd
Reviewed-on: https://review.openocd.org/c/openocd/+/8793
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Reviewed-by: Nishanth Menon <nm@ti.com>
tcl/board/ti_am261_launchpad.cfg [new file with mode: 0644]

diff --git a/tcl/board/ti_am261_launchpad.cfg b/tcl/board/ti_am261_launchpad.cfg
new file mode 100644 (file)
index 0000000..c6c4609
--- /dev/null
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
+#
+# Texas Instruments AM261 Launchpad
+# https://www.ti.com/tool/LP-AM261
+#
+
+# AM263 Launchpad has an xds110 onboard.
+source [find interface/xds110.cfg]
+
+transport select jtag
+
+# default JTAG configuration has only SRST and no TRST
+reset_config srst_only srst_push_pull
+
+# delay after SRST goes inactive
+adapter srst delay 20
+
+if { ![info exists SOC] } {
+       set SOC am261
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 250