CHAPTER 3 HOW TO USE MINICUBE2 WITH V850 MICROCONTROLLER
User’s Manual U18371EJ1V0UM
36
Example 2
Setting other than below is prohibited when the target device is the V850ES/HG2 and CSIB0 is
used.
7 6 5 4 3 2 1 0
PMC4
x x x x x 1 1 1
7 6 5 4 3 2 1 0
PMCCM x x x x x x x 0
7 6 5 4 3 2 1 0
PMCM
x x x x x x x 0
7 6 5 4 3 2 1
0
PCM
x x x x x x x
Read-only
Note
x: Any
Note
The port values corresponding to the H/S pin are changed by the monitor program according to the
debugger status. To perform port register settings in 8-bit units, usually the user program can use
read-modify-write. If an interrupt for debugging occurs before writing, however, an unexpected
operation may be performed.
(d) Security ID setting
This setting is required to prevent the memory from being read by an unauthorized person. Embed a security
ID at addresses 0x70 to 0x79 in the internal flash memory. The debugger starts only when the security ID
that is set during debugger startup and the security ID set at addresses 0x70 to 0x79 match.
If bit 7 of address 0x79 is
″
0
″
, however, debugging is disabled. In such a case, there are no methods to start
the debugger. Debugging is mainly disabled for mass-produced devices.
If the user has forgotten the security ID or to enable debugging, erase the flash memory and set the security ID
again.
[How to set security ID]
Embed a security ID at addresses 0x70 to 0x79 in the user program.
If the security ID is embedded as follows, for example, the security ID set by the debugger is
″
123456789ABCDEF123D4
″
(not case-sensitive).