33
AUD Trace Function: This function is operational when the AUD pin of the device is connected
to the emulator. It is activated by selecting the [AUD trace] radio button in the [Trace type] group
box of the [Trace mode] page. Set the trace condition to be used.
[Restrictions]
Set bits 2 and 1 in register HIZCRB and bit 15 in register HIZCRC as 0 be fore activating the
AUD trace function.
When a reset signal is input during execution of the user program, no trace information can be
acquired until a break occurs. If you wish to continue execution of the user program after a
break, set bits 2 and 1 in register HIZCRB and bit 15 in register HI ZCRC as 0.
Do not execute [Reset Go] while using the AUD trace function. Use [Reset CPU] instead and
set bits 2 and 1 in register HIZCRB and bit 15 in register HIZCRC as 0 before restarting the
execution.
Table 2.9 shows the AUD trace acquisition mode that can be set in each trace function.
Table 2.9 AUD Trace Acquisition Mode
Type Mode Description
Continuous
trace occurs
Realtime trace When the next branch occurs while the trace information is
being output, all the information may not be output. The user
program can be executed in realtime, but some trace
information will be lost.
Non realtime trace When the next branch occurs while the trace information is
being output, the CPU stops operations until the information
is output. The user program is not executed in realtime.
Trace buffer
full
Trace continue This function overwrites the oldest trace information to store
the latest trace information.
Trace stop After the trace buffer becomes full, the trace information is no
longer acquired. The user program is continuously executed.