This is an automated email from Gerrit.

Andreas Färber (afaer...@suse.de) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2569

-- gerrit

commit 0f4f86acfb515d3946141faad22aec9ea31ee63f
Author: Andreas Färber <afaer...@suse.de>
Date:   Sun Mar 1 20:38:36 2015 +0100

    tcl/target: Add Spansion FM4 config
    
    Assembled by trial-and-error for an S6E2CC.
    
    Change-Id: I317c12d24c9075ce3de286455fa3ee45731c5c81
    Signed-off-by: Andreas Färber <afaer...@suse.de>

diff --git a/tcl/target/fm4.cfg b/tcl/target/fm4.cfg
new file mode 100644
index 0000000..dcf0601
--- /dev/null
+++ b/tcl/target/fm4.cfg
@@ -0,0 +1,28 @@
+#
+# Spansion FM4 (ARM Cortex-M4)
+#
+
+if { [info exists CHIPNAME] } {
+       set _CHIPNAME $CHIPNAME
+} else {
+       set _CHIPNAME fm4
+}
+
+source [find target/swj-dp.tcl]
+
+if { [info exists CPUTAPID] } {
+       set _CPU_TAPID $CPUTAPID
+} else {
+       set _CPU_TAPID 0x2ba01477
+}
+
+swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME cortex_m -endian little -chain-position $_TARGETNAME
+
+adapter_khz 500
+
+if {![using_hla]} {
+       cortex_m reset_config sysresetreq
+}

-- 

------------------------------------------------------------------------------
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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to