2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-24 05:59:49 +10:00
openocd/tcl/board/renesas_salvator-xs.cfg
Antonio Borneo 5d08bcb715 tcl: update scripts after "jtag_reset" got deprecated
Avoid annoying "deprecated" messages in the scripts
distributed with OpenOCD code.

Change-Id: I82d27cd420db30f0653efbd286a627ef56a8c1fd
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5287
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-01-02 21:24:45 +00:00

24 lines
536 B
INI

# 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
}