19.2
Mode Transitions
When the mode pins and the FWE pin are set in the reset state and a reset-start is executed, this
LSI enters an operating mode as shown in figure 19.2. In user mode, flash memory can be read but
not programmed or erased. The boot and user program modes are provided as modes to write and
erase the flash memory.
The differences between boot mode and user program mode are shown in table 19.1. Boot mode
and user program mode operations are shown in figures 19.3 and 19.4, respectively.
User mode
(on-chip ROM
enabled)
FWE = 1
Notes: Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
*1 RAM emulation possible
*2 MD2 to MD0 = 000, PF3, PF0, P16, P14 = 1100
MD2 to 0 = 11x,
FWE = 0
* 1
= 0
MD2 to 0 = 11x,
FWE = 1
MD2 to 0 = 11x,
FWE = 0
FWE = 1
* 1
User
program mode
On-board programming mode
Figure 19.2 Flash Memory State Transitions
Reset state
= 0
* 2
= 0
SCI,USB
Boot mode
Rev. 3.0, 10/02, page 559 of 686
= 0
Programmer
mode