Renesas M16C/6NN Manual de usuario Pagina 23

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 37
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 22
E8a Emulator Section 6 Notes on Using the E8a Emulator
21. Note on debugging in CPU rewrite mode
When debugging in CPU rewrite mode, do not rewrite in CPU block 0 area (addresses FF000h - FFFFFh) and
block containing the E8a emulator program. If these areas are rewritten, the E8a emulator will not control the MCU.
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.
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.
22. Note on lock bits of Flash memory
When starting up in the [Erase Flash and Connect] mode or [Program Flash] mode, lock bits in all the blocks of the
Flash memory will be unlocked. Note that the lock bits of the downloaded blocks will be unlocked after
downloading the user program.
23. Notes on rewriting Flash memory
Do not reset the MCU when rewriting the Flash memory.
The Flash memory is rewritten when the “Flash memory write end” is displayed in the output window of the High-
performance Embedded Workshop. If the MCU is reset 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
24. Notes on the E8a emulator power supply
When writing a program with the E8a emulator for mass production processes, the program requires reliability, so
do not use the E8a emulator power supply function. Supply power separately to the user system according to the
allowable voltage for MCU writing. Voltage supplied from the E8a emulator depends on the quality of the USB
power supply of the PC, and as such, precision is not guaranteed. Note that when debugging the system which
operates the MCU with a dual power supply, power cannot be supplied from the E8a.
25. Low power consumption mode
When debugging in low power consumption mode, do not operate windows until the program stops at the
breakpoint by setting the breakpoint at the line of the program which will be executed after the low power
consumption mode is cancelled.
REJ10J1640-0400
Rev.4.00 Page 20 of 31
Apr 30, 2010
Vista de pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 36 37

Comentarios a estos manuales

Sin comentarios