Datasheet

Table Of Contents
Section 19 Flash Memory (F-ZTAT Version)
REJ09B0140-0900 Rev. 9.00 Page 641 of 846
Sep 16, 2010
H8S/2215 Group
19.6 On-Board Programming Modes
When pins are set to on-board programming mode and a reset-start is executed, a transition is
made to the on-board programming state in which program/erase/verify operations can be
performed on the on-chip flash memory. There are two on-board programming modes: boot mode
and user program mode. The pin settings for transition to each of these modes are shown in table
19.3. For a diagram of the transitions to the various flash memory modes, see figure 19.2.
Table 19.3 Setting On-Board Programming Modes
Mode FWE MD2 MD1 MD0
Advanced: On-chip ROM extended
mode
1 0 1 0
SCI boot mode
(HD64F2215,
HD64F2215R,
HD64F2215T)
Advanced: Single-chip mode 1 0 1 1
Advanced: On-chip ROM extended
mode
1 0 1 0 USB boot mode
(HD64F2215U,
HD64F2215RU,
HD64F2215TU,
HD64F2215CU)*
1
Advanced: Single-chip mode 1 0 1 1
Advanced: On-chip ROM extended
mode
1 1 0 0 USB boot mode
(HD64F2215RU,
HD64F2215TU,
HD64F2215CU)*
2
Advanced: Single-chip mode 1 1 0 1
User program mode Advanced: On-chip ROM extended
mode
(MCU operating mode 6)
1 1 1 0
Advanced: Single-chip mode
(MCU operating mode 7)
1 1 1 1
Notes: 1. When the system clock is 16 MHz.
2. When the system clock is 24 MHz.
19.6.1 SCI Boot Mode (HD64F2215, HD64F2215R, and HD64F2215T)
When a reset-start is executed after the LSI’s pins have been set to boot mode, the boot program
built into the LSI is started and the programming control program prepared in the host is serially
transmitted to the LSI via the SCI. In the LSI, the programming control program received via the
SCI is written into the programming control program area in on-chip RAM. After the transfer is
completed, control branches to the start address of the programming control program area and the
programming control program execution state is entered (flash memory programming is
performed). The system configuration in SCI boot mode is shown in figure 19.6.