On Sunday 18 April 2010, Øyvind Harboe wrote:
> On Sun, Apr 18, 2010 at 11:00 PM,  <[email protected]> wrote:
> >>> feature allows breaks upon an access across a range of addresses.  
> >>> However,
> >>> theOpenOCD wp command does not support this
> >>
> >>In what sense "not support"?  I hae certainly configured and used OpenOCD
> >>watchpoints with of 64 KByte size, thus, "a range of addresses".  (And ISTR
> >>larger ranges, where hardware allows.)
> >
> > Does the size argument to the wp command refer to the size of a block of
> > memor

Size of what's being watched.  Maybe a bank of I/O registers, etc.



Yes.


> > y? I assumed it meant the size of a single access (byte, half-word, or 
> > word).


Or 8 bytes for floating point etc.  Note that "single" access is tricky to
define, and that instructions like LDM/STM  are not the only ones which
could be deemed to perform "multiple" access.


> > Ditto for the size argument to the bp command (2 for thumb mode, 4 for 
> > arm mode).

The "size" for BP is problematic.  Not all Thumb instructions are 2 bytes,
not all ARM ones are 4 bytes.




On the other hand, "trigger watch/break point on data/code access inside
this region" is straightforward semantics, which matches hardware well.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to