English
Language : 

R0E00008AKCE00EP52 Datasheet, PDF (36/43 Pages) Renesas Technology Corp – Microcomputer Development Environment System
E8a Emulator
6. Notes on Using the E8a Emulator
6.2 Flash memory
6.2.1 Note on debugging in CPU rewrite mode
(1) Unrewritable area in CPU rewrite mode
When debugging in CPU rewrite mode, do not rewrite CPU for the following area. If these areas are rewritten, the E8a
emulator will not control the MCU.
- Block 0 area (addresses FFFF8000h - FFFFFFFFh) and block containing the E8a emulator program
(2) Operation in CPU rewrite mode
- Do not halt the user program while setting up the CPU rewrite mode and releasing it. If halted, the E8a emulator may
not control the MCU.
- Disable the automatic update in the watch window or fix the display in the memory window before running the
program so memory accesses do not occur during an execution.
- To check the data after executing the CPU rewrite mode, halt the program after releasing the CPU rewrite mode and
refer to the memory window, etc.
- When rewriting the Flash memory in the program area, select Menu -> [Setup] -> [Emulator] -> [System...] to open the
[Configuration] dialog box in the High-performance Embedded Workshop. In this dialog box, change the [Flash
memory synchronization] setting to [Flash memory to PC] and set the debugger cache to OFF.
In this setting, the Flash memory is read whenever a break occurs, which takes some time. Use it with the [Disable]
setting except when debugging in CPU rewrite mode.
6.2.2 Note on rewriting flash memory
(1) Do not reset nor execute debugging operations to the MCU when rewriting the flash memory.
Flash memory rewrite ends when the “Flash memory write end” is displayed in the output window of the High-
performance Embedded Workshop. If the MCU is reset or debugged when rewriting the flash memory, the user program or
the E8a emulator program may be disrupted.
Flash memory rewrite occurs:
- When downloading the user program
- After setting PC breaks in the flash memory and executing the user program
- After canceling PC breaks in the flash memory and executing the user program
- After rewriting the value of the flash memory in the memory window and executing the user program
6.2.3 Note on flash memory during user program execution
Do not rewrite the flash area from the memory window, etc., except from the user program during user program execution.
6.2.4 MCUs used for debugging
When debugging, the Flash memory is frequently rewritten by the E8a emulator. Therefore, do not use an MCU that has been
used for debugging in products. Also, as the E8a emulator program is written to the MCU while debugging, do not save the
contents of the MCU Flash memory which were used for debugging nor use them as the ROM data for products.
REJ10J1877-0201 Rev.2.01 Jun. 26, 2009
Page 36 of 43