From: Øyvind Harboe Date: Thu, 19 Aug 2010 14:06:45 +0000 (+0200) Subject: imx35pdk: fix clock and reset delays X-Git-Tag: v0.5.0-rc1~438 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c98e063b9827ec96194375f383a54cdff31883f;p=openocd imx35pdk: fix clock and reset delays Use rclk and 100ms delay on ntrst Signed-off-by: Øyvind Harboe --- diff --git a/tcl/board/imx35pdk.cfg b/tcl/board/imx35pdk.cfg index e5891c8b..73fa6331 100644 --- a/tcl/board/imx35pdk.cfg +++ b/tcl/board/imx35pdk.cfg @@ -3,6 +3,10 @@ source [find target/imx35.cfg] source [find target/imx.cfg] $_TARGETNAME configure -event reset-init { imx35pdk_init } +# Stick to *really* low clock rate or reset will fail +# without RTCK / RCLK +jtag_rclk 10 + proc imx35pdk_init { } { imx3x_reset diff --git a/tcl/target/imx35.cfg b/tcl/target/imx35.cfg index d47abdc6..30cb3863 100644 --- a/tcl/target/imx35.cfg +++ b/tcl/target/imx35.cfg @@ -2,6 +2,7 @@ # reset_config trst_and_srst srst_gates_jtag +jtag_ntrst_delay 100 if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME