Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Debugging from flash

2005-10-29 by Rob Jansen

Robert Adsett wrote:

>  Neither of those will provide a data watchpoint though which is what I
> was
>  referring to above.  Since in order to implement that you would have to
>  single step through the code at the instruction level and evaluate at
> every
>  step.  This would be considerably below full speed.  I suspect that this
> is
>  only possible with a proper ICE and I haven't seen one of those for any
>  micro that has a BDM or JTAG interface.

And the ARM7 has a proper ICE.
See my previous post http://groups.yahoo.com/group/lpc2000/message/9851
which explains the function of the ARM Embedded ICE module.

A breakpoint is just a watchpoint that breaks on address + instruction
fetch. A watchpoint breaks on address + data read/write, possibly with a
specific data pattern.

This means that the ARM can use a hardware watchpoint while running at
system speed. I have used this using the ARM RealView tools.

I am not sure of other debuggers though.

Rob

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.