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 set _CPUTAPID 0x1181501d
27 reset_config srst_only
30 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0x1 -expected-id $_CPUTAPID
33 set _TARGETNAME $_CHIPNAME.cpu
34 target create $_TARGETNAME dsp563xx -endian $_ENDIAN -chain-position $_TARGETNAME
36 #working area at base of ram
37 $_TARGETNAME configure -work-area-virt 0