aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2018-06-08 16:48:27 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2021-03-10 21:24:05 +0000
commit39f8327639f005353e905002abd492e9616b217d (patch)
tree2b95f19a008059593bc88c614dfea06931a4f08d /tcl/board
parent431dd885368ec90fe2f74ba50bbe70577844615b (diff)
downloadriscv-openocd-39f8327639f005353e905002abd492e9616b217d.zip
riscv-openocd-39f8327639f005353e905002abd492e9616b217d.tar.gz
riscv-openocd-39f8327639f005353e905002abd492e9616b217d.tar.bz2
tcl/board: Add AM654 EVM basic support
Add basic connection details with AM654 evm Change-Id: Iea2240860e50ae42cf6f1617a10e24f63c6dd988 Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: http://openocd.zylin.com/5183 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/ti_am654evm.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/tcl/board/ti_am654evm.cfg b/tcl/board/ti_am654evm.cfg
new file mode 100644
index 0000000..a661f60
--- /dev/null
+++ b/tcl/board/ti_am654evm.cfg
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2019-2021 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Texas Instruments AM654 EVM/IDK Base Board
+#
+
+# AM654 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 70
+
+if { ![info exists SOC] } {
+ set SOC am654
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 2500