aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-11-29 06:37:14 -0600
committerAntonio Borneo <borneo.antonio@gmail.com>2023-12-24 14:25:38 +0000
commitb8422b076daab0797a24a6aec50104bb739aa949 (patch)
treef71e19afa33e27ff0f81af213a29d17fc823229a
parent33749a7fbeb5e6054ea5b9c6a15578302fe512e0 (diff)
downloadriscv-openocd-b8422b076daab0797a24a6aec50104bb739aa949.zip
riscv-openocd-b8422b076daab0797a24a6aec50104bb739aa949.tar.gz
riscv-openocd-b8422b076daab0797a24a6aec50104bb739aa949.tar.bz2
tcl/board: Add TI j722sevm config
Add basic connection details with j722s EVM For further details, see: https://www.ti.com/lit/zip/sprr495 Change-Id: Ic69d85d69c773c7fad2184561267391fef7a98bc Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8050 Reviewed-by: Bryan Brattlof <hello@bryanbrattlof.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
-rw-r--r--tcl/board/ti_j722sevm.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/tcl/board/ti_j722sevm.cfg b/tcl/board/ti_j722sevm.cfg
new file mode 100644
index 0000000..6a5c2d9
--- /dev/null
+++ b/tcl/board/ti_j722sevm.cfg
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
+#
+# Texas Instruments EVM-J722S: https://www.ti.com/lit/zip/sprr495
+#
+
+# J722S 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 j722s
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 2500