1 #use combined on interfaces or targets that can't set TRST/SRST separately
2 reset_config trst_and_srst
4 if { [info exists CHIPNAME] } {
5 set _CHIPNAME $CHIPNAME
10 if { [info exists ENDIAN] } {
17 # Note above there is 1 tap
20 if { [info exists CPUTAPID ] } {
21 set _CPUTAPID $CPUTAPID
23 set _CPUTAPID 0x0792611f
25 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
28 # Create the GDB Target.
29 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
30 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
32 arm7_9 dcc_downloads enable