Datasheet
Section 19 Flash Memory (F-ZTAT Version)
Rev. 3.00 Mar 17, 2006 page 788 of 926
REJ09B0283-0300
19.6 On-Board Programming Modes
In an on-board programming mode, programming, erasing, and verification for the on-chip flash
memory can be performed. There are two on-board programming modes: boot mode and user
program mode. Table 19.4 shows how to select boot mode. User program mode can be selected by
setting the control bits by software. For a diagram that shows mode transitions of flash memory,
see figure 19.2.
Table 19.4 Setting On-Board Programming Modes
• H8S/2678 Group
Mode Setting FWE MD2 MD1 MD0
Boot mode Expanded mode with on-chip
ROM enabled
1010
Single-chip activation expanded
mode with on-chip ROM enabled
1011
User program mode Expanded mode with on-chip ROM
enabled
1100
External ROM activation expanded
mode with on-chip ROM enabled
*
1
1101
External ROM activation expanded
mode with on-chip ROM enabled
*
2
1110
Single-chip activation expanded
mode with on-chip ROM enabled
1111
Notes: 1. The initial setting for the external bus width is 16 bits.
2. The initial setting for the external bus width is 8 bits
• H8S/2678R Group
Mode Setting MD2 MD1 MD0
Boot mode Single-chip activation expanded
mode with on-chip ROM enabled
011