On 5 July 2011 15:44, Drasko DRASKOVIC <[email protected]> wrote: > On Thu, Jun 30, 2011 at 6:25 PM, Drasko DRASKOVIC > <[email protected]> wrote: >> Now, in case of EJTAG communication implementation in mips32_pracc.c >> this is not a simple thing to implement. I am currently adding missing >> opcodes and trying to craft a miniprogram based on bytecode, similar >> to existing stuff. It is quite a headache to debug, but I previously >> spent a lot of time on demistfying this implementation and wrote one >> draft doc to this list (more complete doc is on the way, and will be >> contributed as a separate patch). > > OK, I have first draft of the patch which adds raw bytecodes and spits > them out to CPU via EJTAG, > implementing miniprogram that is given in the MIPS32 Architecture For > Programmers Volume II: The MIPS32 Instruction Set (pasted below) > > I have debugged and tested this implementation and it seems that it > works quite fine, even without notable performance penalty. > > So, the good new is that I can now debug Linux on MIPS with OpenOCD, > because soft breakpointswork fine and caches are coherent. >
Thats good news. After a quick look over i see your patch assumes that synci is supported by the target - may not be the case. Cheers Spen _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
