Datasheet
Section 19 Flash Memory (F-ZTAT Version)
Rev. 3.00 Mar 17, 2006 page 775 of 926
REJ09B0283-0300
The differences between boot mode and user program mode are shown in table 19.1. Figure 19.3
shows boot mode. Figure 19.4 shows user program mode.
Note: * Only in the H8S/2678 Group.
Boot mode
On-board programming mode
User
program mode
User mode
(on-chip ROM
enabled)
Reset state
Programmer
mode
RES = 0
FWE = 1, MD2 = 1,
SWE = 1
*
1
SWE = 1
*
2
FWE = 0, MD2 = 1,
SWE = 0
*
1
SWE = 0
*
2
Notes: Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
1. Only in H8S/2678 Group.
2. Only in H8S/2678R Group.
RES = 0
RES = 0
RES = 0
MD2 = 1, FW
E = 0
*
1
MD2 = 1
*
2
MD1 = 1, MD2 = 0, FWE = 1
*
1
MD0 = 1, MD1 = 1, MD2 = 0
*
2
MD0 = 0, MD1 = 0,
MD2 = 0, P50 = 0,
P51 = 0, P52 = 1
Figure 19.2 Flash Memory State Transitions
Table 19.1 Differences between Boot Mode and User Program Mode
Boot Mode User Program Mode
Total erase Yes Yes
Block erase No Yes
Programming control program
*
Program/program-verify Erase/erase-verify/program/
program-verify emulation
Note: * To be provided by the user, in accordance with the recommended algorithm.