1 # Script for freescale DSP56321
4 if { [info exists CHIPNAME] } {
5 set _CHIPNAME $CHIPNAME
10 if { [info exists ENDIAN] } {
13 # this defaults to a big endian
17 if { [info exists CPUTAPID ] } {
18 set _CPUTAPID $CPUTAPID
20 # force an error till we get a good number
21 set _CPUTAPID 0x1181501d
28 reset_config srst_only
31 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0x1 -expected-id $_CPUTAPID
34 set _TARGETNAME $_CHIPNAME.cpu
35 target create $_TARGETNAME dsp563xx -endian $_ENDIAN -chain-position $_TARGETNAME
37 #working area at base of ram
38 $_TARGETNAME configure -work-area-virt 0