summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-07 16:50:28 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-07 16:50:28 +0000
commitb80f6f96d3326f969929dab0c388949525dd0e5b (patch)
tree8dcf4f261c6f5867072e0bbc41456807c90d9585
parent561502ae313d996cd11b4a13378415b3a431cd1d (diff)
downloadopenocd_libswd-b80f6f96d3326f969929dab0c388949525dd0e5b.tar.gz
openocd_libswd-b80f6f96d3326f969929dab0c388949525dd0e5b.tar.bz2
openocd_libswd-b80f6f96d3326f969929dab0c388949525dd0e5b.tar.xz
openocd_libswd-b80f6f96d3326f969929dab0c388949525dd0e5b.zip
srst pulls trst according to Freescale docs for i.mx27
git-svn-id: svn://svn.berlios.de/openocd/trunk@2492 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--tcl/target/imx27.cfg9
1 files changed, 7 insertions, 2 deletions
diff --git a/tcl/target/imx27.cfg b/tcl/target/imx27.cfg
index 240a8498..7687672e 100644
--- a/tcl/target/imx27.cfg
+++ b/tcl/target/imx27.cfg
@@ -1,5 +1,10 @@
-#use combined on interfaces or targets that can't set TRST/SRST separately
-reset_config trst_and_srst
+# page 3-34 of "MCIMC27 Multimedia Applications Processor Reference Manual, Rev 0.3"
+# SRST pulls TRST
+#
+# Without setting these options correctly you'll see all sorts
+# of weird errors, e.g. MOE=0xe, invalid cpsr values, reset
+# failing, etc.
+reset_config srst_only srst_pulls_trst
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME