Matt Hsu wrote:
>
>> So in the OMAP initialisation script we have the line
>>
>>      # set DBGEN signal
>>        mww 0x5401d030 0x00002000
>>   
> Hi Magnus,
>
>    It seems that the debug address space is remapped from 0xD4010000 
> to 0x54010000.
>    But I could not find out any sections mentioned this remapping.
>
>    Also, I checked the global memory space mapping in omap35x_TRM.
>    The corresponding address of 0x54010000 is for MPU emulation.
>    I could not find out why this remapping is needed.
>    Anything do I miss?
>

The ap debug base address is 0x80000000, you can se this  in  the 
romtable information for DAP #1 with dap inf 1.
Here you can also se the offsets from the debug base address to the  
debug component adresses.  To get the memory address in the MEMAP memory 
map you must add base+offset:
( the 2 LSB bits are status and not part of the address)  
0x80000000+0xD4010000 = 0x54010000  ( unsigned 32 integer addresses )

So the values given in OMAP35x TRM  table 1.52:  Debugger Address Space 
are not the memory bus addresses but the offsets from the romtable base 
address.

More information can be found in the  ARM Debug Interface v5  
Architecture Specification,  ARM IHI 0031A,  sec. 8.1.3 and 14.6



Best regards
Magnus

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

Reply via email to