English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (865/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 27 FLASH MEMORY
27.8.2 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 during
both on-board/off-board programming and self 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
Figure27-13. Flash Shield Window Setting Example
(Target Devices: μPD78F1500A, Start Block: 04H, End Block: 06H)
0FFFFH
Block 3FH
Methods by which writing can be performed
Flash shield
range
Block 3EH
√: On-board/off-board programming
×: Self programming
01C00H
01BFFH
Window range
01000H
00FFFH
Block 06H
(end block)
Block 05H
Block 04H
(start block)
Block 03H
√: On-board/off-board programming
√: Self programming
Flash shield
range
Block 02H
Block 01H
√: On-board/off-board programming
×: Self programming
00000H
Block 00H
Caution If the rewrite-prohibited area of the boot cluster 0 overlaps with the flash shield window range,
prohibition to rewrite the boot cluster 0 takes priority.
Table 27-8. Relationship between Flash Shield Window Function Setting/Change Methods and Commands
Programming conditions
Self-programming
On-board/Off-board
programming
Window Range
Setting/Change Methods
Specify the starting and
ending blocks by the set
information library.
Specify the starting and
ending blocks on GUI of
dedicated flash memory
programmer, etc.
Execution Commands
Block erase
Write
Block erasing is enabled
only within the window
range.
Writing is enabled only
within the range of
window range.
Block erasing is enabled
also outside the window
range.
Writing is enabled also
outside the window
range.
Remark See 27.7 Security Settings to prohibit writing/erasing during on-board/off-board programming.
R01UH0004EJ0501 Rev.5.01
849
Jun 20, 2011