Datasheet

Table Of Contents
Section 19 Flash Memory (F-ZTAT Version)
Page 646 of 846 REJ09B0140-0900 Rev. 9.00
Sep 16, 2010
H8S/2215 Group
Overview
When a reset start is performed after the pins of this LSI have been set to boot mode, a boot
program incorporated in the microcomputer beforehand is activated, and the prepared
programming control program is transmitted sequentially to the host using the USB. With this
LSI, the programming control program received by the USB is written to a programming
control program area in on-chip RAM. After transfer is completed, control branches to the start
address of the programming control program area, and the programming control program
execution state is established (flash memory programming is performed). Figure 19.7 shows a
system configuration diagram when using USB boot mode.
Host or self-powered HUB
D+
D-
VBUS VBUS
FWE*
MD2 to MD0*
1
01×
or 11×
P36
USD+
USD-
USB
EXTAL
XTAL
EXTAL48
XTAL48
PLLVCC
PLLCAP
PLLVSS
UBPM
Data transmission/reception
Rs
Rs
H8S/2215 Group
Flash memory
On-chip RAM
1.5 k
Ω
}
}
0
System clock:
16 MHz
Open
PLL external
circuit settings
1: Self power
setting
0: Bus power
setting
Note: * FWE pin and mode pin input must satisfy the mode programming setup time (t
MDS
= 200 ns) when a reset is released.
Legend:
×: Don’t care
Figure 19.7 System Configuration Diagram when Using USB Boot Mode
Table 19.7 shows operations from reset release in USB boot mode until processing branches to
the programming control program.
1. When boot mode is used, the flash memory programming control program must be prepared in
the host beforehand. Prepare a programming control program in accordance with the
description in section 19.8, Flash Memory Programming/Erasing. In boot mode, if any data has
been programmed into the flash memory (if all data is not 1), all flash memory blocks are
erased. Boot mode is for use in enforced exit when user program mode is unavailable, such a
the first time on-board programming is performed, or if the program activated in user program
mode is accidentally erased.