R8C/18 Group, R8C/19 Group
17. Flash Memory Version
Rev.1.30
Apr 14, 2006
Page 174 of 233
REJ09B0222-0130
17.2
Memory Map
The flash memory contains a user ROM area and a boot ROM area (reserved area). Figure 17.1 shows
a Flash Memory Block Diagram for R8C/18 Group. Figure 17.2 shows a Flash Memory Block Diagram
for R8C/19 Group.
The user ROM area of the R8C/19 Group contains an area (program ROM) which stores MCU operating
programs and the blocks A and B (data flash) each 1 byte in size.
The user ROM area is divided into several blocks. The user ROM area can be rewritten in CPU rewrite
mode and standard serial I/O and parallel I/O modes.
When rewriting blocks 0 and 1 in CPU rewrite mode, set the FMR02 bit in the FMR0 register to 1 (rewrite
enabled). When the FMR15 bit in the FMR1 register is set to 0 (rewrite enabled), block 0 is rewritable.
When the FMR16 bit is set to 0 (rewrite enabled), block 1 is rewritable.
The rewrite control 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 separate
memory areas.
Figure 17.1
Flash Memory Block Diagram for R8C/18 Group
0C000h
0DFFFh
0E000h
0FFFFh
Boot ROM area
(reserved area)
(2)
0E000h
0FFFFh
NOTES:
1. When the FMR02 bit in the FMR0 register is set to 1 (rewrite enabled) and the FMR15 bit in the FMR1
register to 0 (rewrite enabled), block 0 is rewritable. When the FMR16 bit is set to 0 (rewrite enabled),
block 1 is rewritable (only for CPU rewrite mode).
2.
This area is for storing the boot program provided by Renesas Technology.
0D000h
0DFFFh
0E000h
0FFFFh
0E000h
0FFFFh
12 Kbyte ROM product:
8 Kbyte ROM product:
16 Kbyte ROM product:
Block 1: 8 Kbytes
(1)
Block 0: 8 Kbytes
(1)
8 Kbytes
Block 1: 4 Kbytes
(1)
Block 0: 8 Kbytes
(1)
Block 0: 8 Kbytes
(1)
User ROM area
User ROM area
User ROM area
0F000h
0FFFFh
4 Kbyte ROM product:
Block 0: 4 Kbytes
(1)
User ROM area
Program ROM
Program ROM