aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/renesas_salvator-xs.cfg
blob: e6f4da337b9362e640bdf560b4a6d9e9a3840714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Renesas R-Car Gen3 Salvator-X(S) Board Config

# The Salvator-X(S) boards come with either an H3, M3W, or M3N SOC.

echo "\nSalvator-X(S):"
if { ![info exists SOC] } {
	set SOC H3
}
source [find target/renesas_rcar_gen3.cfg]

reset_config trst_and_srst srst_nogate

proc init_reset {mode} {
	# Assert both resets: equivalent to a power-on reset
	adapter assert trst assert srst

	# Deassert TRST to begin TAP communication
	adapter deassert trst assert srst

	# TAP should now be responsive, validate the scan-chain
	jtag arp_init
}