
3.2 Boot Mode
The following two modes are available to program and erase flash memory: The boot mode which enables on-board
programming/erase operations and the programmer mode which enables programming/erase operations using a PROM
programmer. In addition to the above modes, the user mode enables on-board programming/erase operations. When the
H8/3694F is started from the reset state, it enters a mode depending on the input levels of the TEST and NMI pins and
port as listed in
Table 3-3. The input level of each pin must be set at least 4 states before the reset state is canceled.
When the LSI enters the boot mode, the boot program built into the LSI is activated. The boot program transfers the
programming control program from the externally connected Flash Development Toolkit to the on-chip RAM via SCI3,
erases the entire flash memory, then executes the programming control program. The boot mode is available for initial
programming in the on-board state and forced recovery when data cannot be programmed or erased in the user mode. In
the user mode, any desired block can be erased and programmed by branching to a user-provided programming/erase
program.
For details, refer to the Hardware Manual.
Table 3-3 Programming Mode Selection
LSI Status after a Reset State Is Canceled TEST NMI P85 PB0 PB1 PB2
User mode 0 1 X X X X On-board programming
modes
Boot mode 0 0 1 X X X
Programmer mode 1 X X 0 0 0
Note: X: Don't care
9
Komentarze do niniejszej Instrukcji