English
Language : 

R0E00008AKCE00EP38 Datasheet, PDF (28/35 Pages) Renesas Technology Corp – Microcomputer Development Environment System
E8a Emulator
7. Notes on Using the E8a Emulator
7.2 Flash memory
7.2.1 Notes on debugging in CPU rewrite mode
(1) CPU rewrite can be executed only for the data area. If it is executed for the program area, the E8a emulator cannot
control the MCU.
(2) When rewriting the data area, 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. In addition, 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.
(3) 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. If CPU rewrite can be executed for the data area, and erase process can be suspended,
do not use software breaks.
(4) 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.
7.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
7.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.
7.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.
REJ10J1739-0200 Rev.2.00 Jul. 03, 2009
Page 28 of 35