16
2.2 Specific Functions for the Emulator when Using the SH7343
2.2.1 Event Condition Functions
The emulator is used to set 12 event conditions (Ch1 to Ch12) and the software trace. Table 2.4
lists the conditions of Event Condition.
Table 2.4 Types of Event Conditions
Event Condition Type Description
Address bus condition (Address) Breaks when the SH7343 address bus value or the program
counter value matches the specified value.
Data bus condition (Data) Breaks when the SH7343 data bus value matches the
specified value. Byte, word, or longword can be specified as
the access data size.
Bus state condition
(Bus State)
There are two bus state condition settings:
Bus state condition: Breaks or acquires a trace when the
data bus or the X-Bus or Y-Bus address bus of the SH7343
is matched.
Read/Write condition: Breaks or acquires a trace when the
specified read/write condition is matched.
Window address condition Breaks or acquires a trace when the data in the specified
memory range is accessed.
System bus Breaks or acquires a trace when the address or data on the
system bus is matched.
LDTLB instruction event condition Breaks when the SH7343 executes the LDTLB instruction.
Count Breaks when the conditions set are satisfied the specified
number of times.
Branch trace condition
(Branch trace)
Breaks or acquires a trace when a branch occurs with the
condition specified by the SH7343. (By default, trace
acquisition is enabled).
Software trace Selects whether or not the software trace is acquired.
Action Selects the operation when a condition, such as setting a
break, trace, or performance start or end, is matched.
Table 2.5 lists the combinations of conditions that can be set under Ch1 to Ch12 and the software
trace.