On Fri, Aug 1, 2008 at 1:16 PM, Magnus Lundin <[EMAIL PROTECTED]> wrote: > Øyvind Harboe wrote: >>> We can with no ill effects, I hope, add breakpoints with the target >>> running, both swbk and hwbk. >>> >> >> It must also work with a powered down target. >> >> I.e. configuration of breakpoints must be strictly seperated from the >> activation >> of breakpoints. >> >> > If we do not check the halt state when adding a breakpoint then this is > true. The check comes > on resume, and resume is meaningless for a powered down target. Removal > we have to think about. > > What is the reported state of a powered down target ?
Upon a powered down target you will not get a reliable result, only failed communication in general. I guess I want(like gdb?) to add all breakpoints on resume and remove them upon detected halt. Configuration of breakpoints should not touch the hardware. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
