beautypg.com

4 setting trace modes, Setting trace modes – Renesas R0E530640MCU00 User Manual

Page 124

background image

R0E530640MCU00 User’s Manual

5. Debugging Functions

REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 124 of 229



5.9.4 Setting Trace Modes
(1) Setting trace modes

Following five trace modes are available.

Table 5.14 Trace modes
Stop

mode

Description

1

Fill until stop

Trace acquisition continues until the program stops running.

2

Fill until full

Trace acquisition stops when the trace memory is filled.

3

Fill around TP

Trace acquisition stops a specified number of cycles after a
trace point is encountered. A delay value can be specified in
a range of up to the maximum value of trace capacity.

4

Repeat fill until stop

Each time a trace point is encountered, acquisition is made
for a total of 512 cycles* before and after that point, and
acquisition continues that way until the program stops
running.

5

Repeat fill until full

Each time a trace point is encountered, acquisition is made
for a total of 512 cycles

*

before and after that point, and

acquisition continues that way until the trace memory is
filled.


CAUTION
Recording is made in units of total 512 cycles, consisting of 1 cycle at the line where a trace point is met and 255 cycles before
that point and 256 cycles after that point.

Figure 5.49 Differences between the trace modes

Specifiable conditions vary depending on trace mode, as summarized in the table below.

This manual is related to the following products: