lpc1768: turn down the jtag clock
[openocd/cortex.git] / tcl / target / dsp56321.cfg
blob281c4ddd47215faa486d7fcc01f08d8feade29f5
1 # Script for freescale DSP56321
4 if { [info exists CHIPNAME] } { 
5    set  _CHIPNAME $CHIPNAME    
6 } else {         
7    set  _CHIPNAME dsp56321
10 if { [info exists ENDIAN] } {   
11    set  _ENDIAN $ENDIAN    
12 } else {         
13   # this defaults to a big endian
14    set  _ENDIAN big
17 if { [info exists CPUTAPID ] } {
18    set _CPUTAPID $CPUTAPID
19 } else {
20   # force an error till we get a good number
21    set _CPUTAPID 0x1181501d
24 #jtag speed
25 adapter_khz 4500
27 #has only srst
28 reset_config srst_only
30 #jtag scan chain
31 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0x1 -expected-id $_CPUTAPID
33 #target configuration
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