CHAPTER 4 HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
User’s Manual U18371EJ1V0UM
81
(a) Debug monitor area (this area must be secured)
Addresses 0x02, 0x03 and area starting from address 0x8F must be secured to embed the debug monitor
program.
If this area is rewritten by flash self programming, on-chip debugging can no longer be performed.
[How to secure areas]
When using NEC Electronics compiler CC78K0, addresses 0x02, 0x03 and area starting from address can be
secured for debug monitoring, using the linker option (-go). Figure 4-28 shows the Linker Options dialog box
of the project manager. Select the
″
On-Chip Debug
″
check box as shown in the figure below. If the pseudo
RRM function is not used, set the size to 256 bytes (in actuality, 257 bytes from 0x8F to 0x18F are secured).
If the pseudo RRM function is used, refer to
(f)
.
Figure 4-30. Linker Option Setting (Debug Monitor Area)