English
Language : 

D12320VF25IV Datasheet, PDF (902/1304 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 19 ROM
19.24 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.51. For a diagram of the transitions to the various flash memory modes, see figure 19.59.
Table 19.51 Setting On-Board Programming Modes
Mode
Pins
MCU Mode
CPU Operating Mode
FWE MD2 MD1 MD0
Boot mode
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 the FWE pin to 1 to make a transition to user
program mode before performing a program/erase/verify operation.
19.24.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/2326 F-ZTAT chip’s pins have been set to boot mode,
the boot program built into the chip is started and the programming control program prepared in
the host is serially transmitted to the chip via the SCI. In the chip, 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.66, and the boot program mode
execution procedure in figure 19.67.
Rev.6.00 Sep. 27, 2007 Page 870 of 1268
REJ09B0220-0600