From 233f8859c0e5d0f6b94beba5435b56bda27c30e1 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 27 Jun 2014 16:13:24 +1000 Subject: nrf51 - Add async loader. Performance on nrf51822QAA/stlink-v2 from ~3.5KiB/s to ~19.5KiB/s. Change-Id: Ib0bf41a0cec85f0bd5728551f8ad7f6255e4ea04 Signed-off-by: Angus Gratton [spamjunkeater@gmail.com: Cleanup buffer allocation, detect -1 for unknown pages] Signed-off-by: Erdem U. Altunyurt Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2204 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- tcl/target/nrf51.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcl/target') diff --git a/tcl/target/nrf51.cfg b/tcl/target/nrf51.cfg index 129060d..0768120 100644 --- a/tcl/target/nrf51.cfg +++ b/tcl/target/nrf51.cfg @@ -17,11 +17,11 @@ if { [info exists ENDIAN] } { } # Work-area is a space in RAM used for flash programming -# By default use 2kB +# By default use 16kB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x800 + set _WORKAREASIZE 0x4000 } if { [info exists CPUTAPID] } { -- cgit v1.1