User mode
(on-chip ROM
enabled)
FLSHE = 0
→ FWE
FWE
1
=
=
0
→ FLSHE = 1
User
program
mode
On-board programming mode
Table 24.1 Differences between Boot Mode and User Program Mode
Total erase
Block erase
Programming control program *
Note:
* Should be provided by the user, in accordance with the recommended algorithm.
Reset state
*
1
Boot mode
Figure 24.2 Flash Memory State Transitions
Boot Mode
Yes
No
Program/program-verify
RES
0
=
*
2
Programmer
mode
Notes: Only make a transition between user mode
and user program mode when the CPU is not
accessing the flash memory.
1. FEW = 1, MD2 = MD1 = MD0 = 0
2. FEW = 1, MD2 = 1, MD1 = MD0 = 0, P92 = 0,
P91 = P90 = 1
User Program Mode
Yes
Yes
Program/program-verify
Erase/erase-verify
Rev. 3.00 Jan 25, 2006 page 719 of 872
Section 24 ROM
REJ09B0286-0300