User manual

DVP and EMU2 (HDS2) emulator features UM0036
240/385 Doc ID 7705 Rev 11
Figure 169. Hardware event settings window for DVP2
If you are using a Development Kit, in the Hardware event setting dialog box, choose
the kind of hardware event you want to set (either EVT_ON, EVT_OFF or EVT_HIT for
DVP2 and DVP3, or FORCE_HIGH or FORCE_LOW for DVP1) and check the Enabled
box. For more information, see Section 8.7 on page 255.
3. In the From field, type the begin address of the memory range on which the event is
set, or the name of the symbol on which address you want the event to be set.
4. Select Whole variable if you want the hardware event to be activated on the whole
variable range which is directly linked to the symbol type specified in the From field (for
example, on whole fields of data symbols for a C structure data type).
5. Select To to enter the end address of the memory range on which the event is set.
This can be expressed either as a symbolic name or as an address. By default, the
symbol name entered is the same as the symbol name in the From field. In the + field
you may also enter an offset if required.
6. When you have finished setting the hardware event, click OK.
To add a hardware event on a specific symbol from the Editor window
1. Open the Hardware Events window.
2. Open the relevant source file in the Editor.
3. Select the symbol for which you want to add a hardware event by highlighting it with the
mouse (it is highlighted in blue).
4. Either:
Drag and drop the highlighted symbol into the Hardware Events window.
By default, the size is the whole variable, and the type isOUT1 (for the EMU2
Emulator version) or EVT_ON (for the DVP version), but you may modify these
parameters from within the Hardware Events window if you want.
Figure 170. Hardware events window (EMU2 emulators)