CHAPTER 21 FLASH MEMORY
Preliminary User’s Manual U16846EJ1V0UD
350
21.7.1 Registers used for self-programming function
The following three registers are used for the self-programming function.
•
Flash-programming mode control register (FLPMC)
•
Flash protect command register (PFCMD)
•
Flash status register (PFS)
(1) Flash-programming
mode
control register (FLPMC)
This register is used to enable or disable writing or erasing of the flash memory and to set the operation mode
during self-programming.
The FLPMC can be written only in a specific sequence (see
21.7.1 (2) Flash protect command register
) so
that the application system does not stop inadvertently due to malfunction caused by noise or program hang-up.
FLPMC can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 0xH
Note
.
Note
Differs depending on the operation mode.
•
User mode:
08H
•
On-board mode: 0CH