
4.2 Boot Mode
4.2.1 Operating Modes
The H8S/2378 has six operating modes (modes 1 to 5 and 7). The operating mode is selected by the setting of mode
pins (MD2 to MD0).
Modes 1, 2, and 4 are externally expanded modes in which the CPU can access external memory and peripheral devices.
In the externally expanded modes, each area in the external address space can be switched between 8- or 16-bit address
space by the bus controller after the start of the execution of a program. If any one of the areas is set to 16-bit address
space, the 16-bit bus mode is used. If all areas are set to 8-bit address space, the 8-bit bus mode is used.
Mode 7 is a single-chip activation externally expanded mode in which the CPU can switch to access external memory
and peripheral devices at the start of the execution of a program.
Mode 3 is the boot mode and mode 5 is the user boot mode, both in which flash memory can be programmed or erased.
Do not change the settings of pins MD2 to MD0 during LSI operation.
Table 4-3 MCU Operating Modes
External Data Bus MCU
Operating
Mode
MD2 MD1 MD0 CPU Operating
Mode
Description On-Chip
ROM
Initial
Value
Maximum
Value
1 0 0 1 Advanced Expanded mode with
on-chip ROM disabled
Disabled 16 bits 16 bits
2 0 1 0 Advanced Expanded mode with
on-chip ROM disabled
Disabled 8 bits 16 bits
3 0 1 1 Advanced Boot mode Enabled — 16 bits
4 1 0 0 Advanced Expanded mode with
on-chip ROM enabled
Enabled 8 bits 16 bits
5 1 0 1 Advanced User boot mode Enabled — 16 bits
7 1 1 1 Advanced Single-chip mode Enabled — 16 bits
4.2.2 On-Board Programming Modes
There are three on-board programming modes: Boot mode, user program mode, and user boot mode.
(1) Boot mode:
This mode is a program mode that uses an on-chip SCI interface. The user area and user boot area can be programmed.
This mode can adjust the bit rate between the host computer and this LSI automatically.
(2) User program mode:
The user area can be programmed by using a desired interface.
(3) User boot mode:
The user boot program of a desired interface can be created and the user area can be programmed.
30
Comentarios a estos manuales