aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-02-21 14:53:46 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2022-03-12 09:46:47 +0000
commit5b9da0eed215386b856c3168ff712f9af483c0c6 (patch)
tree5cccffc884a1e9f66d7c5aa4d7fd1373cb02e6d3
parent5b70c1f679755677c925b4e6dd2c3d8be4715717 (diff)
downloadriscv-openocd-5b9da0eed215386b856c3168ff712f9af483c0c6.zip
riscv-openocd-5b9da0eed215386b856c3168ff712f9af483c0c6.tar.gz
riscv-openocd-5b9da0eed215386b856c3168ff712f9af483c0c6.tar.bz2
board: Add LS1046ARDB
This adds support for the LS1046A Reference Design Board. There are several JTAG headers accessable once the case is opened, but this config is for the externally-accessable CMSIS DAP. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Change-Id: I0f83470da3758f0c4512ce47348c4db7de17b27e Reviewed-on: https://review.openocd.org/c/openocd/+/6855 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--tcl/board/nxp_rdb-ls1046a.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/tcl/board/nxp_rdb-ls1046a.cfg b/tcl/board/nxp_rdb-ls1046a.cfg
new file mode 100644
index 0000000..fde1829
--- /dev/null
+++ b/tcl/board/nxp_rdb-ls1046a.cfg
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# NXP LS1046ARDB (Reference Design Board)
+# This is for the "console" USB port on the front panel
+# You must ensure that SW4-7 is in the "off" position
+
+# NXP K20
+# The firmware implements the old CMSIS-DAP v1 USB HID interface
+# You must pass --enable-cmsis-dap to ./configure to enable it
+source [find interface/cmsis-dap.cfg]
+
+transport select jtag
+reset_config srst_only
+
+source [find target/ls1046a.cfg]
+
+# The adapter can't handle 10MHz
+adapter speed 5000