2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2018-05-23 08:10:12 -05:00
|
|
|
# Renesas R-Car Gen2 Evaluation Board common settings
|
|
|
|
|
|
|
|
reset_config trst_and_srst srst_nogate
|
|
|
|
|
|
|
|
proc init_reset {mode} {
|
|
|
|
# Assert both resets: equivalent to a power-on reset
|
2019-08-14 07:53:24 -05:00
|
|
|
adapter assert trst assert srst
|
2018-05-23 08:10:12 -05:00
|
|
|
|
|
|
|
# Deassert TRST to begin TAP communication
|
2019-08-14 07:53:24 -05:00
|
|
|
adapter deassert trst assert srst
|
2018-05-23 08:10:12 -05:00
|
|
|
|
|
|
|
# TAP should now be responsive, validate the scan-chain
|
|
|
|
jtag arp_init
|
|
|
|
}
|