Trace Functions - Renesas SH-4A User Manual

Microcomputer development environment system
Hide thumbs Also See for SH-4A:
Table of Contents

Advertisement

1.3.3 Trace Functions

(1) Trace Functions
The emulator has mainly two trace functions:
• A function that acquires information within the MPU such as the CPU or system bus by a trace
• A function that acquires information outside the MPU such as the external bus by a trace
(a) Function to acquire information within the MPU by a trace
The acquired trace information is displayed in the [Internal/AUD/Usermemory trace] window.
The information to be acquired by a trace is an event that trace acquisition is selected as the
action condition in the channel on the [Onchip Event] sheet of the [Event] window. To store
such information, there are following three methods:
⎯ Function to store the information in a dedicated small trace memory in the MPU
Eight types of information are stored.
This function is enabled when the AUD pin is not connected to the emulator or the memory
cannot be used for tracing.
This function is hereafter called as the internal trace function or the Internal trace.
⎯ Function to output the information in realtime from the AUD pins
This is the large-capacity trace function that is enabled when the AUD pins are connected
to the emulator. The emulator generates a break on the basis of the information output from
the AUD pins.
This function is hereafter called as the AUD trace function.
When a set of the branch source and branch destination instructions is one branch, the
maximum amount of information acquired by a trace is 262,144.
⎯ Function to store the information in the specified memory
The acquired trace information is stored within the specified memory range.
Do not specify the program area as the trace information is overwritten to the memory in
the specified range.
This function is hereafter called as the memory output trace function or the Usermemory
trace.
The AUD trace function is expanded in the emulator.
Expanded function 1: The timestamp information can be acquired.
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents