User manual
UM0036 EMU3 emulator features
Doc ID 7705 Rev 11 315/385
The Advanced Breakpoints window should appear as shown in Figure 248.
Figure 248. Programmed window
Example 2: Toggling a trigger output signal
Suppose that you want the output trigger signal to be toggled (go from 0 to 1 or from 1 to 0)
upon a certain conditional event.
In this example, the event is the detection of an opcode fetch at a specific address
corresponding to a function call at line 170 in sample.c.
We need to program the Advanced Breakpoints window as summarized in Table 82.
The programmed Advanced Breakpoints window should appear as shown in Figure 249.
Table 81. Advanced breakpoints summary
Step Description
START with TRACE ON or OFF
LEVEL 1:
IF (Enter IT)
THEN (Trigger 1 Pulse);
LEVEL 2-4: (empty)
Table 82. Advanced breakpoints summary
Step Description
START with TRACE ON or OFF
LEVEL 1:
IF (opcode fetch at sample.c:170)
THEN (Trigger 1 Toggle);
LEVEL 2-4: (empty)