R8C/1A Group, R8C/1B Group
18. Flash Memory
Rev.1.30
Dec 08, 2006
Page 247 of 315
REJ09B0252-0130
18.2
Memory Map
The flash memory contains a user ROM area and a boot ROM area (reserved area). Figure 18.1 shows a Flash
Memory Block Diagram for R8C/1A Group. Figure 18.2 shows a Flash Memory Block Diagram for R8C/1B
Group.
The user ROM area of the R8C/1B Group contains an area (program ROM) which stores MCU operating programs
and the blocks A and B (data flash) each 1 Kbyte 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 to is set to 0 (rewrite enabled), block 0 is rewritable. When
the FMR16 bit to is set 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 18.1
Flash Memory Block Diagram for R8C/1A 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