cfg: update Luminary config files
- Update all Luminary config's to use a common target/stellaris.cfg. - Add Luminary ek-lm3s6965 config. - Increase working area for boards with more ram. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
@@ -18,6 +18,12 @@ if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID 0x0ba00477
|
||||
}
|
||||
|
||||
if { [info exists WORKAREASIZE ] } {
|
||||
set _WORKAREASIZE $WORKAREASIZE
|
||||
} else {
|
||||
set _WORKAREASIZE 0x2000
|
||||
}
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -irmask 0xf \
|
||||
-expected-id $_CPUTAPID -ignore-version
|
||||
|
||||
@@ -33,7 +39,7 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu \
|
||||
# NOTE: you may need or want to reconfigure the work area;
|
||||
# some parts have just 6K, and you may want to use other
|
||||
# addresses (at end of mem not beginning) or back it up.
|
||||
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x2000
|
||||
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE
|
||||
|
||||
# JTAG speed ... slow enough to work with a 12 MHz RC oscillator;
|
||||
# LM3S parts don't support RTCK
|
||||
|
||||
Reference in New Issue
Block a user