Appendix C Internal Rom/Flash Memory Security Function - NEC IE-V850E1-CD-NW User Manual

Pcmcia card type on-chip debug emulator
Table of Contents

Advertisement

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
0x70
0x71
0x72
0x73
0x74
0x75
0x76
0x77
0x78
0x79
The ID code input in the Configuration dialog
123456789ABCDEF123D4 or 123456789abcdef123d4.
48
Value [7:0]
0x12
0x34
0x56
0x78
0x9A
0xBC
0xDE
0xF1
0x23
0xD4
User's Manual U16647EJ1V0UM
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
box
of
the
integrated
debugger
ID850NWC
is

Advertisement

Table of Contents
loading

Table of Contents