tcl/board: Add AM654 EVM basic support
authorNishanth Menon <nm@ti.com>
Fri, 8 Jun 2018 21:48:27 +0000 (16:48 -0500)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 10 Mar 2021 21:24:05 +0000 (21:24 +0000)
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
tcl/board/ti_am654evm.cfg [new file with mode: 0644]

diff --git a/tcl/board/ti_am654evm.cfg b/tcl/board/ti_am654evm.cfg
new file mode 100644 (file)
index 0000000..a661f60
--- /dev/null
@@ -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