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.
User mode
(on-chip ROM
enabled)
FWE = 0
FWE = 1,
or SWE = 0
SWE = 1
program mode
On-board programming mode
Notes: Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
* MD0 = 0, MD1 = 0, MD2 = 0, PF2 = 1, PF1 = PF0 = 0
MD1 = 1,
MD2 = 1,
FWE = 0
RES = 0
RES = 0
User
Figure 17-3 Flash Memory Mode Transitions
Reset state
FWE = 1,
MD1 = 1,
RES = 0
MD2 = 0
Boot mode
Rev. 5.00, 12/03, page 559 of 1088
RES = 0
*
Programmer mode