On Wed, Feb 17, 2010 at 12:10 AM, David Brownell <davi...@pacbell.net> wrote: > 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).
Makes sense to me, but we don't have such a patch yet... -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118 http://www.zylin.com/events_embeddedworld.html US toll free 1-866-980-3434 / International +47 51 63 25 00 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