Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: JTAG Programmer Confusion - Noob Question

2005-12-05 by Bertrik Sikken

ntfreak2000 wrote:
> --- In lpc2000@yahoogroups.com, Scott Newell <digital.pickle@g...>
> wrote:
>>
>> At 06:14 PM 12/3/2005, Bertrik Sikken wrote:
>>
>> >I tried both ocdcommander and ocdremote and as far as I
> understand now,
>> >the big problem with these is that they cannot set breakpoints in
> flash.
>>
>> What?  Under OCD Commander, the HBR command doesn't work for you? 
> That's
>> very odd.
>>
>> I've used hardware breakpoints before, and if you really want to
> get
>> tricky, you can access the ICE-breaker registers from OCD
> commander as well.

Thanks for the correction, the HBR command works fine.

> Newer versions of ocdremote support the hbreak command, they have
> also added another monitor command:
> monitor softbkpts off
> 
> this means that all breakpoint requests by insight/gdb will be set
> as hardware breakpoints, which means when enabled stepping etc works
> correctly in Flash.
> 
> to resume the default behaviour type monitor softbkpts on

Ah nice, thanks for the tip.
I tried this in gdb console and indeed it works (have not been
able to also get it to work with insight source level debugging yet).

Kind regards,
Bertrik

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.