
Section 2 Software Specifications when Using the SH7781
Rev. 2.00 Jan. 28, 2008 Page 14 of 32
REJ10J1422-0200
2.2 Specific Functions for the Emulator when Using the SH7781
In the SH7781, a reset must be input when the emulator is activated.
2.2.1 Notes on Using the Trace Functions
The emulator supports the trace functions listed in table 2.4.
Table 2.4 Trace Functions
Function
Internal Trace
AUD Trace
Memory Output
Trace
Branch trace Supported (eight branches) Supported Supported
Range memory access trace Supported (eight events) Supported Supported
Software trace Supported (eight events) Supported Supported
Internal Trace Function: This function is activated by selecting the [Internal trace] radio button
in the [Trace type] group box of the [Trace mode] page. Set the trace condition to be used.
Notes: 1. If an interrupt is generated at the program execution start or end, including a step
operation, the emulator address may be acquired. In such a case, the following
message will be displayed. Ignore this address because it is not a user program
address.
*** EML ***
2. If a completion-type exception occurs during exception branch acquisition, the next
address to the address in which an exception occurs is acquired.
3. Trace information cannot be acquired for the following branch instructions:
• The BF and BT instructions whose displacement value is 0
• Branch to H'A0000000 by reset
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.
Notes: 1. When the trace display is performed during user program execution, the mnemonics,
operands, or source is not displayed.
2. The AUD branch 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
Kommentare zu diesen Handbüchern