On Tue, Oct 20, 2009 at 6:10 PM, Magnus Lundin <lun...@mlu.mine.nu> wrote:
> Øyvind Harboe wrote:
>>
>> Would anybody object strongly to making target_write_memory()
>> temporarily disable MMU read-only bits?
>>
>> This would be e.g. to enable setting breakpoints in memory
>> the MMU has mapped as read-only.
>>
>> If someone has tips or ideas on how to implement this, I would
>> greatly appreciate input.
>>
>>
>
> What target ?

All of them eventually, but I think I'll have a look at arm9(26ejs) first...

> It is simple for the Cortex A8.  Ask for virt2phys address translation, then
> write directly to phys RAM and remember to invalidate the I-cache.

We are agreed that we want this then?

Patches gladly accepted anyone! ;-)



-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to