This is an automated email from Gerrit.

Olivier Schonken (olivier.schon...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/522

-- gerrit

commit 9f5c2b3bc38edeba1c4375fa52e62cb056f96368
Author: Olivier Schonken <olivier.schon...@gmail.com>
Date:   Tue Mar 6 22:43:25 2012 +0200

    Added tcl config scripts for SAM3A/X targets and devboard
    
    The SAM3A/X processors that were released thus far is either
    a SAM3A/X(4) - 256K, or a SAM3A/X(8) - 512K device.  Thus
    the config files are per variant, and not per device.
    
    Signed-off-by: Olivier Schonken <olivier.schon...@gmail.com>
    
    Change-Id: I84d26d044e810eb428b1d6287907ea3bf8364c73
    Signed-off-by: Olivier Schonken <olivier.schon...@gmail.com>

diff --git a/tcl/board/atmel_sam3x_ek.cfg b/tcl/board/atmel_sam3x_ek.cfg
new file mode 100644
index 0000000..bb8cd17
--- /dev/null
+++ b/tcl/board/atmel_sam3x_ek.cfg
@@ -0,0 +1,3 @@
+source [find target/at91sam3ax_8x.cfg]
+
+reset_config srst_only
diff --git a/tcl/target/at91sam3XXX.cfg b/tcl/target/at91sam3XXX.cfg
index 98b508c..63759e3 100644
--- a/tcl/target/at91sam3XXX.cfg
+++ b/tcl/target/at91sam3XXX.cfg
@@ -16,7 +16,14 @@
 # at91sam3s1c
 # at91sam3s1b
 # at91sam3s1a
-
+#
+# at91sam3A4C
+# at91sam3A8C
+# at91sam3X4C
+# at91sam3X4E
+# at91sam3X8C
+# at91sam3X8E
+# at91sam3X8H
 if { [info exists CHIPNAME] } {
    set _CHIPNAME $CHIPNAME
 } else {
diff --git a/tcl/target/at91sam3ax_4x.cfg b/tcl/target/at91sam3ax_4x.cfg
new file mode 100644
index 0000000..78ca79f
--- /dev/null
+++ b/tcl/target/at91sam3ax_4x.cfg
@@ -0,0 +1,9 @@
+# common stuff
+source [find target/at91sam3ax_xx.cfg]
+
+# size is automatically "calculated" by probing
+set _FLASHNAME $_CHIPNAME.flash0
+flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
+# This is a 256K chip - it has the 2nd bank
+set _FLASHNAME $_CHIPNAME.flash1
+flash bank $_FLASHNAME at91sam3 0x0000A0000 0 1 1 $_TARGETNAME
diff --git a/tcl/target/at91sam3ax_8x.cfg b/tcl/target/at91sam3ax_8x.cfg
new file mode 100644
index 0000000..e249383
--- /dev/null
+++ b/tcl/target/at91sam3ax_8x.cfg
@@ -0,0 +1,11 @@
+# common stuff
+source [find target/at91sam3ax_xx.cfg]
+
+# size is automatically "calculated" by probing
+set _FLASHNAME $_CHIPNAME.flash0
+flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
+# This is a 512K chip - it has the 2nd bank
+set _FLASHNAME $_CHIPNAME.flash1
+flash bank $_FLASHNAME at91sam3 0x0000C0000 0 1 1 $_TARGETNAME
+
+
diff --git a/tcl/target/at91sam3ax_xx.cfg b/tcl/target/at91sam3ax_xx.cfg
new file mode 100644
index 0000000..8e6bc33
--- /dev/null
+++ b/tcl/target/at91sam3ax_xx.cfg
@@ -0,0 +1,11 @@
+# script for ATMEL sam3, a CORTEX-M3 chip
+#
+# at91sam3A4C
+# at91sam3A8C
+# at91sam3X4C
+# at91sam3X4E
+# at91sam3X8C
+# at91sam3X8E
+# at91sam3X8H
+source [find target/at91sam3XXX.cfg]
+

-- 

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to