It looks like the polling starts after examine but before opap3_dbginit has setup all core registers correctly. Patch proposed by Magnus.
Subject: [PATCH] OMAP3: Disable poll while core register initialization From: Magnus Lundin <[email protected]>
It looks like the polling starts after examine but before opap3_dbginit has setup all core registers correctly. Signed-off-by: Magnus Lundin <[email protected]> Tested-by: Dirk Behme <[email protected]> --- tcl/target/omap3530.cfg | 2 ++ 1 file changed, 2 insertions(+) Index: trunk/tcl/target/omap3530.cfg =================================================================== --- trunk.orig/tcl/target/omap3530.cfg +++ trunk/tcl/target/omap3530.cfg @@ -41,6 +41,7 @@ target create omap3.cpu cortex_a8 -chain # FIXME much of this should be in reset event handlers proc omap3_dbginit { } { + poll off reset sleep 500 @@ -65,4 +66,5 @@ proc omap3_dbginit { } { # omap3.cpu mdw 0x54011080 omap3.cpu mww 0x5401d030 0x00002000 + poll on }
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
