target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / smp8634.cfg
blob0e609d84cb81f8954cc61cefcca2062030802adc
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # script for Sigma Designs SMP8634 (eventually even SMP8635)
5 if { [info exists CHIPNAME] } {
6    set _CHIPNAME $CHIPNAME
7 } else {
8    set _CHIPNAME smp8634
11 if { [info exists ENDIAN] } {
12    set _ENDIAN $ENDIAN
13 } else {
14    set _ENDIAN little
17 if { [info exists CPUTAPID] } {
18    set _CPUTAPID $CPUTAPID
19 } else {
20    set _CPUTAPID 0x08630001
23 adapter srst delay 100
24 jtag_ntrst_delay 100
26 reset_config trst_and_srst separate
28 # jtag scan chain
29 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
30 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1
32 set _TARGETNAME $_CHIPNAME.cpu
33 target create $_TARGETNAME mips_m4k -endian $_ENDIAN