English
Language : 

R0E417250MCU00 Datasheet, PDF (208/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
5. Debugging Functions
(2) Specifying the start and end events
Specify the start and end events that define the points where the desired section starts and ends, along with the following
conditions.
Event type:
Instruction fetch
Address condition: Specified value (=)
Do not select any other event type or address condition.
To specify sections from H’1000 to H’10FF and from H’2000 to H’20FF, for example, enter commands as follows.
event_set ev1 f address eq 0x001000 cnt 0x1
event_set ev2 f address eq 0x0010FF cnt 0x1
event_set ev3 f address eq 0x002000 cnt 0x1
event_set ev4 f address eq 0x0020FF cnt 0x1
(3) Selecting an option for ‘Record condition’
You should specify extraction of trace data during the event. No other conditions should be selected.
An example of a command that specifies ‘Extraction’ and ‘Duration of an event’ for the events set in step (2) is given below.
event_trace_acquisition apo ev1 ev2 ev3 ev4
(4) Selecting an option for tracing
Select ‘Event number’ as an option for tracing. Do not select any other options. An example is given below.
event_trace_option ev
5.17.2 Acquiring Trace Data
Run the user program and acquire the trace data.
5.17.3 Specifying a Section
You can use the TRACE_EXECUTE_SECTION_SET command to specify a section. An example of commands to specify
section 1 that starts with event 1 and ends with event 2 and section 2 that starts with event 3 and ends with event 4 is given
below.
trace_execute_section_set 1 start ev1 end ev2
trace_execute_section_set 2 start ev3 end ev4
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 208 of 228