On Tuesday 16 February 2010, Øyvind Harboe wrote:
> >
> > Another option of course is to
> >
> >        - first invalidate the line(s) you'll be writing
> 
> This will break things as the cache line can already
> contain stuff should be flushed, i.e. that you need to
> modify *part* of the cache line.

Hence my comment elsewhere about using the ARM7/ARM9
"execute one instruction" code -- instead of scanchain 15
operations -- to flush the cache.


> Marc's patch solves this by reading a cache line from
> memory, writing it to physical memory, then invalidating
> the cache line. Very straightforward and readable using
> only existing and tested bits and bobs.

But rather complicated, compared with using real flush
ops (not via scanchain 15).
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to