English
Language : 

HD64F2168 Datasheet, PDF (682/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
20.4.2 User Program Mode
The user MAT can be programmed/erased in user program mode. (The user boot MAT cannot be
programmed/erased.)
Programming/erasing is executed by downloading the program in the microcomputer.
The overview flow is shown in figure 20.9.
High voltage is applied to internal flash memory during the programming/erasing processing.
Therefore, transition to reset or hardware standby must not be executed. Doing so may damage or
destroy flash memory. If reset is executed accidentally, reset must be released after the reset input
period of 100 µs which is longer than normal.
Programming/erasing
start
1. Make sure that the program data will not overlap the download
destination specified by FTDAR.
When programming,
2. The FWE bit is set to 1 by inputting a high level signal to the FWE
program data is prepared
pin.
Programming/erasing
procedure program is
transferred to the on-chip
RAM and executed
3. Programming/erasing is executed only in the on-chip RAM.
However, if program data is in a consecutive area and can be
accessed by the MOV.B instruction of the CPU like RAM or
ROM, the program data can be in an external space.
Programming/erasing
end
4. After programming/erasing is finished, input a low level signal to
the FWE pin and transfer to the hardware protection state.
Figure 20.9 Programming/Erasing Overview Flow
Rev. 3.00, 03/04, page 642 of 830