English
Language : 

HD64F2357VF13 Datasheet, PDF (688/1049 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
19.22.10 Notes on Memory Programming
• When programming addresses which have previously been programmed, carry out auto-erasing before auto-
programming.
• When performing programming using PROM mode on a chip that has been programmed/erased in an on-board
programming mode, auto-erasing is recommended before carrying out auto-programming.
Notes: 1. The flash memory is initially in the erased state when the device is shipped by Renesas Technology. For other
chips for which the erasure history is unknown, it is recommended that auto-erasing be executed to check and
supplement the initialization (erase) level.
2. Auto-programming should be performed once only on the same address block. Additional programming cannot
be carried out on address blocks that have already been programmed.
19.23 Flash Memory Programming and Erasing Precautions
Precautions concerning the use of on-board programming mode, the RAM emulation function, and programmer mode are
summarized below.
Use the specified voltages and timing for programming and erasing: Applied voltages in excess of the rating can
permanently damage the device. Use a PROM programmer that supports the Renesas Technology microcomputer device
type with 256-kbyte on-chip flash memory (FZTAT256V5A).
Do not select the HN27C4096 setting for the PROM programmer, and only use the specified socket adapter. Failure to
observe these points may result in damage to the device.
Powering on and off: When applying or disconnecting VCC power, fix the RES pin low and place the flash memory in the
hardware protection state.
The power-on and power-off timing requirements should also be satisfied in the event of a power failure and subsequent
recovery.
Use the recommended algorithm when programming and erasing flash memory: The recommended algorithm
enables programming and erasing to be carried out without subjecting the device to voltage stress or sacrificing program
data reliability. When setting the P or E bit in FLMCR1, the watchdog timer should be set beforehand as a precaution
against program runaway, etc.
Do not set or clear the SWE bit during execution of a program in flash memory: Wait for at least 100 µs after
clearing the SWE bit before executing a program or reading data in flash memory. When the SWE bit is set, data in flash
memory can be rewritten, but when SWE = 1, flash memory can only be read in program-verify or erase-verify mode.
Access flash memory only for verify operations (verification during programming/erasing). Also, do not clear the SWE bit
during programming, erasing, or verifying.
Similarly, when using the RAM emulation function the SWE bit must be cleared before executing a program or reading
data in flash memory.
However, the RAM area overlapping flash memory space can be read and written to regardless of whether the SWE bit is
set or cleared.
Do not use interrupts while flash memory is being programmed or erased: When flash memory is programmed or
erased, all interrupt requests, including NMI, should be disabled to give priority to program/erase operations.
Do not perform additional programming. Erase the memory before reprogramming: In on-board programming,
perform only one programming operation on a 128-byte programming unit block. In programmer mode, too, perform only
Rev.6.00 Oct.28.2004 page 658 of 1016
REJ09B0138-0600H