aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-09-06 10:26:48 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2023-09-23 14:33:03 +0000
commit30375c6439ee97f60d729db747f01fb4eb2cf495 (patch)
tree67f764f1ce205e5345d448a06360a4ff7fb26ae2
parenta7b77ac84f86dbdc447fcbf7822cb240b3916008 (diff)
downloadriscv-openocd-30375c6439ee97f60d729db747f01fb4eb2cf495.zip
riscv-openocd-30375c6439ee97f60d729db747f01fb4eb2cf495.tar.gz
riscv-openocd-30375c6439ee97f60d729db747f01fb4eb2cf495.tar.bz2
tcl/board: Add TI am62pevm config
Add basic connection details with AM62P SK/EVM For further details, see: https://www.ti.com/lit/zip/sprr487 Signed-off-by: Nishanth Menon <nm@ti.com> Change-Id: I1ba5e0c7627cf09cc8c221701bc44f73523a4574 Reviewed-on: https://review.openocd.org/c/openocd/+/7893 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Bryan Brattlof <hello@bryanbrattlof.com>
-rw-r--r--tcl/board/ti_am62pevm.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/tcl/board/ti_am62pevm.cfg b/tcl/board/ti_am62pevm.cfg
new file mode 100644
index 0000000..2322b3d
--- /dev/null
+++ b/tcl/board/ti_am62pevm.cfg
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Texas Instruments SK-AM62P: https://www.ti.com/lit/zip/sprr487
+#
+
+# AM62P SK/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 am62p
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 2500