1 #Script for faux target - used for testing
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
6 set _CHIPNAME at91eb40a
9 if { [info exists ENDIAN] } {
15 if { [info exists CPUTAPID] } {
16 set _CPUTAPID $CPUTAPID
18 set _CPUTAPID 0x00000000
22 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
25 set _TARGETNAME $_CHIPNAME.cpu
26 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
29 set _FLASHNAME $_CHIPNAME.flash
30 flash bank $_FLASHNAME faux 0x01000000 0x200000 2 2 $_TARGETNAME