X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=tcl%2Ftarget%2Fimx27.cfg;h=7687672e4faac037d9b94eb34f804835c066c6ec;hb=b80f6f96d3326f969929dab0c388949525dd0e5b;hp=240a8498f5943f9348bba436d9ff77dea9f36da4;hpb=561502ae313d996cd11b4a13378415b3a431cd1d;p=openocd.git diff --git a/tcl/target/imx27.cfg b/tcl/target/imx27.cfg index 240a8498f5..7687672e4f 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