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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user