aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2021-10-14 09:57:22 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2022-03-12 09:41:26 +0000
commitde4f52179c513cba194079f9fe1ce3a0532bdc9f (patch)
tree984f439125001487f088aac288b6b016580a22e1
parent9f1b4bbe706b3df40793a9573d7f6471a2442222 (diff)
downloadriscv-openocd-de4f52179c513cba194079f9fe1ce3a0532bdc9f.zip
riscv-openocd-de4f52179c513cba194079f9fe1ce3a0532bdc9f.tar.gz
riscv-openocd-de4f52179c513cba194079f9fe1ce3a0532bdc9f.tar.bz2
tcl/board: Add J721s2 EVM basic support
Add basic connection details with J721s2 EVM. For further details, see https://www.ti.com/lit/zip/sprr439 Signed-off-by: Nishanth Menon <nm@ti.com> Change-Id: I68f8818c492ea6e07c14f2da305671c26da801cb Reviewed-on: https://review.openocd.org/c/openocd/+/6797 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--tcl/board/ti_j721s2evm.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/board/ti_j721s2evm.cfg b/tcl/board/ti_j721s2evm.cfg
new file mode 100644
index 0000000..72418b5
--- /dev/null
+++ b/tcl/board/ti_j721s2evm.cfg
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Texas Instruments J721s2 EVM
+# Link(SoM): https://www.ti.com/lit/zip/sprr439
+#
+
+# J721s2 EVM 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 j721s2
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 2500