User manual
UM0036 EMU3 emulator features
Doc ID 7705 Rev 11 307/385
Example 2—Break on memory access with data masking
This example is an elaboration of the previous example. In this case, we set a breakpoint on
the reading or writing of a particular data value to a particular memory address or range of
memory addresses.
Imagine that you want to be alerted if a null value is written to the memory address 0x40.
The programming of the Advanced Breakpoints window is summarized in Table 74.
1. In the Advanced Breakpoints window, click on the Level1 tab, then on the Event1
tab.
2. In the Memory Event field, choose Memory Access with Data.
3. Set the memory event as shown in Figure 243.
Table 73. Advanced breakpoint programming summary
Step Description
START with TRACE ON or OFF
LEVEL 1
IF (access at memory location [0x40-0x47])
THEN break;
LEVEL 2-4 (empty)
Table 74. Advanced breakpoints summary
Step Description
START with TRACE ON or OFF
LEVEL 1:
IF (access at memory location [0x40]
with data=0x00)
THEN break;
LEVEL 2-4: (empty)