Datasheet
Section 17 ROM
Rev.7.00 Feb. 14, 2007 page 573 of 1108
REJ09B0089-0700
17.4.3 Flash Memory Operating Modes
Mode Transitions: When the mode pins and the FWE pin are set in the reset state and a reset-
start is executed, the chip enters one of the operating modes shown in figure 17.3. In user mode,
flash memory can be read but not programmed or erased.
Flash memory can be programmed and erased in boot mode, user program mode, and programmer
mode.
Boot mode
On-board programming mode
User
program mode
User mode
(on-chip ROM
enabled)
Reset state
Programmer mode
RES = 0
FWE = 1,
SWE = 1
FWE = 0
or SWE = 0
*
Notes: Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
* MD2 = MD1 = MD0 = 0, PF2 = 1, PF1 = PF0 = 0
RES = 0
RES = 0
RES = 0
MD1 = 1,
MD2 = 1,
FWE = 0
FWE = 1,
MD1 = 1,
MD2 = 0
Figure 17.3 Flash Memory Mode Transitions










