NUMICRO-SDK Nuvoton Technology Corporation of America, NUMICRO-SDK Datasheet - Page 152

KIT EVAUATION NUC100/120/130/140

NUMICRO-SDK

Manufacturer Part Number
NUMICRO-SDK
Description
KIT EVAUATION NUC100/120/130/140
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro™r
Type
MCUr
Datasheets

Specifications of NUMICRO-SDK

Contents
Board, Cable, CD, Nu-Link
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
NUC100, NUC120, NUC130, NUC140

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NUMICRO-SDK
Manufacturer:
Nuvoton Technology Corporation
Quantity:
135
Part Number:
NUMICRO-SDK
Manufacturer:
NuvoTon
Quantity:
69
Register Write-Protection Control Register (REGWRPROT)
Some of the system control registers need to be protected to avoid inadvertent write and disturb
the chip operation. These system control registers are protected after the power on reset till user
to disable register protection. For user to program these protected registers, a register protection
disable sequence needs to be followed by a special programming. The register protection disable
sequence is writing the data “59h”, “16h” “88h” to the register REGWRPROT address at
0x5000_0100 continuously. Any different data value, different sequence or any other write to
other address during these three data writing will abort the whole sequence.
After the protection is disabled, user can check the protection disable bit at address 0x5000_0100
bit0, 1 is protection disable, and 0 is protection enable. Then user can update the target protected
register value and then write any data to the address “0x5000_0100” to enable register protection.
This register is write for disable/enable register protection and read for the REGPROTDIS status
Register
REGWRPROT GCR_BA+0x100 R/W
Bits
[31:16]
[7:0]
[0]
31
23
15
7
NuMicro™ NUC100 Series Technical Reference Manual
Descriptions
Reserved
REGWRPROT
REGPROTDIS
Offset
30
22
14
6
Reserved
Register Write-Protection Code (Write Only)
Some write-protection registers have to be disabled the protected function by writing
the sequence value “59h”, “16h”, “88h” to this field. After this sequence is completed,
the REGPROTDIS bit will be set to 1 and write-protection registers can be normal
write.
Register Write-Protection Disable index (Read only)
1 = Write-protection is disabled for writing protected registers
0 = Write-protection is enabled for writing protected registers. Any write to the
The Protected registers are:
IPRSTC1: address 0x5000_0008
BODCR: address 0x5000_0018
R/W
29
21
13
5
protected register is ignored.
Description
Register Write-Protection Control Register
REGWRPROT[7:1]
28
20
12
4
- 152 -
Reserved
Reserved
Reserved
27
19
11
3
Publication Release Date: Dec. 22, 2010
26
18
10
2
25
17
9
1
Revision V1.06
Reset Value
0x0000_0000
REGWRPROT
REGPROTDIS
[0]
24
16
8
0

Related parts for NUMICRO-SDK