Renesas SH7339 Network Card User Manual


 
22
When U-RAM or X/Y-RAM is accessed from the P0 space, the I-bus must be selected,
and when accessed from the P2 space, the L-bus must be selected. When a cache fill
cycle is acquired, I-bus must be selected.
2. Address setting when X/Y-bus is selected
To trace both the X/Y-bus when the X/Y-bus is accessed at the same time, the X-bus
condition must be set in channel A, and the Y-bus condition must be set in channel B.
(c) Software Trace Function
Note: This function can be supported with SHC/C++ compiler (manufactured by Renesas
Technology Corp.; including OEM and bundle products) V7.0 or later.
When a specific instruction is executed, the PC value at execution and the contents of one
general register are acquired by trace. Describe the Trace(x) function (x is a variable name) to
be compiled and linked beforehand. For details, refer to the SHC manual.
When the load module is downloaded on the target system and is executed while a software
trace function is valid, the PC value that has executed the Trace(x) function, the general
register value for x, and the source lines are displayed.
To activate the software trace function, select the [Software trace] check box in the [AUD
function] group box of the [Trace mode] page.
Notes on AUD Trace:
1. When the trace display is performed during user program execution, the mnemonics, operands,
or source is not displayed.
2. The AUD trace function outputs the differences between newly output branch source addresses
and previously output branch source addresses. The window trace function outputs the
differences between newly output addresses and previously output addresses. If the previous
branch source address is the same as the upper 16 bits, the lower 16 bits are output. If it
matches the upper 24 bits, the lower 8 bits are output. If it matches the upper 28 bits, the lower
4 bits are output.
The emulator regenerates the 32-bit address from these differences and displays it in the
[Trace] window. If the emulator cannot display the 32-bit address, it displays the difference
from the previously displayed 32-bit address.
3. If the 32-bit address cannot be displayed, the source line is not displayed.
4. In the emulator, when multiple loops are performed to reduce the number of AUD trace
displays, only the IP counts up.
5. In the emulator, the maximum number of trace displays is 65534 lines (32767 branches).
However, the maximum number of trace displays differs according to the AUD trace
information to be output. Therefore, the above pointers cannot be always acquired.
6. The AUD trace acquisition is not available when [User] is selected in the [UBC mode] list box
of the [Configuration] dialog box. In this case, close the [Trace] window.