English
Language : 

HD6473032F16 Datasheet, PDF (604/847 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Section 18 ROM
18.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
18.5. For a diagram of the transitions to the various flash memory modes, see figure 18.2.
Table 18.5 Setting On-Board Programming Modes
Mode
FWE MD2 MD1 MD0 Notes
Boot mode
Mode 5 1*
0*
0
1
0: VIL
Mode 6
0*
1
0
1: VIH
Mode 7
0*
1
1
User program mode Mode 5
1*
0
1
Mode 6
1*
1
0
Mode 7
1*
1
1
Notes: 1. For the high-level application timing, see items 6 and 7 in Notes on Use of Boot Mode.
2. In boot mode, the inverse of the MD2 setting should be input.
3. In boot mode, the mode control register (MDCR) can be used to monitor the status of
modes 5, 6, and 7, in the same way as in normal mode.
18.6.1 Boot Mode
When boot mode is used, the flash memory programming control program must be prepared in the
host beforehand. The SCI channel to be used is set to asynchronous mode.
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 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 18.6, and the boot mode execution
procedure in figure 18.7.
Rev. 3.00 Mar 21, 2006 page 574 of 814
REJ09B0302-0300