server: add support for pipes
[openocd/cortex.git] / tcl / target / ixp42x.cfg
blob6d2ecb70401fc36726144dff726a184f72ff8090
1 #xscale ixp42x CPU
4 if { [info exists CHIPNAME] } {
5    set  _CHIPNAME $CHIPNAME
6 } else {
7    set  _CHIPNAME ixp42x
10 if { [info exists ENDIAN] } {
11    set  _ENDIAN $ENDIAN
12 } else {
13   # this defaults to a bigendian
14    set  _ENDIAN big
17 if { [info exists CPUTAPID ] } {
18    set _CPUTAPID $CPUTAPID
19 } else {
20   # force an error till we get a good number
21    set _CPUTAPID 0xffffffff
24 #use combined on interfaces or targets that can?t set TRST/SRST separately
25 reset_config srst_only srst_pulls_trst
26 #jtag scan chain
28 jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
30 set _TARGETNAME $_CHIPNAME.cpu
31 target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x