Trace Function (Program Execution History) - Renesas IECUBE2 User Manual

In-circuit emulator
Table of Contents

Advertisement

QB-V850E2
1.3.4

Trace function (program execution history)

The trace function can be used to check the CPU execution history (trace). Items (1) to (7) can be
recorded in the execution history.
(1) Program counter (PC) of branch source and branch destination
The PCs of a branch source and a branch destination can be recorded in the history.
Consequently, practically all executed programs can be checked, because programs executed
between branch points also will be clarified. The amount of trace memory used can be saved and
more history items can be traced by that amount, by recording only branch information.
amount of traces that can be traced back depends on the number of branches.)
(2) Access data/access address
Access addresses for memories and peripheral I/O registers, and access data can be recorded in the
history. Read and write operations can also be recorded in the history.
Caution Accesses to CPU program registers (such as r1 and r2) and system registers (such
as PSW and EIPC) cannot be recorded in the history.
(3) Time stamp
The time elapsed from the trace start point can be added to each trace information. The timer
performance for time stamps is the same as that of the time measurement function (1.3.5 Time
measurement function).
(4) DMA access address, data, status, channel number, transfer count
When the DMA function of the target microcontroller is being used, the DMA access can be recorded
in the history.
- Access address
- Access data
- Access status (R/W)
- DMA channel number
- Transfer count
(5) History of specific sections (section trace)
Only specific sections can be recorded in the history by using the event function (1.3.6 Event
function (specific CPU operation detection)) in combination. For example, the execution history
of from the start to the end of a function can be recorded.
(6) History of specific phenomenon occurred (qualify trace)
Only the occurrence of specific phenomena can be recorded in the history by using the event
function (1.3.6 Event function (specific CPU operation detection)) in combination.
For example, a history of having accessed to only a variable can be recorded.
R20UT0824EJ0101 Rev.1.01
2013.01.08
1.GENERAL
(The
Page 12 of 26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qb-v850e2

Table of Contents