From e22c6484eaedd56d71011dd56e76eacab515a0d6 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sat, 20 Jan 2018 21:10:39 +0300 Subject: [PATCH] tcl: target: klx: use 1KiB for working area Some parts have only that much. Reported by robertfoos_ on IRC. Change-Id: I684fdccfa62cf726466ddc467543a990fd88c4dc Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/4369 Reviewed-by: Robert Foss Tested-by: jenkins Reviewed-by: Tomas Vanek --- tcl/target/klx.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcl/target/klx.cfg b/tcl/target/klx.cfg index 7dd0404f..1a2ee679 100644 --- a/tcl/target/klx.cfg +++ b/tcl/target/klx.cfg @@ -12,11 +12,11 @@ if { [info exists CHIPNAME] } { } # Work-area is a space in RAM used for flash programming -# By default use 4kB +# By default use 1KiB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x1000 + set _WORKAREASIZE 0x400 } if { [info exists CPUTAPID] } { -- 2.39.5