English
Language : 

R0E417250MCU00 Datasheet, PDF (207/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
5. Debugging Functions
(2) Trigger output event
You can specify an event for trigger pins 20 to 16. A high-level signal will only be output while the event is occurring.
CAUTION
The actual trigger output follows event detection after some delay. The number of cycles of delay varies with the product. The
delay for trigger output in the R0E417250MCU00 is 10 cycles.
5.16.5 Events
For details on the setting of events, see section 5.7, “Using Events” (page 106).
5.17 Measuring the Execution Times in a Specific Section
Measurement of the execution times in a specific section of the program is possible. This facility takes the trace data for
instruction fetching at event points (start and end) used to specify the extraction of trace data and then outputs the timestamps
and their differences to a file in a format that is editable in Microsoft Excel.
Timestamps for up to 2-M cycles of trace data will be output to the file.
Each section is defined by two events (start and end events) and up to eight sections are specifiable.
Follow the procedure below to measure the execution times in a specific section of the program.
CAUTION
This facility is only supported by command-line operation. To measure the execution times for a specific section of the
program, be sure to specify the events on the same line as the command. Such measurement is not possible for events that have
been specified in the [Trace conditions] dialog box. Before using this facility, disable all events registered as hardware-break,
tracing, and performance-measurement conditions.
5.17.1 Setting Trace Conditions
Trace conditions can be specified on the command line.
(1) Selecting the mode of tracing
Select ‘fill until stop’, ‘fill until full’, or ‘fill around TP’ as the trace mode. Examples of the commands are given below.
event_trace_mode fr (fill until stop)
event_trace_mode fu (fill until full)
event_trace_mode po (fill around TP)
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 207 of 228