Renesas RL78 Series User Manual page 803

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
26.7 Security Settings
The RL78 microcontroller supports a security function that prohibits rewriting the user program written to the internal
flash memory, so that the program cannot be changed by an unauthorized person.
The operations shown below can be performed using the Security Set command.
● Disabling block erase
Execution of the block erase command for a specific block in the flash memory is prohibited during serial
programming. However, blocks can be erased by means of self-programming.
● Disabling write
Execution of the write command for entire blocks in the code flash memory is prohibited during serial programming.
However, blocks can be written by means of self-programming.
After the setting of prohibition of writing is specified, releasing the setting by the Security Release command is
enabled by a reset.
● Disabling rewriting boot cluster 0
Execution of the block erase command and write command on boot cluster 0 (00000H to 00FFFH) in the code flash
memory is prohibited by this setting.
The block erase, write commands and rewriting boot cluster 0 are enabled by the default setting when the flash
memory is shipped. Security can be set by serial programming and self-programming. Each security setting can be used
in combination.
Table 26-12 shows the relationship between the erase and write commands when the RL78 microcontroller security
function is enabled.
Caution The security function of the dedicated flash programmer does not support self-programming.
Remark To prohibit writing and erasing during self-programming, use the flash shield window function (see 26.6.3 for
detail).
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
CHAPTER 26 FLASH MEMORY
782

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents