2 # based off of the imx21.cfg file.
4 reset_config trst_and_srst
6 #jtag nTRST and nSRST delay
7 adapter_nsrst_delay 100
10 if { [info exists CHIPNAME] } {
11 set _CHIPNAME $CHIPNAME
16 if { [info exists ENDIAN] } {
23 # Note above there is 1 tap
26 if { [info exists CPUTAPID ] } {
27 set _CPUTAPID $CPUTAPID
29 set _CPUTAPID 0x079264f3
31 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
34 # Create the GDB Target.
35 set _TARGETNAME $_CHIPNAME.cpu
36 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
38 arm7_9 dcc_downloads enable