]> git.sur5r.net Git - openocd/commitdiff
srst pulls trst according to Freescale docs for i.mx27
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 7 Jul 2009 16:50:28 +0000 (16:50 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 7 Jul 2009 16:50:28 +0000 (16:50 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2492 b42882b7-edfa-0310-969c-e2dbd0fdcd60

tcl/target/imx27.cfg

index 240a8498f5943f9348bba436d9ff77dea9f36da4..7687672e4faac037d9b94eb34f804835c066c6ec 100644 (file)
@@ -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