aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-10-17 16:10:17 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2023-11-11 18:46:46 +0000
commit5b878b6e8b23d4c4b7aa3bf157c262e4f8620882 (patch)
tree11447e342ed8335f3251e5e246f8d5f3207e0749 /tcl
parentcb60f75a56ba54b5a52da00add5312f94bb67c86 (diff)
downloadriscv-openocd-5b878b6e8b23d4c4b7aa3bf157c262e4f8620882.zip
riscv-openocd-5b878b6e8b23d4c4b7aa3bf157c262e4f8620882.tar.gz
riscv-openocd-5b878b6e8b23d4c4b7aa3bf157c262e4f8620882.tar.bz2
tcl/board: Add TI AM273 launchpad config
Add basic connection details with AM273 Launchpad For further details, see: https://www.ti.com/tool/LP-AM273 Change-Id: I88a02cdbccb65c185e808503d080cc1f12c909ae Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7951 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/ti_am273_launchpad.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/board/ti_am273_launchpad.cfg b/tcl/board/ti_am273_launchpad.cfg
new file mode 100644
index 0000000..c17170b
--- /dev/null
+++ b/tcl/board/ti_am273_launchpad.cfg
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Texas Instruments AM273 Launchpad
+# https://www.ti.com/tool/LP-AM273
+#
+
+# AM273 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 am273
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 250