summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-03-02 12:57:06 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-03 22:49:47 +0100
commitaebc0d5556089a4f1df9b0281685534386e9cea7 (patch)
treef82adc11122902a78165e49fd3689c69086a9953 /tcl
parentf6783d4465fb3cbde06239b9e2e071ec105e99a0 (diff)
downloadopenocd+libswd-aebc0d5556089a4f1df9b0281685534386e9cea7.tar.gz
openocd+libswd-aebc0d5556089a4f1df9b0281685534386e9cea7.tar.bz2
openocd+libswd-aebc0d5556089a4f1df9b0281685534386e9cea7.tar.xz
openocd+libswd-aebc0d5556089a4f1df9b0281685534386e9cea7.zip
at91sam9260: update sram information
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/at91sam9260.cfg7
1 files changed, 6 insertions, 1 deletions
diff --git a/tcl/target/at91sam9260.cfg b/tcl/target/at91sam9260.cfg
index 9f79dfa4..c5a07fdd 100644
--- a/tcl/target/at91sam9260.cfg
+++ b/tcl/target/at91sam9260.cfg
@@ -10,5 +10,10 @@ if { [info exists CHIPNAME] } {
source [find target/at91sam9.cfg]
-# Internal sram1 memory
+
+# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
+# AT91SAM9260 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
+# Both areas are 4 kB long.
+
+#$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x1000 -work-area-backup 1
$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1