TXZ Family
Flash Memory
2018-06-05
45 / 120
Rev. 2.0
3.3.3. Protect bit
Start
Specify the target FLASH I/F (Note2) of Flash
memory by
[FCAREASEL]
<AREAn>
[FCAREASEL]
<SSFn>
=
1
?
Automatic protect bit programming command sequence,
Automatic protect bit erasing command sequence
(Refer to Figure 3.6)
[FCSR0]
<RDYBSY>=0
?
[FCSR0]
<RDYBSY>
=1
?
Protect end
No
Yes
No
Yes
No
Yes
[FCSR0]
<RDYBSY>=1
?
No
Release the target FLASH I/F(Note) of Flash
memory by
[FCAREASEL]
<AREAn>
[FCAREASEL]
<SSFn>=0
?
No
Set protect bit of page/block by
[FCPMRm]
<MSKn>(Note1)
Figure 3.5 Flowchart of protect (1)
Note1: <MSKn> represents <PMn>, <MSKn>, and <DMSKn>.
Note2: When FLASH I/F is “0”, area selects “0”. When FLASH I/F is “1”, area selects “2”. When FLASH I/F is
“2”, area selects “4”.