English
Language : 

HD64F2357F20V Datasheet, PDF (618/1049 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-chip Microcomputer H8S Family / H8S/2300 Series
19.8 On-Board Programming Modes
When pins are set to on-board programming mode, 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-14. For a diagram of the transitions to the various flash memory modes, see
figure 19-8.
Table 19-14 Setting On-Board Programming Modes
Mode
Mode Name
Boot mode
CPU Operating Mode
FWE MD2
MD1
MD0
Advanced expanded mode with 1
0
1
0
on-chip ROM enabled
Advanced single-chip mode
1
User program mode* Advanced expanded mode with 1
1
1
0
on-chip ROM enabled
Advanced single-chip mode
1
Note: * Normally, user mode should be used. Set FWE to 1 to make a transition to user program mode before performing a
program/erase/verify operation.
19.8.1 Boot Mode
When boot mode is used, the flash memory programming control program must be prepared in the host beforehand. The
channel 1 SCI to be used is set to asynchronous mode.
When a reset-start is executed after the H8S/2357 MCU’s pins have been set to boot mode, the boot program built into the
MCU is started and the programming control program prepared in the host is serially transmitted to the MCU via the SCI.
In the MCU, 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 transferred programming control program must therefore include coding that follows the programming algorithm
given later.
The system configuration in boot mode is shown in figure 19-14, and the boot program mode execution procedure in
figure 19-15.
H8S/2357 chip
Host
Flash memory
Write data reception
Verify data transmission
RxD1
SCI1
TxD1
On-chip RAM
Figure 19-14 System Configuration in Boot Mode
Rev.6.00 Oct.28.2004 page 588 of 1016
REJ09B0138-0600H