From: Spencer Oliver Date: Tue, 20 Aug 2013 22:30:49 +0000 (+0100) Subject: efm32: set safe minimum working area X-Git-Tag: v0.8.0-rc1~309 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef1f2c0a3d585718d0db4faadb115a15c8019849;p=openocd efm32: set safe minimum working area The smallest available RAM size for this family is 2K, set this as the default. Issue reported by quitte on IRC. Change-Id: I3318f7f268f7681ffe2cddab61820f4b94c4e5fd Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1559 Tested-by: jenkins --- diff --git a/tcl/target/efm32_stlink.cfg b/tcl/target/efm32_stlink.cfg index 9ef4845a..831f4f75 100644 --- a/tcl/target/efm32_stlink.cfg +++ b/tcl/target/efm32_stlink.cfg @@ -9,11 +9,11 @@ if { [info exists CHIPNAME] } { } # Work-area is a space in RAM used for flash programming -# By default use 16kB +# By default use 2kB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x4000 + set _WORKAREASIZE 0x800 } if { [info exists CPUTAPID] } {