This is an automated email from Gerrit.

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

-- gerrit

commit 0b90791add86f61629adb413186fd5066758531f
Author: Angelo Dureghello <[email protected]>
Date:   Wed Feb 15 21:55:40 2017 +0100

    target: mcf5441x: add tcl config scripts
    
    add pemu interface and mcf5441x config scripts.
    
    Change-Id: Ib0eb632c784a3e54d43d8030fb8e9e745951e1ee
    Signed-off-by: Angelo Dureghello <[email protected]>

diff --git a/tcl/interface/pemu.cfg b/tcl/interface/pemu.cfg
new file mode 100644
index 0000000..0afc1f3
--- /dev/null
+++ b/tcl/interface/pemu.cfg
@@ -0,0 +1,10 @@
+#
+# P&E Universal Multilink
+#
+# Please use the interface with proper transport frmware already flashed.
+#
+# Actually "pemu" usb driver supports only BDM for coldfire V234
+# and has been tested with the usb interface fw 0960. 
+#
+
+interface pemu
diff --git a/tcl/target/mcf5114x.cfg b/tcl/target/mcf5114x.cfg
new file mode 100644
index 0000000..172254c
--- /dev/null
+++ b/tcl/target/mcf5114x.cfg
@@ -0,0 +1,20 @@
+if { [info exists CHIPNAME] } {
+   set  _CHIPNAME $CHIPNAME
+} else {
+   set  _CHIPNAME mcf5441x
+}
+
+if { [info exists CPUTAPID ] } {
+   set _CPUTAPID $CPUTAPID
+} else {
+   set _CPUTAPID 0x13570503
+}
+
+## BDM, as SWD needs to beexposed as Debug Access Point
+bdm_cf26 newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 
-expected-id $_CPUTAPID
+
+##
+## Target configuration
+##
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME mcf5441x -endian big  -chain-position $_TARGETNAME

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to