Renesas HS2378KCI01H Network Card User Manual


 
129
6.4.4 Trace Function
The emulator uses the branch-instruction trace and bus trace functions in the MCU, and
acquires a trace by operating the user program in realtime. The branch-instruction trace
function displays the branch-source address, the mnemonic, and the operand. The bus trace
function displays and searches the information on the address bus, data bus, memory access,
interrupt, and bus cycle, the mnemonic, and the operand. The acquisition conditions can also
be set.
(1) Setting the Trace Acquisition
The acquisition condition on the trace information is set.
Table 6.8 Setting Trace Acquisition
Acquisition Condition Description
Trace type Sets the trace information for acquisition and display.
Branch trace: Acquires and displays the branch-instruction trace
information.
Bus trace: Acquires and displays the bus trace information.
Bus trace mode Sets the trace acquisition condition when Bus trace is selected as
Trace type. This is not set when Branch trace is selected.
[Full Trace] check box
Indicates that all cycles are acquired.
[Suppress] group box
Sets a cycle to suppress acquisition.
DMAC Cycles: Suppresses acquiring the DMAC cycle.
DTC Cycles: Suppresses acquiring the DTC cycle.
CPU Instruction fetch Cycles: Suppresses acquiring the CPU-
instruction fetch cycle.
CPU Data access Cycles: Suppresses acquiring the CPU-data
access cycle.
[Address] group box
Sets the address condition to be acquired. Only A23 to A12 of the
address value can be set. Mask the lower 12 bits (A11 to A0).