E1/E20/E2/E2 Lite Additional Document
R20UT1994EJ0900 Rev.9.00
Page 45 of 58
Jan.20.22
3.3.5
Setting a Serial Programming Security ID
This setting is to prevent to write malicious program or tamper the program by an unauthorized person.
Serial programming security ID is deployed at 0xD6 to 0xE5 of the internal flash memory.
On starting debugger, id certification is done, if it doesn't match, you can't debug. And If you write this ID on
using memory panel, you can't debug the chip anymore.
The setting "0xFFFFFFFFFFFFFFFFFFFF", in which the value at all addresses is "0xFF", can be set.
The way to set serial programming security ID is below.
•
Embed serial programming security ID by user program.
You can embed serial programming security ID to address 0xD6 to 0xE5 on user program.
For example if the serial programming security ID shown in is embedded as follows, the serial
programming security ID set by the debugger is
″0123456789ABCDEF1234556789ABCEF0″ (not case-
sensitive). *
1
Table 3-2 Example of Serial Programming Security ID Setting
Address
Value
0x000D6
0x01
0x000D7
0x23
0x000D8
0x45
0x000D9
0x67
0x000DA
0x89
0x000DB
0xAB
0x000DC
0xCD
0x000DD
0xEF
0x000DE
0x12
0x000DF
0x34
0x000E0
0x56
0x000E1
0x78
0x000E2
0x9A
0x000E3
0xBC
0x000E4
0xDE
0x000E5
0xF0
Notes:
1
When connecting a debugger to a device for which the serial programming security ID has
been set, the serial programming security ID needs to be entered in the debugger. For details
on the authentication method, refer to the user's manual for the debugger in use.