Renesas RL78/G1P Hardware User Manual page 708

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
23.7.1 Flash shield window function
The flash shield window function is provided as one of the security functions for self-programming. It disables writing to
and erasing areas outside the range specified as a window only during self-programming.
The window range can be set by specifying the start and end blocks. The window range can be set or changed only
during on-board/off-board programming.
Writing to and erasing areas outside the window range are disabled during self-programming. During on-board/off-
board programming, however, areas outside the range specified as a window can be written and erased.
Flash memory
area
Caution The flash shield window can only be used for the code flash memory (and is not supported for the
data flash memory).
Table 23-14. Relationship Between Flash Shield Window Function Setting/Change Methods and Commands
Programming Conditions
On-board/Off-board programming
Remark See 23.6 Security Settings to prohibit writing/erasing during on-board/off-board programming.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 23-11. Flash Shield Window Setting Example
(Target Devices: RL78/G1P, Start Block: 04H, End Block: 06H)
03FFFH
Flash shield
range
01C00H
01BFFH
Window range
01000H
00FFFH
Flash shield
range
00000H
Window Range Setting/Change
Methods
Specify the starting and ending
blocks on GUI of dedicated flash
memory programmer, etc.
Block 0FH
: On-board/off-board programming
Block 0EH
: Self-programming
Block 06H
(end block)
: On-board/off-board programming
Block 05H
: Self-programming
Block 04H
(start block)
Block 03H
Block 02H
: On-board/off-board programming
: Self-programming
Block 01H
Block 00H
Block Erase
Block erasing is enabled also
outside the window range.
CHAPTER 23 FLASH MEMORY
Methods by which writing can be performed
Execution Commands
Writing is enabled also
outside the window range.
Write
689

Advertisement

Table of Contents
loading

Table of Contents