Above is a data breakpoint window with configuration options for SAM devices.
Location
Enter a specific address (e.g., 0x8004
) directly or an expression that evaluates to an address (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 a specific Access Mode. Three types of access modes are supported:
Address Mask
Use this setting to define the range of addresses to monitor for access.
Enter several address locations to monitor starting at the Location address. The actual range of monitored addresses can be wider than the expected range. E.g., if the Location is | |
The Mask Size is a read-only field, which displays the number of least significant bits masked in the Location address. Mask Size is calculated based on the Byte Count and Location addresses. | |
The Address Range is a read-only field, which displays the actual address range monitored for access. The assortment is a closed interval, including both minimum and maximum addresses. |
Data Match
Use the Data Match option to configure Data Breakpoint to compare the data at a specified location with a 32-bit value. The successful match triggers a break event.
Value is a 32-bit (4-byte) value to compare with data at the
Location address. The value can be decimal or
hexadecimal (e.g., | |
Use Mask to extract the appropriate bytes from
Value to use for data comparison. E.g., if the
Value is
| |
Match Value is a read-only field that displays match values. |