![NEC IE-V850E1-CD-NW User Manual Download Page 48](http://html1.mh-extra.com/html/nec/ie-v850e1-cd-nw/ie-v850e1-cd-nw_user-manual_3808444048.webp)
User’s Manual U16647EJ1V0UM
48
APPENDIX C INTERNAL ROM/FLASH MEMORY SECURITY FUNCTION
A ten-byte ID code authentication function is provided in the microcontrollers with internal ROM/flash memory to
prevent the memory contents from being read by an unauthorized person.
The ID code specifications are as follows. Embed the ID code in the internal ROM/flash memory in accordance
with these specifications. Input the ID code in the Configuration dialog box of the integrated debugger to execute ID
code authentication before starting debugging (reading the code of the internal ROM/flash memory of the target
device) using the integrated debugger and the IE-V850E1-CD-NW.
[ID code specifications]
•
Addresses 0x70 to 0x79 are used as the 10-byte ID code.
•
Bit 7 at address 0x79 is used as the N-Wire emulator use enable flag (use disabled if “0”, and enabled if “1”).
•
Debugging can be started if the ID code input in the integrated debugger and the ID code embedded in the
internal ROM/flash memory match.
•
Even if the ID code matches, debugging cannot be performed if the N-Wire emulator use enable flag is “0”.
•
When the flash memory is in the erase status, the ID code is 0xFFFFFFFFFFFFFFFFFFFF.
An example of the ID code setting is shown below.
Example) When the following values are set to addresses 0x70 to 0x79
Address
Value [7:0]
0x70
0x12
0x71
0x34
0x72
0x56
0x73
0x78
0x74
0x9A
0x75
0xBC
0x76
0xDE
0x77
0xF1
0x78
0x23
0x79
0xD4
The ID code input in the Configuration dialog box of the integrated debugger ID850NWC is
123456789ABCDEF123D4
or
123456789abcdef123d4
.
Example of assembler
.org 0x70
.byte 12
.byte 34
.byte 56
.byte 78
.byte 9a
.byte bc
.byte de
.byte f1
.byte 23
.byte d4