This is an automated email from Gerrit.

Olivier Schonken ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/2574

-- gerrit

commit ac88c7f58716784530516db4ddbc09ddae8408bd
Author: Olivier Schonken <[email protected]>
Date:   Thu Mar 5 10:56:16 2015 +0200

    tcl/target: Added atmel SAMA5XX family config
    
    Base config, verified against SAMA5D3X and SAMA5D4X datasheets
    
    Change-Id: I1f333996e8b2c939af8f541b2057b3c735df148c
    Signed-off-by: Olivier Schonken <[email protected]>

diff --git a/tcl/target/at91sama5dXX.cfg b/tcl/target/at91sama5dXX.cfg
new file mode 100644
index 0000000..3eae4b4
--- /dev/null
+++ b/tcl/target/at91sama5dXX.cfg
@@ -0,0 +1,59 @@
+# script for ATMEL sama5, a CORTEX-A5 chip
+#
+# at91sama5d31
+# at91sama5d33
+# at91sama5d34
+# at91sama5d35
+# at91sama5d36
+#
+# at91sama5d41
+# at91sama5d42
+# at91sama5d43
+# at91sama5d44
+#
+source [find target/swj-dp.tcl]
+
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME at91sama5d
+}
+
+if { [info exists ENDIAN] } {
+   set _ENDIAN $ENDIAN
+} else {
+   set _ENDIAN little
+}
+
+#jtag scan chain
+if { [info exists CPUTAPID] } {
+   set _CPUTAPID $CPUTAPID
+} else {
+   set _CPUTAPID 0x4ba00477
+}
+
+swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 
$_CPUTAPID -ignore-version
+
+######################
+# Target configuration
+######################
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME cortex_a -endian $_ENDIAN -chain-position 
$_TARGETNAME -coreid 0 -dbgbase 0x80010000
+
+# JTAG speed should be <= F_CPU/6. F_CPU after reset is 12 MHz, so use F_JTAG 
= 1 MHz
+#
+# Since we may be running of an RC oscilator, we crank down the speed a
+# bit more to be on the safe side. Perhaps superstition, but if are
+# running off a crystal, we can run closer to the limit. Note
+# that there can be a pretty wide band where things are more or less stable.
+
+adapter_khz 1000
+
+adapter_nsrst_delay 300
+if {[using_jtag]} {
+   jtag_ntrst_delay 200
+}
+
+# Soft breakpoints don't currently work due to broken cache handling
+gdb_breakpoint_override hard

-- 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to