TXZ Family
Flash Memory
2018-06-05
72 / 120
Rev. 2.0
5.2.9. [FCPSR6] (Flash Protect Status Register 6)
Bit
Bit Symbol
After reset
Type
Function
31:8
-
0
R
Read as “0”
7
DBLK7
0/1
R
Protect status of data flash (Area 4).
1: Protected
0: Not protected
This register indicates the protected status of each block of
data flash. If one of bits is “1”, it indicates that the
corresponding block is protected. Protected block cannot
be erased and programmed. The state of protection is
loaded by system reset.
6
DBLK6
0/1
R
5
DBLK5
0/1
R
4
DBLK4
0/1
R
3
DBLK3
0/1
R
2
DBLK2
0/1
R
1
DBLK1
0/1
R
0
DBLK0
0/1
R
5.2.10. [FCPMR0] (Flash Protect Mask Register 0)
Bit
Bit Symbol
After reset
Type
Function
31:8
-
0
R
Read as “0”
7
PM7
1
R/W
Protect mask status of code flash (Area 0).
1: Not masked (Protected)
0: Masked (Not protected)
This register masks each protected page from Page0 to
Page7 (block0). This register is initialized by a system
reset.
6
PM6
1
R/W
5
PM5
1
R/W
4
PM4
1
R/W
3
PM3
1
R/W
2
PM2
1
R/W
1
PM1
1
R/W
0
PM0
1
R/W
Note: To rewrite this register, follow the procedure below:
1. Write the specific code (0xA74A9D23) to
[FCKCR]
.
2. Rewrite the data of
[FCPMR0]
<PMn> within 16 clocks after Procedure 1.