This window provides configuration options related to the data breakpoint for XMEGA devices.
Location
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
Configure the breakpoint to break on the 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:
'1'
are significant, and the bits
with '0'
are don't care.In general, for a given value V and bitmask 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 the values between 0xA0
to
0xAF
.