User`s manual

SuperH Family E10A-USB Emulator for Multi-core Microcomputers Section 7 Tutorial SH-4A
R20UT0363EJ0500 Rev. 5.00 Page 251 of 296
Aug 10, 2012
7.20.2 AUD Trace Function
This is the large-capacity trace function that is enabled when the AUD pin is connected to the
emulator. When an event for which trace information is to be acquired occurs, trace information
is output through the AUD pins in realtime. When each pair of a branch source and branch
destination instruction is treated as a unit, the maximum number of events for which trace
information can be acquired is 1,048,544. The number displayed in a given trace window is a
maximum of 65,535.
(1) Trace acquisition mode
The AUD trace function has the following modes to acquire a trace.
Table 7.2 shows the AUD trace acquisition mode that can be set in each trace function.
Table 7.2 AUD Trace Acquisition Mode
Type Mode Description
Continuous
trace occurs
Realtime trace When the trace information is being generated intensely that
the output from the AUD pin incapable of keeping up, the CPU
temporarily suspends the output of trace information.
Therefore, although the user program is run in real time, the
acquisition of some trace information might not be possible.
Non realtime
trace
When trace information is being generated so intensely that
the output from the AUD pin is incapable of keeping up, CPU
operations are temporarily suspended and the output of trace
information takes priority. In such cases, the realtime
characteristics of the user program are lost.
Trace buffer
full
Trace continue This function overwrites the latest trace information to store the
oldest trace information.
Trace stop After the trace buffer becomes full, the trace information is no
longer acquired. The user program is continuously executed.