of 23
Jul.20.21
3.8.3 Pseudo RRM/DMM functions
Note the following points when using the pseudo RRM function or the pseudo DMM function.
•Standby mode (HALT or STOP) may be canceled during monitoring.
•The pseudo RRM/DMM function does not work while the CPU operating clock is stopped.
•When there is large number of monitoring points, the responsiveness of the debugger slows.
•Monitoring by using a watch panel instead of a memory panel reduces the impact on debugger
responsiveness.
•The pseudo RRM/DMM function does not work while running on the sub-clock.
•Even when the RAM guard function is enabled, memory contents can be rewritten by the pseudo
DMM function.
3.8.4 Start/Stop functions
Note the following points if you intend to use this functionality.
•Even if the start/stop function writes new values to the CPU registers, the states of the registers are
restored when the function ends.
•Stepped execution of the start/stop functions is not possible. However, the functions work when
RUN is performed internally, such as when the CALL instruction is stepped over.
•Breaks cannot be used in Start/Stop functions.
•When execution of a user program starts from an address where a software breakpoint has been
set, the instruction at the breakpoint is executed before the start function is run.
The order of execution is (a), (b), and (c) below.
(a) Stepped execution (due to the break) of the instruction where the breakpoint is set
(b) Running the start function
(c) Executing instructions of the user program following the address where the breakpoint is set
(continuous execution)
•When thestart function is enabled and the user program is executed froman addressat which an event
break condition is set, the condition can only be satisfied after the start function has been executed.
Step-execute the instruction to start the user program from the next address after that at which an
event break condition is set, or disable the start function if you do not require it.
•If you intend to use a stop function specified by a Start/Stop function, specify a subroutine which
returns normally. If the specified subroutine does not return normally, the emulator debugger will
lose control over execution. To restore control, issue a reset of processing from the debugger.
3.8.5 Emulation of flash memory CRC accumulator function
(1) High-speed CRC (code flash: all areas)
In on-chip debugging, the CRC calculation result may differ from the actual result because the
monitor program is in place and the reset vector is rewritten. Confirm the operation of the high-
speed CRC on the device alone without the debugger.
(2) General-purpose CRC (code flash: specified area)
In on-chip debugging, the CRC calculation result may differ from the actual result when one of the
following areas is specified as the CRC calculation target area because the monitor program is in
place and the reset vector is rewritten.
•Reset vector area
•Debug monitor area
•On-chip debug option byte area
•Areas where software breaks are specified