target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / ks869x.cfg
blob06e710b6e88475ab852c155aac1d69bd4e0a31f5
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # ARM920T CPU
5 if { [info exists CHIPNAME] } {
6    set  _CHIPNAME $CHIPNAME
7 } else {
8    set  _CHIPNAME ks869x
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 0x00922f0f
23 adapter speed 6000
25 # jtag scan chain
26 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
28 set _TARGETNAME $_CHIPNAME.cpu
30 target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
32 $_TARGETNAME configure -work-area-phys 0x20000 -work-area-size 0x20000 -work-area-backup 0
34 # speed up memory downloads
35 arm7_9 fast_memory_access enable
36 arm7_9 dcc_downloads enable