diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-04-16 21:22:04 +0200 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2018-06-25 09:27:05 +0100 |
commit | c8864333327cba8121ac83895eb8d7b455f489fa (patch) | |
tree | 08abadd56f21eabf1887ba1b35795140d301cf39 /tcl | |
parent | 21f52f648058ea71abde2c6ab595223abbaa46e4 (diff) | |
download | riscv-openocd-c8864333327cba8121ac83895eb8d7b455f489fa.zip riscv-openocd-c8864333327cba8121ac83895eb8d7b455f489fa.tar.gz riscv-openocd-c8864333327cba8121ac83895eb8d7b455f489fa.tar.bz2 |
tcl/board: Add Renesas R-Car R8A7790 H2 Stout board
Add configuration for the Renesas R-Car R8A7790 H2
based Stout ADAS board.
Change-Id: Ib880b5d2e1fab5c8c0bc0dbcedcdce8055463fe2
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-on: http://openocd.zylin.com/4497
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/board/renesas_stout.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tcl/board/renesas_stout.cfg b/tcl/board/renesas_stout.cfg new file mode 100644 index 0000000..fb08924 --- /dev/null +++ b/tcl/board/renesas_stout.cfg @@ -0,0 +1,16 @@ +# Renesas R-Car H2 Evaluation Board + +source [find target/renesas_r8a7790.cfg] + +reset_config trst_and_srst srst_nogate + +proc init_reset {mode} { + # Assert both resets: equivalent to a power-on reset + jtag_reset 1 1 + + # Deassert TRST to begin TAP communication + jtag_reset 0 1 + + # TAP should now be responsive, validate the scan-chain + jtag arp_init +} |