Move Cortex A8 debug access initialisation from omap3530.cfg to cortex_a8.c

git-svn-id: svn://svn.berlios.de/openocd/trunk@2728 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
mlu
2009-09-18 15:11:46 +00:00
parent 631b2ab244
commit 7b3be0e21e
2 changed files with 39 additions and 43 deletions

View File

@@ -47,24 +47,9 @@ proc omap3_dbginit { } {
jtag tapenable omap3530.dap
targets
# sleep 1000
# dap apsel 1
# sleep 1000
# dap apsel 1
# dap info 1
# 0xd401.0000 - ETM
# 0xd401.1000 - Cortex-A8
# 0xd401.9000 - TPIU (traceport)
# 0xd401.b000 - ETB
# 0xd401.d000 - DAPCTL
omap3.cpu mww 0x54011FB0 0xC5ACCE55
omap3.cpu mdw 0x54011314
omap3.cpu mdw 0x54011314
# omap3.cpu mdw 0x54011080
# General Cortex A8 debug initialisation
cortex_a8 dbginit
# Enable DBGU singal for OMAP353x
omap3.cpu mww 0x5401d030 0x00002000
poll on
}