English
Language : 

HD64F2168 Datasheet, PDF (678/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Initial
Bit
Bit Name Value R/W Description
2, 1 


Unused
Return 0.
0
SF

R/W Success/Fail
Indicates whether the erasing processing is ended
normally or not.
0: Erasure is ended normally (no error)
1: Erasure is ended abnormally (error occurs)
20.4 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: boot mode, user program mode, and user boot
mode.
For details of the pin setting for entering each mode, see table 20.5. For details of the state
transition of each mode for flash memory, see figure 20.2.
Table 20.5 Setting On-Board Programming Mode
Mode Setting
FWE
MD2
MD1
MD0
NMI
Boot mode
1
0
0
0
1
User program mode
1*
1
1
0
0/1
User boot mode
1
0
0
0
0
Note: * Before downloading the programming/erasing programs, the FLSHE bit must be set to
1 to transition to user program mode.
20.4.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.
Rev. 3.00, 03/04, page 638 of 830