MB95630H Series
566
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 25 DUAL OPERATION FLASH MEMORY
25.8 Registers
Settings of SAxE (x = 0, 1 or 2) and their respective programming functions:
• Program-disabled (SAxE = 0):
With "0" not written to the SAxE bit in the flash memory sector write control register 0 (SWRE0),
programming data to a sector can be enabled by setting the SAxE bit corresponding to that sector to "1".
(This is the state after a reset).
• Program-enabled (SAxE = 1):
Data can be written to a sector corresponding to the SAxE bit.
• Spurious programming prevention (SAxE = 0)
With "0" written to the SAxE bit in the flash memory sector write control register 0 (SWRE0),
programming data to a sector cannot be enabled even though the SAxE bit corresponding to that sector is
set to "1".
Figure 25.8-2 Examples of Flash Memory Program-disabled, Program-enabled, and Spurious
Programming Prevention States Depending on Flash Memory Sector Write Control Register 0
(SWRE0)
■
Note on Setting SWRE0 Register
To program data to or erase data from SA0 (0x1000
to 0x17FF) or SA1 (0x1800
to 0x1FFF) of
the Flash memory when FSR:SSEN is "0", set both SA0E and SA1E in the SWRE0 register to
"1" first.
To program data to or erase data when FSR:SSEN is "1", set SA0E, SA1E and SA2E in the
SWRE0 register to "1" first.
For details of the sector map of the Flash memory, see Figure 25.2-1 and Figure 25.8-1.
Progr
a
m-en
ab
led
Progr
a
m-di
sab
led
Progr
a
m-di
sab
led
Progr
a
m-di
sab
led
R
S
T
S
A0E
S
A1E
S
A2E
Initi
a
lize
Initi
a
lize
Write
a
cce
ss
to regi
s
ter
Write
a
cce
ss
to regi
s
ter
Progr
a
m-en
ab
led
Progr
a
m-
di
sab
led
Progr
a
m-
di
sab
led
Progr
a
m-
di
sab
led
S
p
u
rio
us
progr
a
mming
prevention
S
p
u
rio
us
progr
a
mming
prevention