aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-10-17 15:53:59 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2023-11-11 18:45:39 +0000
commitba39343e3d5e1c8878f314e496172d829c22e231 (patch)
tree1ff8b69e54302bac78a939afab25c86d67ddb7e3 /tcl
parenta646057c7eaf52e077afac98405c2aa2fa7d96bb (diff)
downloadriscv-openocd-ba39343e3d5e1c8878f314e496172d829c22e231.zip
riscv-openocd-ba39343e3d5e1c8878f314e496172d829c22e231.tar.gz
riscv-openocd-ba39343e3d5e1c8878f314e496172d829c22e231.tar.bz2
tcl/board: Add TI AM243 launchpad config
Add basic connection details with AM243 Launchpad For further details, see: https://www.ti.com/tool/LP-AM243 Change-Id: Id8cec6675a222888b0007484209558d6503dbcda Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7947 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/ti_am243_launchpad.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/board/ti_am243_launchpad.cfg b/tcl/board/ti_am243_launchpad.cfg
new file mode 100644
index 0000000..aa75dda
--- /dev/null
+++ b/tcl/board/ti_am243_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 AM243 Launchpad
+# https://www.ti.com/tool/LP-AM243
+#
+
+# AM243 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 am243
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 250