User`s manual
20
2.2.2 AUD Functions
In the emulator, the functions listed in table 2.7 using the AUD function can be used. These
functions are operational when the AUD pin is connected to the emulator.
To enable the AUD function, select [Options -> Emulator -> System…] or set [AUD used] in the
[AUD Port] combo box of the [Configuration] dialog box that is opened by clicking the [Emulator
System] toolbar button
(
)
.
Note: Select [AUD used] and set the following before using the AUD function in the user
program. The AUD function does not operate correctly until the following is set after user
program execution is started:
• Set 1 to the AUDSRST bit in the SYSCR register and cancel the AUD reset.
• Set the pin function controller to enable the AUD input/output pins (/AUDSYNC,
AUDCK, AUDMD, /AUDRST, AUDATA3, AUDATA2, AUDATA1, and
AUDATA0) and the CK pin.
Table 2.7 AUD Functions
Function Description
Branch trace function Displays the addresses and instruction words at the branch
destination.
RAM monitor function Enables realtime memory reading or writing during user
program execution.
Notes: 1. When HS0005KCU01H is used, the AUD function cannot be used.
2. When the MCU operating mode is MCU expansion mode 2, the AUD function cannot
be used.
(1) Branch Trace Function
When a branch occurs during user program execution, the branch destination address is acquired.
When the next branch occurs while the trace information is being output, the information is
stopped and the next trace information is output. The user program can be executed in realtime,
but some trace information will not be output.
Note: After [Trace stop] is selected in [AUD mode] of the [Trace mode] page in the [Trace
Acquisition] dialog box and the trace buffer of the emulator becomes full, the trace
information is not acquired. The user program is continuously executed.










