RL78/G1P
CHAPTER 23 FLASH MEMORY
R01UH0895EJ0100 Rev.1.00
686
Nov 29, 2019
Table 23-11. Relationship Between Enabling Security Function and Command
(1) During on-board/off-board 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.
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
Valid Security
Executed Command
Block Erase
Write
Prohibition of block erase
Blocks can be erased.
Can be performed.
Prohibition of writing
Remark
To prohibit writing and erasing during self-programming, use the flash sealed window function (see
23.7.1
for
detail).
Table 23-12. Setting Security in Each Programming Mode
(1) On-board/off-board programming
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
Execute security release command
Caution The security release command can be applied only when the security is not set as the block erase
prohibition with code flash memory area and data flash memory area being blanks.