On 20/04/2011 14.35, Michel JAOUEN wrote:
Hello,
I have a panda board. So I can do the test.
In file, omap4430.cfg , only one cortex_a8 is defined.
What is the dbg_base of the second one?
Best regards


Hi Michel,
if you check omap4430.cfg you can find the following info:




# APB DBGBASE reads 0x80040000, but this points to an empty ROM table.
# 0x80000000 is cpu0 coresight region
#
#
# CORTEX_A8_PADDRDBG_CPU_SHIFT 13
# 0x80000000 | (coreid << CORTEX_A8_PADDRDBG_CPU_SHIFT)

set _coreid 0
set _dbgbase [expr 0x80000000 | ($_coreid << 13)]
echo "Using dbgbase = [format 0x%x $_dbgbase]"




In simple words:
- 1st core dbg base is 0x80000000 | (0<<13) = 0x80000000
- 2nd core dbg base is 0x80000000 | (1<<13) = 0x80002000


regards
Luca
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to