MS51
Dec. 17, 2019
Page
192
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
Bit
Name
Description
4
OCDEN
OCD enable
1 = OCD Disabled.
0 = OCD Enabled.
Note:
If MCU run in OCD debug mode and OCDEN = 0, hard fault reset will disable. Only
HardF flag be asserted.
6.3.4
96-Bit Unique Code
Before shipping out, each MS51 chip was factory pre-programmed with a 96-bit width serial number,
which is guaranteed to be unique. The serial number is called Unique Code. The user can read the
Unique Code only by IAP command. Please see Chapter 6.3.1.1IAP Commands
IAP Mode
IAPCN
IAPA[15:0]
{IAPAH, IAPAL}
IAPFD[7:0]
IAPB
[1:0]
FOEN
FCEN
FCTRL
[3:0]
96-bit Unique Code read
XX
0
0
0100
0000H to 000BH
Data out
Note:
1.
“X” means “don’t care”.
2. Each page is 128 bytes size. Therefore, the address should be the address pointed to the target page