Hi Aaron,
On 28/01/2011 5.45, Aaron Carroll wrote:
The reason that you can't read the ROM through the debugger is because
it reads memory through the AHB-AP, which sits on the L3 interconnect.
  However, the ROM is actually on the A9's internal L2 interconnect.
On the L3, 0x40028000 doesn't map to anything.  The 4430 TRM is a bit
ambiguous, because it includes the ROM space in the "L3 Memory Space
Mapping" table.

Thanks for the explanation


I think it would be easy to add a flag or similar to the memory dump
commands in OpenOCD to have the A9 issue memory accesses on behalf of
the debugger, so we can access resources on the L2 interconnect... it
is already like this on some CPUs.  Not sure how useful it would be,
though.

Great idea, I think it would be very useful to examine what ROM code do!
I will investigate!

PS. your x-loader patch works great! Now I can halt the processor even after x-loader runs. How about sending the patch to x-loader guys?

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

Reply via email to