CHAPTER 6 HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
User’s Manual U18371EJ1V0UM
149
Figure 6-13. On-Chip Debug Option Byte Setting Example
Caution If bit 7 (OCDENSET) of the on-chip debug option byte area (address 0xC3) is set to
″
0
″
by flash programming or self programming, debugging is disabled and the debugger
can no longer start unconditionally. To enable debugging, erase the flash memory by
flash programming.
(c) Security ID area
This is the area for the security setting to prevent the flash memory from being read by an unauthorized person.
The security ID functions as a password for starting the debugger. The debugger starts only when the
security ID that is input during debugger startup and the security ID embedded in this area match. If the ID
codes do not match, the debugger manipulates the target device in accordance with the value set to the
on-chip debug option byte area (refer to
Table 6-6
).
[How to set]
An ID code is generated in the security ID area by setting the security ID when using NEC Electronics
assembler RA78K0R or compiler CC78K0R. Select the
″
Security ID [-gi]
″
check box and set an arbitrary ID
code (10 bytes) as shown in the figure below.