This is an automated email from Gerrit.

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

-- gerrit

commit bf6b0de741a41f4bc92fcf5682f0f23c6df4e5c2
Author: Andrey Smirnov <[email protected]>
Date:   Sun Apr 13 16:40:10 2014 -0700

    tcl/target: Add configuration file for MC9S12XE
    
    Change-Id: I79cdc685902246621f2e310c726264fc11694d55
    Signed-off-by: Andrey Smirnov <[email protected]>

diff --git a/tcl/target/mc9s12xe.tcl b/tcl/target/mc9s12xe.tcl
new file mode 100644
index 0000000..f9a7909
--- /dev/null
+++ b/tcl/target/mc9s12xe.tcl
@@ -0,0 +1,24 @@
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME mc9s12xe
+}
+
+if { [info exists ENDIAN] } {
+   set _ENDIAN $ENDIAN
+} else {
+   set _ENDIAN big
+}
+
+interface usbdm
+
+usbdm newtap $_CHIPNAME cpu
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME hcs12 -endian $_ENDIAN -chain-position $_TARGETNAME
+
+$_TARGETNAME configure -work-area-phys 0x000FE000 -work-area-size 0x2000 
-work-area-backup 0
+
+# flash size will be probed
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME s12xftm 0x7FFFFF 0 0 0 $_TARGETNAME

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to