Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.fe...@atmel.com>
Cc: Patrice Vilchez <patrice.vilc...@atmel.com>
---
 tcl/target/at91sam9263.cfg |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 tcl/target/at91sam9263.cfg

diff --git a/tcl/target/at91sam9263.cfg b/tcl/target/at91sam9263.cfg
new file mode 100644
index 0000000..d2ee113
--- /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
-- 
1.7.4.1

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to