User manual

Table Of Contents
6. Debugging with hardware tools Raisonance Tools for ARM
6.4.7 Configuring Ride7 to use the SWV watchpoint traces
Go to the menu Debug->Advanced commands...->SWV watchpoints configuration to open the
Watchpoint Configuration: This window configures watchpoints and data watch via four comparators.
Watchpoints Enabled: This is a global enable/disable control for all comparators. If this is not checked
then all comparators are disabled.
Comparator X: Each comparator can be individually enabled and configured ,and generate an action
when a comparison match occurs.
Match condition:
A drop-down box selects the match condition between several choices:
Cycle counter: generates a trace event when the Cycle Counter reaches the parametrized value
(Comparator 0 only).
Program counter: generates a trace event when the Program Counter reaches the parametrized
value (equivalent to a code breakpoint, if Stop CPU is configured as action).
Access to data at address: generates a trace event when the CPU accesses the memory
address equal to the parametrized value.
Data value (1 address): generates a trace event when the CPU accesses the memory address
equal to the second parametrized value, and that data value is equal to the first parameter value
(Comparator 1 only).
Data value (2 addresses): generates a trace event when the CPU accesses the memory
address equal to the second or third parameter value, and that data value is equal to the first
parameter value.(Comparator 1 only).
Note for Data Value matching (Comparator 1):
- When Data Value matching 1 address is used, Comparator 2 is implicitly used, and is not available for
another match condition.
- 36 -