This sets the default stellaris working area to 2k rather than
the current 8k. 2K is the smallest RAM size in the stellaris family.
Change-Id: I1407f758eb0926cc094b824a6d25199b313c45de
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/458
Tested-by: jenkins
source [find interface/luminary.cfg]
# include the target config
source [find interface/luminary.cfg]
# include the target config
set CHIPNAME lm3s1968
source [find target/stellaris.cfg]
set CHIPNAME lm3s1968
source [find target/stellaris.cfg]
source [find interface/luminary-lm3s811.cfg]
# include the target config
source [find interface/luminary-lm3s811.cfg]
# include the target config
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
source [find interface/luminary.cfg]
# include the target config
source [find interface/luminary.cfg]
# include the target config
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
- # default to 8K working area
- set _WORKAREASIZE 0x2000
+ # default to 2K working area
+ set _WORKAREASIZE 0x800
}
set _TARGETNAME $_CHIPNAME.cpu
}
set _TARGETNAME $_CHIPNAME.cpu
$_TARGETNAME configure -event reset-start {
adapter_khz 500
$_TARGETNAME configure -event reset-start {
adapter_khz 500
# When nRST is asserted on most Stellaris devices, it clears some of
# the debug state. The ARMv7M and Cortex-M3 TRMs say that's wrong;
# and OpenOCD depends on those TRMs. So we won't use SRST on those
# When nRST is asserted on most Stellaris devices, it clears some of
# the debug state. The ARMv7M and Cortex-M3 TRMs say that's wrong;
# and OpenOCD depends on those TRMs. So we won't use SRST on those