Browse Source

Updated reset event handling in omap3530 cfg

git-svn-id: svn://svn.berlios.de/openocd/trunk@2796 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.3.0-rc0
mlu 12 years ago
parent
commit
f87985b614
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      tcl/target/omap3530.cfg

+ 7
- 2
tcl/target/omap3530.cfg View File

@@ -42,15 +42,20 @@ target create omap3.cpu cortex_a8 -chain-position $_CHIPNAME.dap
# 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"



Loading…
Cancel
Save