On Wed, Sep 8, 2010 at 8:34 PM, Drasko DRASKOVIC <drasko.drasko...@gmail.com> wrote: > On Wed, Sep 8, 2010 at 8:11 PM, Øyvind Harboe <oyvind.har...@zylin.com> wrote: >> Look into the code in arm920t. It handles caches and breakpoints... > > Why arm920t, when I defined my target : > target create $_TARGETNAME arm966e -endian big -chain-position my.cpu > -variant arm946e > > Should not it be in src/target/arm966e.c ?
Look at the code in arm920t_write_memory, this should be done in 966e too. There is a bit of a job to do there to gather the code that writes software breakpoints and handles caching issues. The code should be in a single place and utilized from the various arm7/9 variants. -- Øyvind Harboe 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