hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 217

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.9.3
In error protection, an error is detected when CPU runaway occurs during flash memory
programming/erasing, or operation is not performed in accordance with the program/erase
algorithm, and the program/erase operation is aborted. Aborting the program/erase operation
prevents damage to the flash memory due to overprogramming or overerasing.
When the following errors are detected during programming/erasing of flash memory, the FLER
bit in FLMCR2 is set to 1, and the error protection state is entered.
• When the flash memory of the relevant address area is read during programming/erasing
• Immediately after exception handling excluding a reset during programming/erasing
• When a SLEEP instruction is executed during programming/erasing
The FLMCR1, FLMCR2, and EBR settings are retained, however program mode or erase mode is
aborted at the point at which the error occurred. Program mode or erase mode cannot be re-entered
by re-setting the P or E bit. However, PV and EV bit setting is enabled, and a transition can be
made to verify mode. Error protection can be cleared only by a power-on reset.
6.10
In programmer mode, a PROM programmer can be used to perform programming/erasing via a
socket adapter, just as a discrete flash memory. Use a PROM programmer that supports the MCU
device type with the on-chip Renesas Technology (former Hitachi Ltd.) 64-Kbyte flash memory
(F-ZTAT64V3). A 10-MHz input clock is required. For the conditions for transition to
programmer mode, see table 6.7.
6.10.1
The socket adapter converts the pin allocation of the HD64F38024, HD64F38024R,
HD64F38124, and HD64F38122 to that of the discrete flash memory HN28F101. The address of
the on-chip flash memory is H'0000 to H'7FFF. Figure 6.12(1) shows a socket-adapter-pin
correspondence diagram of the HD64F38024 and HD64F38024R. Figure 6.12(2) shows a socket-
adapter-pin correspondence diagram of the HD64F38124 and HD64F38122.
(including vector read and instruction fetch)
Programmer Mode
Socket Adapter
Error Protection
Rev. 7.00 Mar 10, 2005 page 175 of 652
REJ09B0042-0700
Section 6 ROM

Related parts for hd64338023s