RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 835 of 1006
Feb 20, 2013
26.2.9
Flash Protection Register (FPROTR)
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
—
—
—
—
—
—
FPROTCN
Address: 007F FFB4h
b15
b14
b13
b12
b11
b10
b9
b8
Value after reset:
0
0
0
0
0
0
0
0
FPKEY[7:0]
—
Bit
Symbol
Bit Name
Description
R/W
b0
FPROTCN
Lock Bit Protection Cancel
0: Protection with a lock bit enabled
1: Protection with a lock bit disabled
R/W
b7 to b1
Reserved
These bits are always read as 0. The write value should always
be 0.
R/W
b15 to b8
FPKEY[7:0]
Key Code
These bits are used to enable or disable rewriting of the
FPROTCN bit.
R/(W)
*
Note:
*
Write data is not retained.
FPROTR is a register used to enable/disable the programming/erasure protection function with a lock bit.
Only specific values written to the upper byte in word access are valid. Any other writing causes the register to be
initialized. Data written to the upper byte is not retained.
When on-chip ROM is disabled, the data read from FPROTR is 0000h and writing is disabled.
FPROTR is initialized by a reset, or when the FRESET bit in FRESETR is set to 1.
FPROTCN Bit (Lock Bit Protection Cancel)
This bit is used to enable/disable the programming/erasure protection with a lock bit.
[Setting condition]
•
The FPKEY[7:0] bits are set to 55h, and the FPROTCN bit is set to 1 in word access when the value of FENTRYR
is other than 0000h.
[Clearing conditions]
•
Data is written in byte access.
•
Data is written in word access when the FPKEY[7:0] bits are other than 55h.
•
The FPKEY[7:0] bits are set to 55h, and the FPROTCN bit is set to 0 in word access.
•
The value of FENTRYR is 0000h.
FPKEY[7:0] Bits (Key Code)
These bits are used to enable or disable rewriting of the FPROTCN bit.
Data written to the FPKEY[7:0] bits is not retained.