R8C/13 Group
17. Flash Memory Version
17.2 Memory Map
The ROM in the flash memory version is separated between a user ROM area and a boot ROM area
(reserved area). Figure 17.1 shows the block diagram of flash memory.
The user ROM area has the 2K-byte Block A and the 2K-byte Block B (data flash), in addition to an area
(program ROM) which stores the microcomputer operation program.
The user ROM area is divided into several blocks. The user ROM area can be rewritten in CPU rewrite
and standard serial I/O modes.
When rewriting the Block 0 and Block 1 in CPU rewrite mode, set the FMR02 bit in the FMR0 register to
“1” (rewrite enabled), and when setting the FMR15 bit in the FMR1 register to “0” (rewrite enabled), the
Block 0 is rewritable. When setting the FMR16 bit to “0” (rewrite enabled), the Block 1 is rewritable. Also
when setting the PM10 bit in the PM1 register to “1”(enabled), the Block A and Block B are usable.
The rewrite program for standard serial I/O mode is stored in the boot ROM area before shipment.
The boot ROM area and the user ROM area share the same address, but have an another memory.
16 Kbytes ROM Product
12 Kbytes ROM Product
8 Kbytes ROM Product
0200016
02FFF16
0200016
02FFF16
0200016
02FFF16
Block A : 2 Kbytes
Block B : 2 Kbytes
Block A : 2 Kbytes
Block B : 2 Kbytes
Block A : 2 Kbytes
Block B : 2 Kbytes
Data flsh
0C00016
Block 1 : 8 Kbytes(1)
Program ROM
0E00016
0D00016
Block 1 : 4 Kbytes(1)
0DFFF16
0E00016
0DFFF16
0E00016
0E00016
0FFFF16
8 Kbytes
Block 0 : 8 Kbytes(1)
User ROM area
Block 0 : 8 Kbytes(1)
User ROM area
Block 0 : 8 Kbytes(1)
User ROM area
0FFFF16
0FFFF16
0FFFF16
Boot ROM area
(reserved area)(2)
NOTES:
1. When setting the FMR02 bit in the FMR0 register to “1” (rewrite enabled) and the FMR15 bit in the FMR1 register to “0” (rewrite enabled), the Block 0
is rewritable. When setting the FMR16 bit to “0” (rewrite enabled), the Block 1 is rewritable (only for CPU rewrite mode).
2. This area is to store the boot program provided by Renesas Technology.
Figure 17.1 Flash Memory Block Diagram
Rev.1.20 Jan 27, 2006 page 166 of 205
REJ09B0111-0120