target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / avr32.cfg
blobe16d11439c998cb109de893e3ac0905dc22f3a7a
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 set _CHIPNAME avr32
4 set _ENDIAN big
6 set _CPUTAPID 0x21e8203f
8 adapter srst delay 100
9 jtag_ntrst_delay 100
11 reset_config trst_and_srst separate
13 # jtag scan chain
14 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
15 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
17 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
18 target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME