Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Øyvind Harboe
>> Configuration of breakpoints should not touch the hardware. > > That would slow down single-step or halt/resume operation. Good point. But the choice of what types of breakpoints to use can be made seperate from the activation of those breakpoints. How about that the a config decides what typ

Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Dominic Rath
Original-Nachricht > Datum: Fri, 1 Aug 2008 13:20:10 +0200 > Von: "Øyvind Harboe" <[EMAIL PROTECTED]> > An: "Magnus Lundin" <[EMAIL PROTECTED]> > CC: Openocd-Dev > Betreff: Re: [Openocd-development] arm7_9 sw_bkpts enable > On

Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Øyvind Harboe
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 mu

Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Magnus Lundin
Ø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 w

Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Øyvind Harboe
> 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. -- Øyvind Harboe http://www.zylin.com/zy1000.html

Re: [Openocd-development] arm7_9 sw_bkpts enable

2008-08-01 Thread Magnus Lundin
Some not quite random observations, mainly for arm7_9 targets Øyvind Harboe wrote: > The arm7_9 sw_bpkts fails if the target is not halted. > We can with no ill effects, I hope, add breakpoints with the target running, both swbk and hwbk. The breakpoints will then be added to the openocd targe

[Openocd-development] arm7_9 sw_bkpts enable

2008-07-28 Thread Øyvind Harboe
The arm7_9 sw_bpkts fails if the target is not halted. This is a problem when writing configuration scripts. I find the configuration of breakpoints a bit confusing and I'm wondering if we couldn't define an way of handling this that covers all common cases in a less confusing manner. - auto - t