English
Language : 

HD64F2149 Datasheet, PDF (721/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
For these reasons, in on-board programming mode alone there are conditions for disabling
interrupt, as an exception to the general rule. However, this provision does not guarantee normal
erasing and programming or MCU operation. All interrupt requests, including NMI input, must
therefore be disabled inside and outside the MCU when programming or erasing flash memory.
Interrupt is also disabled in the error-protection state while the P or E bit remains set in FLMCR1.
Notes: 1. Interrupt requests must be disabled inside and outside the MCU until the programming
control program has completed programming.
2. The vector may not be read correctly in this case for the following two reasons:
• If flash memory is read while being programmed or erased (while the P or E bit is
set in FLMCR1), correct read data will not be obtained (undetermined values will
be returned).
• If the interrupt entry in the vector table has not been programmed yet, interrupt
exception handling will not be executed correctly.
22.10 Flash Memory Programmer Mode
22.10.1 Programmer Mode Setting
Programs and data can be written and erased in programmer mode as well as in the on-board
programming modes. In programmer mode, the on-chip ROM can be freely programmed using a
PROM programmer that supports Hitachi microcomputer device types with 64-kbyte on-chip flash
memory*. For precautions concerning the use of programmer mode, see section 22.10.10, Notes
on Memory Programming and section 22.11, Flash Memory Programming and Erasing
Precausions. Flash memory read mode, auto-program mode, auto-erase mode, and status read
mode are supported with these device types. In auto-program mode, auto-erase mode, and status
read mode, a status polling procedure is used, and in status read mode, detailed internal signals are
output after execution of an auto-program or auto-erase operation.
Table 22.11 shows programmer mode pin settings.
Note: Set the programming voltage of the PROM programmer to 3.3 V before using the chip.
687