Datasheet
Section 19 ROM
Rev.6.00 Sep. 27, 2007 Page 863 of 1268
REJ09B0220-0600
Bit 6—Software Write Enable Bit 2 (SWE2): Enables or disables flash memory programming
and erasing for addresses H'040000 to H'07FFFF. This bit should be set when setting bits 5 to 0 in
FLMCR2, and EBR2 bits 7 to 4.
When SWE2 = 1, the flash memory can only be read in program-verify or erase-verify mode.
Bit 6
SWE2
Description
0 Writes disabled (Initial value)
1 Writes enabled
[Setting condition]
When FWE = 1
Bit 5—Erase Setup Bit 2 (ESU2): Prepares for a transition to erase mode for addresses H'040000
to H'07FFFF. Do not set the SWE2, PSU2, EV2, PV2, E2, or P2 bit at the same time.
Bit 5
ESU2
Description
0 Erase setup cleared (Initial value)
1 Erase setup
[Setting condition]
When FWE = 1, SWE2 = 1
Bit 4—Program Setup Bit 2 (PSU2): Prepares for a transition to program mode for addresses
H'040000 to H'07FFFF. Do not set the SWE2, ESU2, EV2, PV2, E2, or P2 bit at the same time.
Bit 4
PSU2
Description
0 Program setup cleared (Initial value)
1 Program setup
[Setting condition]
When FWE = 1, SWE2 = 1