User manual

UM0036 DVP and EMU2 (HDS2) emulator features
Doc ID 7705 Rev 11 253/385
previous event condition recordings are completed (for example, Event 2 condition recording
only starts when Event 1 condition recording is completed).
To define conditions for trace buffer recording:
1. Open the Logical Analyser window.
2. Choose Trace Filtering from the drop-down list at the top of the window.
3. In the Record field, choose one of the three options (as shown in Figure 189):
Figure 189. Trace filtering options
Record Everything until Event 1 + n1 cycles: The condition being defined is that
the trace is recorded until Event 1 occurs and then n1 cycles elapse. This requires
you to define Event 1 and to enter a specified number of cycles in the n1 field.
Record n2 occurrences of Event 2: The trace does not begin recording until
Event 2 occurs, and then it records everything until 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.
Permanent recording: The trace buffer records unconditionally.
Note: For each case, a small schematic shows how long the trace is recorded. In the example
shown above, the trace starts to be recorded at Go (symbolized by the bold line) when the
application is run. It continues to be recorded until Event 1 occurs, and continues during the
execution of n1 cycles. Once the n1 cycles have elapsed, trace recording is halted.
4. If necessary, continue to apply trace filtering conditions using up to three events by way
of the And then fields.
In the example shown in Figure 190, the trace recording starts from Go and continues
until Event 1 plus n1 cycles have occurred. Then recording stops (as indicated by the
finely dotted line), and only restarts when Event 2 occurs, and continues recording
event cycles (bold dotted line) until Event 2 has occurred n2 times.