]> git.sur5r.net Git - openocd/commitdiff
imx35pdk: fix clock and reset delays
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 19 Aug 2010 14:06:45 +0000 (16:06 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 19 Aug 2010 14:06:45 +0000 (16:06 +0200)
Use rclk and 100ms delay on ntrst

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tcl/board/imx35pdk.cfg
tcl/target/imx35.cfg

index e5891c8bf4b18faa5a34626adc63ec8f471837bc..73fa6331d0012e654ce91e0f185b091093018169 100644 (file)
@@ -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
index d47abdc69208ef88bec435ac30183838ebed739e..30cb3863b851f1249b3077a034d93c05f7671dcd 100644 (file)
@@ -2,6 +2,7 @@
 #
 
 reset_config trst_and_srst srst_gates_jtag
+jtag_ntrst_delay 100
 
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME