Datasheet

CHAPTER 16 FLASH MEMORY
User’s Manual U18172EJ3V0UD
225
16.2 Memory Configuration
The 1/2/4 KB internal flash memory area is divided into 4/8/16 blocks and can be programmed/erased in block
units. All the blocks can also be erased at once, by using a dedicated flash memory programmer.
Figure 16-1. Flash Memory Mapping
Special function resister
(256 byte)
Internal high-speed RAM
(128 byte)
Flash memory
(1/2/4 KB)
FFFFH
FF00H
FEFFH
0000H
Use prohibited
FE80H
FE7FH
1 KB
Block 0 (256 bytes)
Block 1 (256 bytes)
Block 2 (256 bytes)
Block 3 (256 bytes)
μ
PD78F9200, 78F9500
0000H
0100H
00FFH
Block 0 (256 bytes)
Block 1 (256 bytes)
Block 2 (256 bytes)
Block 3 (256 bytes)
Block 4 (256 bytes)
Block 5 (256 bytes)
Block 6 (256 bytes)
Block 7 (256 bytes)
Block 0 (256 bytes)
Block 1 (256 bytes)
Block 2 (256 bytes)
Block 3 (256 bytes)
Block 4 (256 bytes)
Block 5 (256 bytes)
Block 6 (256 bytes)
Block 7 (256 bytes)
Block 8 (256 bytes)
Block 9 (256 bytes)
Block 10 (256 bytes)
Block 11 (256 bytes)
Block 12 (256 bytes)
Block 13 (256 bytes)
Block 14 (256 bytes)
Block 15 (256 bytes)
2 KB
4 KB
0200H
01FFH
0300H
02FFH
0400H
03FFH
0500H
04FFH
0600H
05FFH
0700H
06FFH
0800H
07FFH
0900H
08FFH
0A00H
09FFH
0B00H
0AFFH
0C00H
0BFFH
0D00H
0CFFH
0E00H
0DFFH
0F00H
0EFFH
0FFFH
μ
PD78F9201, 78F9501
μ
PD78F9202, 78F9502
16.3 Functional Outline
The internal flash memory of the 78K0S/KU1+ can be rewritten by using the rewrite function of the dedicated flash
memory programmer, regardless of whether the 78K0S/KU1+ has already been mounted on the target system or not
(on-board/off-board programming).
The function for rewriting a program with the user program (self programming), which is ideal for an application
when it is assumed that the program is changed after production/shipment of the target system, is provided.
Refer to Table 16-1 for the flash memory writing control function.
In addition, a security function that prohibits rewriting the user program written to the internal flash memory is also
supported, so that the program cannot be changed by an unauthorized person.
Refer to 16.7.3 Security settings for details on the security function.
<R>