17.8
On-Board Programming Mode
When the mode pins (MD0, MD1, and MD2) are set to on-board programming mode and the reset
start is executed, a transition is made to on-board programming mode in which the on-chip flash
memory can be programmed/erased. On-board programming mode has three operating modes:
boot mode, user boot mode, and user program mode.
Table 17.5 shows the pin setting for each operating mode. For details on the state transition of
each operating mode for flash memory, see figure 17.2.
Table 17.5 On-Board Programming Mode Setting
Mode Setting
User boot mode
Boot mode
User program mode
17.8.1
Boot Mode
Boot mode executes programming/erasing of the user MAT or user boot MAT by means of the
control command and program data transmitted from the externally connected host via the on-chip
SCI_4.
In boot mode, the tool for transmitting the control command and program data, and the program
data must be prepared in the host. The serial communication mode is set to asynchronous mode.
The system configuration in boot mode is shown in figure 17.6. Interrupts are ignored in boot
mode. Configure the user system so that interrupts do not occur.
Downloaded from
Elcodis.com
electronic components distributor
MD1
0
1
1
Host
Control command,
Programming
program data
tool and program
data
Figure 17.6 System Configuration in Boot Mode
Section 17 Flash Memory (0.18-(m F-ZTAT Version)
Software for
analyzing
control
commands
(on-chip)
RxD4
TxD4
Response
MD0
1
0
1
This LSI
Flash
memory
On-chip
SCI_4
RAM
Rev. 3.00 Mar. 14, 2006 Page 599 of 804
REJ09B0104-0300