Time Measument Function - Renesas R0E00030AKCT00 User Manual

E30a emulator
Table of Contents

Advertisement

E30A Emulator User's Manual
4.2.3 Extraction Trace
An extraction trace with the start event E0 and the end event E4 specified is possible.
The events E1 -- E3 or E5 -- E7 that occurred during an interval between E0 to E4 are recorded in the trace RAM.
Note on Execution Address Trace Event:
When specifying the execution address as the trace event, the results may be different from what you
expect because the event is encountered at the prefetch address.
Note on Trace Event:
Do not set events in the area designated below. This restriction is due to specifications of the MCU's
internal debug circuit.
0100 0000h – FEFF FFFFh

4.3 Time Measument Function

4.3.1 Execution Time Measurement
You can measure a program execution time between Go and Stop. The 32-bit CPU clock counter allows you to measure a
program execution time of up to 67.1 s when operating at 64MHz.
4.3.2 Section Time Measurement
You can measure a program execution time between data accesses by trace information. Data access trace information (address,
data, data size and read/write) is compared/detected as the measurement start event and measurement end event inside the
emulator. The 40-bit asynchronous clock counter inside the emulator enables the section time measurement of more than 24
hours.
As a condition of section time measurement, you can specify that the measurement be taken of a time from when the start
event occurs till when the end event occurs or a cycle time with which individual events occur.
Notes on Time Measurement Function:
The execution time and the section time cannot be measured simultaneously. Select either an
execution time measurement or a section time measurement.
In a section time measurement performed, the data access trace information output from the MCU is
compared in the emulator to detect the start and end events. If a large number of data access times is
specified, trace output will take a lot of time, leading to errors in section time measurement or affecting
execution speed of the user program.
In the case of X
data access trace information for each event. If a data access of less than 5μs occurs, a trace output
time-dependent error will occur. Furthermore, if such a short data access occurs frequently, execution
speed of the user program will be delayed. We recommend write-only settings with least possible
events.
R20UT0422EJ0501 Rev.5.01
Mar 15, 2016
8MHz, PLL 128MHz (16 times), BASE 64MHz, for example, it takes 5μs to output the
IN
4. Debugging Functions
Page 46 of 65

Advertisement

Table of Contents
loading

This manual is also suitable for:

E30a

Table of Contents