From b80f6f96d3326f969929dab0c388949525dd0e5b Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 7 Jul 2009 16:50:28 +0000 Subject: 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 --- tcl/target/imx27.cfg | 9 +++++++-- 1 file 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 -- cgit v1.2.3