da2bba1f450a208514ef7fed13e948dc743d9c6e
[fw/openocd] / tcl / board / renesas_porter.cfg
1 # Renesas R-Car M2 Evaluation Board
2
3 source [find target/renesas_r8a7791.cfg]
4
5 reset_config trst_and_srst srst_nogate
6
7 proc init_reset {mode} {
8     # Assert both resets: equivalent to a power-on reset
9     jtag_reset 1 1
10
11     # Deassert TRST to begin TAP communication
12     jtag_reset 0 1
13
14     # TAP should now be responsive, validate the scan-chain
15     jtag arp_init
16 }