User manual

DVP and EMU2 (HDS2) emulator features UM0036
250/385 Doc ID 7705 Rev 11
set to 0 or 1 except in the case of the Read/Write signal, where for clarity's sake, you
can choose between “R” or “W”.
You may flag values on the following pins/signals:
Four Analyser probe pins (located on the probe port on the front of the EMU2
emulator): AL0, AL1, AL2 and AL3.
A supplementary input/output pin, S2, located next to the probe cables on the front
of the EMU2 emulator.
The VMA signal indicates whether a memory cycle is valid or invalid. For example,
during processing, cycles are often used as computation time without significant
values on addresses and data buses. In these circumstances, the VMA signal for
that address is “0”. However, when a validated value is being read from or written
to an address, the VMA signal is “1”.
The R/W signal indicates whether a memory address is being read from (R) or
written to (W).
The LIR signal indicates whether there is a fetch cycle occurring (“1”) or not (“0”).
6. When you have finished defining the event(s), you must choose either the Advanced
Breaks or Trace Filtering mode (described in detail below). Click OK.
This action closes the Logical Analyser window, saving your event definition(s).
Figure 185. Defining an event
As an example, to set an event in the execution of the program when the value of the symbol
st0 is written as 10, the Event tab would appear as in Figure 185.
Note: If you exit the Logical Analyser window by clicking OK, and reopen the Logical Analyser,
you will find that the symbol value that you entered in the Event tab has been translated to
its hexadecimal bus address. This has no impact on the event definition itself, and occurs
because events defined in the Logical Analyser are based on the hardware data. As soon as
you enter a symbol (which is a programmed entity rather than a hardware address), it is
immediately translated in terms of where the symbol occurs in the memory address. For
example, the event we defined in Figure 185 appears as shown in Figure 186.