From fd39a5e8addce366467ad7305eb270ddd635f4a9 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Tue, 14 Feb 2012 14:20:51 +0000 Subject: cfg: change default stellaris working area 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 Reviewed-on: http://openocd.zylin.com/458 Tested-by: jenkins --- tcl/target/stellaris.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tcl/target/stellaris.cfg') diff --git a/tcl/target/stellaris.cfg b/tcl/target/stellaris.cfg index 0afe2e79..06f27c56 100644 --- a/tcl/target/stellaris.cfg +++ b/tcl/target/stellaris.cfg @@ -47,8 +47,8 @@ swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf \ 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 @@ -133,7 +133,7 @@ proc reset_peripherals {family} { $_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 -- cgit v1.2.3-18-g5258