Rev. 5.00, 12/03, page 662 of 1088
17.21
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 512-kbyte on-chip flash memory
(FZTAT512V3A).
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 V
CC
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 P1 or E1 bit in
FLMCR1 or the P2 or E2 bit in FLMCR2, the watchdog timer should be set beforehand as a
precaution against program runaway, etc.
Do not set or clear the SWE1 and SWE2 bit during execution of a program in flash memory:
Wait for at least 100
µ
s after clearing the SWE1 and SWE2 bit before executing a program or
reading data in flash memory. When the SWE1 and SWE2 bit is set, data in flash memory can be
rewritten, but addresses H'000000 to H'03FFFF in flash memory can only be read in program-
verify or erase-verify mode when SWE1 = 1, and addresses H'040000 to H'07FFFF in flash
memory can only be read in program-verify or erase-verify mode when SWE2 = 1. Access those
address areas only for verify operations (verification during programming/erasing). Also, do not
clear the SWE1 or SWE2 bit during programming, erasing, or verifying.
Similarly, when using the RAM emulation function the SWE1 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 SWE1 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.
Содержание H8S/2318 series
Страница 2: ......
Страница 6: ...Rev 5 00 12 03 page vi of xxx...
Страница 12: ...Rev 5 00 12 03 page xii of xxx...
Страница 30: ...Rev 5 00 12 03 page xxx of xxx...
Страница 54: ...Rev 5 00 12 03 page 24 of 1088...
Страница 98: ...Rev 5 00 12 03 page 68 of 1088...
Страница 128: ...Rev 5 00 12 03 page 98 of 1088...
Страница 138: ...Rev 5 00 12 03 page 108 of 1088...
Страница 168: ...Rev 5 00 12 03 page 138 of 1088...
Страница 212: ...Rev 5 00 12 03 page 182 of 1088...
Страница 324: ...Rev 5 00 12 03 page 294 of 1088...
Страница 436: ...Rev 5 00 12 03 page 406 of 1088...
Страница 546: ...Rev 5 00 12 03 page 516 of 1088...
Страница 580: ...Rev 5 00 12 03 page 550 of 1088...
Страница 822: ...Rev 5 00 12 03 page 792 of 1088...
Страница 876: ...Rev 5 00 12 03 page 846 of 1088...
Страница 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Страница 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...