English
Language : 

D12320VF25V Datasheet, PDF (754/1146 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 17 ROM
17.24 On-Board Programming Mode
When the pin is set in on-board programming mode and the reset start is executed, the on-board
programming state that can program/erase the on-chip flash memory is entered. On-board
programming mode has three operating modes: user programming mode, user boot mode, and
boot mode.
Table 17.52 lists the pin setting for entering each mode. For details on the state transition of each
mode for flash memory, see figure 17.61.
Table 17.52 Setting On-Board Programming Modes
Mode
Pins
MCU Mode
CPU Operating
Modes/Description
MD2
MD1
MD0
User boot mode
Advanced single-chip mode
0
0
1
Boot mode
Advanced expanded mode with 0
1
0
on-chip ROM enabled
Advanced single-chip mode
1
User program mode* Advanced expanded mode with 1
1
0
on-chip ROM enabled
Advanced single-chip mode
1
Note: * Normally, user mode should be used. Before downloading a program/erase program, set
the FLSHE bit to 1 to switch to the user program mode.
17.24.1 Boot Mode
Boot mode executes programming/erasing user MAT and user boot MAT by means of the control
command and program data transmitted from the host using the on-chip SCI. The tool for
transmitting the control command and program data must be prepared in the host. The SCI
communication mode is set to asynchronous mode. When reset start is executed after this LSI's pin
is set in boot mode, the boot program in the microcomputer is initiated. After the SCI bit rate is
automatically adjusted, the communication with the host is executed by means of the control
command method.
The system configuration diagram in boot mode is shown in figure 17.65. For details on the pin
setting in boot mode, see table 17.52. The NMI and other interrupts are ignored in boot mode.
Make sure the NMI and other interrupts do not occur in the user system.
Rev.7.00 Feb. 14, 2007 page 720 of 1108
REJ09B0089-0700