aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-10-17 16:02:44 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2023-11-11 18:46:17 +0000
commit17f34355e550900c6563431c35517c8e082cd5e2 (patch)
tree1b886ea8899a50934db830e51515628130a89919 /tcl
parente4e94a355d4cfd79a98df8ceefa8432a3a14d076 (diff)
downloadriscv-openocd-17f34355e550900c6563431c35517c8e082cd5e2.zip
riscv-openocd-17f34355e550900c6563431c35517c8e082cd5e2.tar.gz
riscv-openocd-17f34355e550900c6563431c35517c8e082cd5e2.tar.bz2
tcl/board: Add TI AM263 launchpad config
Add basic connection details with AM263 Launchpad For further details, see: https://www.ti.com/tool/LP-AM263 Change-Id: I94c7a9ca70734ae89c6df3f02137d5bd32fde774 Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7949 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/ti_am263_launchpad.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/board/ti_am263_launchpad.cfg b/tcl/board/ti_am263_launchpad.cfg
new file mode 100644
index 0000000..a07a21b
--- /dev/null
+++ b/tcl/board/ti_am263_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 AM263 Launchpad
+# https://www.ti.com/tool/LP-AM263
+#
+
+# 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 am263
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 250