Time Measurement Function; Event Function (Specific Cpu Operation Detection) - Renesas IECUBE2 User Manual

In-circuit emulator
Table of Contents

Advertisement

QB-V850E2
(7) Recording histories before and after specific phenomenon has occurred (delay trigger trace)
The history after a specific phenomenon has occurred can be recorded by using the event function
(1.3.6 Event function (specific CPU operation detection)) in combination. This is similar to being
able to observe a signal waveform by assuming an edge as a trigger, when using an oscilloscope to
observe a signal.
For example, the program execution histories before and after a write access has been performed for
a variable can be viewed.
1.3.5

Time measurement function

This function is used to measure the execution time of a specific section. The measurement start and
end points can be set by using the event function (1.3.6 Event function (specific CPU operation
detection)).
In addition, the maximum, minimum, and average execution time and the number by which the
measurement section has been passed can be measured.
1.3.6

Event function (specific CPU operation detection)

The event function is used to detect specific fetch and access operations by observing the CPU bus cycle.
CPU operations, such as of an address being executed and a variable are being accessed can be detected.
Such specific CPU operations are called events.
functions.
• Hardware break function
• Trace function
• Time measurement function
The events that can be registered by using the event function are as follows.
(1) Pre-execution event
A pre-execution event is detected when execution of an address is attempted. It can be used only
with the hardware break function. Four pre-execution event points can be specified.
[Detection conditions that can be specified]
- Execution address
(2) Post-execution event
A post-execution event is detected when an address has been executed.
post-execution event can be specified as a range. Up to eight post-execution event points can be
specified, but if the execution address has been specified as a range, two points will be consumed.
When the execution address has been specified as a range for all events, four event points can be
specified.
[Detection conditions that can be specified]
- Execution address (can be specified as a range)
R20UT0824EJ0101 Rev.1.01
2013.01.08
Use the event function together with the following
1.GENERAL
The address of a
Page 13 of 26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qb-v850e2

Table of Contents