39
instructions cannot be set. For these cases, do not set BREAKPOINTs. Refer to the hardware
manual for details.
7. When the [Normal] option is selected in the [Memory area] group box in the [General] page of
the [Configuration] dialog box, a BREAKPOINT is set to a physical address or a virtual
address according to the SH7362 MMU status during command input when the VPMAP_SET
command setting is disabled. The ASID value of the SH7362 PTEH register during command
input is used. When VPMAP_SET command setting is enabled, a BREAKPOINT is set to a
physical address into which address translation is made according to the VP_MAP table.
However, for addresses out of the range of the VP_MAP table, the address to which a
BREAKPOINT is set depends on the SH7362 MMU status during command input. Even
when the VP_MAP table is modified after BREAKPOINT setting, the address translated when
the BREAKPOINT is set valid.
8. When the [Physical] option is selected in the [Memory area] group box in the [General] page
of the [Configuration] dialog box, a BREAKPOINT is set to a physical address. A
BREAKPOINT is set after disabling the SH7362 MMU upon program execution. After setting,
the MMU is returned to the original state. When a break occurs at the corresponding virtual
address, the cause of termination displayed in the status bar and the [Output] window is
ILLEGAL INSTRUCTION, not BREAKPOINT.
9. When the [Virtual] option is selected in the [Memory area] group box in the [General] page of
the [Configuration] dialog box, a BREAKPOINT is set to a virtual address. A BREAKPOINT
is set after enabling the SH7362 MMU upon program execution. After setting, the MMU is
returned to the original state. When an ASID value is specified, the BREAKPOINT is set to
the virtual address corresponding to the ASID value. The emulator sets the BREAKPOINT
after rewriting the ASID value to the specified value, and returns the ASID value to its original
value after setting. When no ASID value is specified, the BREAKPOINT is set to a virtual
address corresponding to the ASID value at command input.
10. An address (physical address) to which a BREAKPOINT is set is determined when the
BREAKPOINT is set. Accordingly, even if the VP_MAP table is modified after
BREAKPOINT setting, the BREAKPOINT address remains unchanged. When a
BREAKPOINT is satisfied with the modified address in the VP_MAP table, the cause of
termination displayed in the status bar and the [Output] window is ILLEGAL INSTRUCTION,
not BREAKPOINT.
11. If an address of a BREAKPOINT cannot be correctly set in the ROM or flash memory area, a
mark z will be displayed in the [BP] area of the address on the [Source] or [Disassembly]
window by refreshing the [Memory] window, etc. after Go execution. However, no break will
occur at this address. When the program halts with the event condition, the mark z disappears.