summaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-03-02 12:57:05 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-03 22:49:47 +0100
commitf6783d4465fb3cbde06239b9e2e071ec105e99a0 (patch)
tree2e12d5cf0790efac350e806912cb17d50c8d60b8 /tcl/target
parent26db0a6bef8444d5d3e03a7576014494c506d0a2 (diff)
downloadopenocd+libswd-f6783d4465fb3cbde06239b9e2e071ec105e99a0.tar.gz
openocd+libswd-f6783d4465fb3cbde06239b9e2e071ec105e99a0.tar.bz2
openocd+libswd-f6783d4465fb3cbde06239b9e2e071ec105e99a0.tar.xz
openocd+libswd-f6783d4465fb3cbde06239b9e2e071ec105e99a0.zip
at91: add at91sam9263 support
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/target')
-rw-r--r--tcl/target/at91sam9263.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/tcl/target/at91sam9263.cfg b/tcl/target/at91sam9263.cfg
new file mode 100644
index 00000000..d2ee113b
--- /dev/null
+++ b/tcl/target/at91sam9263.cfg
@@ -0,0 +1,20 @@
+######################################
+# Target: Atmel AT91SAM9263
+######################################
+
+if { [info exists CHIPNAME] } {
+ set AT91_CHIPNAME $CHIPNAME
+} else {
+ set AT91_CHIPNAME at91sam9263
+}
+
+source [find target/at91sam9.cfg]
+
+# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
+# AT91SAM9263 has two SRAM areas,
+# one starting at 0x00300000 of 80KiB
+# and the other starting at 0x00500000 of 16KiB.
+
+# Internal sram1 memory
+$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x14000 -work-area-backup 1
+#$_TARGETNAME configure -work-area-phys 0x00500000 -work-area-size 0x4000 -work-area-backup 1