Renesas R0E521000CPE00 User Manual page 83

Compact emulator for r8c family
Table of Contents

Advertisement

R0E521000CPE00 User's Manual
Note on Clock Supply to an MCU:
A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator
debugger.
(1) When Internal is selected:
The clock generated by the oscillation circuit board in the emulator is supplied to the evaluation MCU. The
clock is continually supplied to the evaluation MCU regardless of "user system clock status" and "user
program execution status".
(2) When External is selected:
The clock oscillating on the user system is supplied to the evaluation MCU. Clock supply to the evaluation
MCU depends on oscillation status (oscillate/off) of the user system.
Note on Stop and Wait Modes:
Do not single step an instruction shifting to stop or wait mode. It may cause communications errors.
Notes on Software Breaks:
Software breaks change the instruction at a specified address to a BRK (00h). Therefore, take note that when
you reference the result of a trace in bus mode, "00h" is displayed.
As the BRK instruction is used for the emulator, do not use it in a user program.
Note on the Watchdog Timer:
If the reset circuit of the user system has a watchdog timer, disable it when using the emulator.
Notes on Address-Match Interrupt:
Do not set a software break at the address for which an address-match interrupt will be generated, because it
will cause the user program to go wild. Make sure software and hardware breaks are set at the beginning of the
address-match interrupt processing.
If the address for which an address-match interrupt will be generated is single-stepped, the user program is
halted when the address-match interrupt processing is executed and the first instruction after return from the
interrupt is executed.
Note on Protect Register:
The protect is not canceled when bit 2 of protect register PRCR (PRC2), which enables writing into the port P0
direction register, is changed with the below procedure.
(1) Single-step execution of an instruction setting PRC2 to "1"
(2) Execution from the instruction setting "1" to PRC2 where a software breakpoint is set
(3) Setting a break point between an instruction setting PRC2 to "1" and a point where the port P0 direction
register is set
(4) Setting PRC2 to "1" by the memory window or script window
Note on Debugging Operations After Releasing a Reset from the User System:
Do not execute debugging operations (stopping program by a software or hardware break, or run-time
debugging, etc.), after releasing a reset from the user system until an interrupt stack pointer (ISP) is set in the
user program.
REJ10J0845-0600 Rev.6.00 Aug. 20, 2009
Page 81 of 92
IMPORTANT
4. Hardware Specifications

Advertisement

Table of Contents
loading

Table of Contents