User manual
UM0036 DVP and EMU2 (HDS2) emulator features
Doc ID 7705 Rev 11 251/385
Figure 186. Event 1 as programmed
8.5.2 Advanced breaks using the logical analyser
You can use Events as conditions by which to insert a break in the running of an application,
by choosing the Advanced Break functionality from the drop-down list at the top of the
window.
Note: A break specified using the logical analyser is different from inserting an instruction
breakpoint or a data breakpoint, because the break in the execution of the application is
triggered by the Analyser hardware. Consequently, you may find that there is a delay
between the time the hardware condition specified by the event(s) is flagged and the time
that the application is actually stopped. In general, you will probably find that a few more
lines of the program have been executed before the program is halted.
To define an advanced break:
1. Open the Logical Analyser window.
2. Choose Advanced Break from the drop-down list at the top of the window.
3. In the Break After field, you can choose between three options:
– No Break: No breaks are specified.
– Event 1 + n1 cycles: The break occurs after Event 1 has occurred and n1 cycles
have subsequently elapsed. This requires you to define Event 1 and to enter a
specified number of cycles in the n1 field.
– n2 Occurrences of Event 2: The break occurs after Event 2 has occurred n2
times. This requires you to define Event 2 and to enter a specified number of
occurrences in the n2 field.