aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/nrf51.cfg
diff options
context:
space:
mode:
authorAngus Gratton <gus@projectgus.com>2014-06-27 16:13:24 +1000
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2015-02-11 22:00:46 +0000
commit233f8859c0e5d0f6b94beba5435b56bda27c30e1 (patch)
tree283fd8d467f732ad66a1a23de184a2fdb54961d8 /tcl/target/nrf51.cfg
parentb2dc1af59a4cead2bd9446256ef31658b2a5de61 (diff)
downloadriscv-openocd-233f8859c0e5d0f6b94beba5435b56bda27c30e1.zip
riscv-openocd-233f8859c0e5d0f6b94beba5435b56bda27c30e1.tar.gz
riscv-openocd-233f8859c0e5d0f6b94beba5435b56bda27c30e1.tar.bz2
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 <gus@projectgus.com> [spamjunkeater@gmail.com: Cleanup buffer allocation, detect -1 for unknown pages] Signed-off-by: Erdem U. Altunyurt <spamjunkeater@gmail.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2204 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/target/nrf51.cfg')
-rw-r--r--tcl/target/nrf51.cfg4
1 files changed, 2 insertions, 2 deletions
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] } {