User manual

UM0036 DVP and EMU2 (HDS2) emulator features
Doc ID 7705 Rev 11 237/385
8 DVP and EMU2 (HDS2) emulator features
This section explains how to use the features that are specific to the ST7 DVP or EMU2
emulator, including:
Section 8.1: Working with output triggers
Section 8.2: Using hardware events
Section 8.3: Trace recording
Section 8.4: Using hardware testing
Section 8.5: Logical analyser (EMU2 emulators only)
Section 8.6: Stack control window (DVP emulators)
Section 8.7: Trigger/trace settings (DVP emulators)
8.1 Working with output triggers
Triggers are output signals from the EMU2 Emulator or Development Kit (DVP) that can be
connected to an external resource.
Two triggers, OUT1 and OUT2 are available on the ST7 EMU2 emulator. These signals can
be used to synchronize an external measurement instrument, such as an oscilloscope.
When a user-defined OUT1 or OUT2 event occurs, an impulse (TTL level) is emitted at the
Trigger OUT1 or OUT2 outlets on the emulator front panel, where a one-clock cycle pulse is
emitted.
For the Development Kits, when a user-defined event occurs, an impulse (TTL level) is
emitted or the level of a signal is changed at a special outlet (TRIGOUT pin) on the DVP
evaluation board. A special dialog box lets you choose the waveform mode for the external
signal.
You can set Trigger events so that signals are sent under the following circumstances:
when a variable or constant is accessed,
when a data memory address or range of addresses are accessed,
when a program memory address or range of addresses are accessed, or its contents
are executed.
When, and under what circumstances, a signal is output from a Trigger can be controlled
using Hardware Events, described in Section 8.2: Using hardware events.
8.2 Using hardware events
A hardware event is used to control when you want to filter the trace or to trigger output
signals from your EMU2 Emulator or Development Kit.