This window provides configuration options related to data breakpoint for XMEGA devices.
Location
You can enter a specific address in RAM (e.g.:
0x8004
) directly or an expression that evaluates to an address in RAM
(e.g.: &x
). Make sure the expression you enter represents the address
of the data to monitor.
Access Mode
You can configure the breakpoint to break on specific Access Mode. Three types of access modes are supported:
Data Match
Use the Data Match option to configure Data Breakpoint to compare the data at a specified location based on one of the following conditions:
Location content is equal to the value
Location content is greater than the value
Location content is less than or equal to the value
Location content is within the range
Location content is outside the range
Bits of the location is equal to the value
In general, for a given value V and bit mask M, the break event is triggered when the value in the location field VL satisfies the following condition:
(V) & (M) == (VL) & (M)
For example, using Value = 0xA0
and
Bit Mask = 0xF0
will trigger a break event when the
location field has any of the values between 0xA0
to
0xAF
.