target/xtensa: avoid IHI for writes to non-executable memory
[openocd.git] / tcl / target / cs351x.cfg
blobe67540a8666814c9a5311603e16e2f374f8551f8
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 if { [info exists CHIPNAME] } {
4    set _CHIPNAME $CHIPNAME
5 } else {
6    set _CHIPNAME cs351x
9 if { [info exists ENDIAN] } {
10    set _ENDIAN $ENDIAN
11 } else {
12    set _ENDIAN little
15 if { [info exists CPUTAPID] } {
16    set _CPUTAPID $CPUTAPID
17 } else {
18    set _CPUTAPID 0x00526fa1
21 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
23 # Create the GDB Target.
24 set _TARGETNAME $_CHIPNAME.cpu
25 target create $_TARGETNAME fa526 -endian $_ENDIAN -chain-position $_TARGETNAME
27 # There is 16K of SRAM on this chip
28 # FIXME: flash programming is not working by using this work area. So comment this out for now.
29 #$_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x4000 -work-area-backup 1
31 # This chip has a DCC ... use it
32 arm7_9 dcc_downloads enable