lpc1768: turn down the jtag clock
[openocd/cortex.git] / tcl / target / lm3s1968.cfg
blob330bb56a25185639a7eb1fbf61b36280c1ed6ff3
1 # Script for TI/Luminary Stellaris LM3S1968
3 if { [info exists CHIPNAME] } {
4    set  _CHIPNAME $CHIPNAME
5 } else {
6    set  _CHIPNAME lm3s1968
9 if { [info exists CPUTAPID ] } {
10    set _CPUTAPID $CPUTAPID
11 } else {
12    set _CPUTAPID 0x3ba00477
15 #jtag scan chain
16 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0xf -expected-id $_CPUTAPID
18 # the luminary variant causes a software reset rather than asserting SRST
19 # this stops the debug registers from being cleared
20 # this will be fixed in later revisions of silicon
21 set _TARGETNAME $_CHIPNAME.cpu
22 target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu -variant lm3s
24 # 8k working area at base of ram, not backed up
25 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x2000
27 #flash configuration
28 set _FLASHNAME $_CHIPNAME.flash
29 flash bank $_FLASHNAME stellaris 0 0 0 0 $_TARGETNAME