English
Language : 

M16C28 Datasheet, PDF (318/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
18. Flash Memory Version
18.2 Memory Map
The flash memory contains the user ROM area and the boot ROM area (reserved area). Figures 18.1 to
18.4 show a block diagram of the flash memory. The user ROM area has space to store the microcomputer
operation program in single-chip mode and two 2-Kbyte spaces: the block A and B.
The user ROM area is divided into several blocks. The user ROM area can be rewritten in CPU rewrite,
standard serial input/output, and parallel input/output modes.
However, to rewrite program in block 0 and 1 in CPU rewrite mode, set the FMR02 bit in the FMR0 register
to “1” (block 0, 1 rewrite enabled) and the FMR16 bit in the FMR1 register to “1”(blocks 0 to 4 rewrite
enabled).
Also, to rewrite program in blocks 2 to 4 in CPU rewrite mode, set the FMR16 bit in the FMR1 register to “1”
(blocks 0 to 4 rewrite enabled). When the PM10 bit in the PM1 register is set to “1”(data space access
enabled), block A and B can be available for use.
The boot ROM area (4-byte) is a reserved area. This boot ROM area has a standard serial I/O mode control
program stored before shipping. Do not rewrite the boot ROM area.
00F00016
00F7FF16
00F80016
00FFFF16
(Data space)
Block B :2K bytes (2)
Block A :2K bytes (2)
0F400016
(Program space)
Block 3 : 16K bytes (5)
0F7FFF16
0F800016
Block 2 : 16K bytes (5)
0FBFFF16
0FC00016
0FDFFF16
0FE00016
0FFFFF16
Block 1 : 8K bytes (3)
Block 0 : 8K bytes (3)
User ROM area
NOTES:
1. To specify a block, use the maximum even address in the block.
2. Blocks A and B are enabled for use when the PM10 bit in the PM1
register is set to "1".
3. Blocks 0 and 1 are enabled for programs and erasure when the
FMR02 bit in the FMR0 register is set to "1" and the FMR16 bit in
the FMR1 register is set to "1". (CPU rewrite mode only)
4. The Boot ROM area is reserved. Do not rewrite.
5. Blocks 2 and 3 are enabled for programs and erasure when the
FMR16 bit in the FMR1 register is set to "1". (CPU rewrite mode
only)
0FF00016
0FFFFF16
4K bytes (4)
Boot ROM area
Figure 18.1 Flash Memory Block Diagram (ROM capacity 48K byte)
Rev. 2.00 Jan. 31, 2007 page 298 of 385
REJ09B0047-0200