RL78/G1H CHAPTER 27 FLASH MEMORY
R01UH0575EJ0120 Rev. 1.20 Page 824 of 920
Dec 22, 2016
Table 27 - 10 Relationship Between Enabling Security Function and Command
(1) During serial programming
Note Confirm that no data has been written to the write area. Because data cannot be erased after block erase is prohibited,
do not write data if the data has not been erased.
(2) During self-programming
Remark To prohibit writing and erasing during self-programming, use the flash shield window function (see 27.5.3 for detail).
Table 27 - 11 Setting Security in Each Programming Mode
(1) During serial programming
Caution Releasing the setting of prohibition of writing is enabled only when the security is not set as the block erase
prohibition and the boot cluster 0 rewrite prohibition with code flash memory area and data flash memory area
being blanks.
(2) During self-programming
Valid Security
Executed Command
Block Erase Write
Prohibition of block erase Blocks cannot be erased.
Can be performed.
Note
Prohibition of writing Blocks can be erased. Cannot be performed.
Prohibition of rewriting boot cluster 0 Boot cluster 0 cannot be erased. Boot cluster 0 cannot be written.
Valid Security
Executed Command
Block Erase Write
Prohibition of block erase Blocks can be erased. Can be performed.
Prohibition of writing
Prohibition of rewriting boot cluster 0 Boot cluster 0 cannot be erased. Boot cluster 0 cannot be written.
Security Security Setting How to Disable Security Setting
Prohibition of block erase Set via GUI of dedicated flash memory
programmer, etc.
Cannot be disabled after set.
Prohibition of writing Set via GUI of dedicated flash memory
programmer, etc.
Prohibition of rewriting boot cluster 0 Cannot be disabled after set.
Security Security Setting How to Disable Security Setting
Prohibition of block erase Set by using flash self-programming
library.
Cannot be disabled after set.
Prohibition of writing Cannot be disabled during self-
programming
(set via GUI of dedicated flash memory
programmer, etc. during serial
programming).
Prohibition of rewriting boot cluster 0 Cannot be disabled after set.