From: <ml...@ma...> - 2009-10-02 18:52:05
|
Author: mlu Date: 2009-10-02 18:52:02 +0200 (Fri, 02 Oct 2009) New Revision: 2796 Modified: trunk/tcl/target/omap3530.cfg Log: Updated reset event handling in omap3530 cfg Modified: trunk/tcl/target/omap3530.cfg =================================================================== --- trunk/tcl/target/omap3530.cfg 2009-10-02 16:50:42 UTC (rev 2795) +++ trunk/tcl/target/omap3530.cfg 2009-10-02 16:52:02 UTC (rev 2796) @@ -42,15 +42,20 @@ # FIXME much of this should be in reset event handlers proc omap3_dbginit { } { poll off - reset sleep 100 jtag tapenable omap3530.dap targets # General Cortex A8 debug initialisation cortex_a8 dbginit - # Enable DBGU singal for OMAP353x + # Enable DBGU signal for OMAP353x omap3.cpu mww 0x5401d030 0x00002000 poll on } +set PRM_RSTCTRL 0x48307250 + +omap3.cpu configure -event reset-start "omap3.cpu mww $PRM_RSTCTRL 2" +omap3.cpu configure -event reset-assert-pre "omap3_dbginit" + + |