aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2020-11-30 08:18:32 -0600
committerAntonio Borneo <borneo.antonio@gmail.com>2021-03-10 21:24:23 +0000
commit7e16194828a38382d4cf80604cd547b884f4ad97 (patch)
tree3597ec63faf644bd5ad77be8bb57de6f4ed474f7 /tcl/board
parentfe09811ea4d34c2ed50a38a956facf45be197214 (diff)
downloadriscv-openocd-7e16194828a38382d4cf80604cd547b884f4ad97.zip
riscv-openocd-7e16194828a38382d4cf80604cd547b884f4ad97.tar.gz
riscv-openocd-7e16194828a38382d4cf80604cd547b884f4ad97.tar.bz2
tcl/board: Add AM642 EVM basic support
Add basic connection details with AM642 EVM Change-Id: I95dcf6afadb61bfd8456b79274eae863b834167d Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-on: http://openocd.zylin.com/5952 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Vignesh Raghavendra Tested-by: jenkins
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/ti_am642evm.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/tcl/board/ti_am642evm.cfg b/tcl/board/ti_am642evm.cfg
new file mode 100644
index 0000000..e97fdcf
--- /dev/null
+++ b/tcl/board/ti_am642evm.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 AM642 EVM
+#
+
+# AM642 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 am642
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 250