Memory Map - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C

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.
00F000
16
00F7FF
16
00F800
16
00FFFF
16
0F4000
16
Block 3 : 16K bytes
0F7FFF
16
0F8000
16
Block 2 : 16K bytes
0FBFFF
16
0FC000
16
Block 1 : 8K bytes
0FDFFF
16
0FE000
16
Block 0 : 8K bytes
0FFFFF
16
Figure 18.1 Flash Memory Block Diagram (ROM capacity 48K byte)
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
(Data space)
(2)
Block B :2K bytes
(2)
Block A :2K bytes
(Program space)
(5)
(5)
(3)
(3)
User ROM area
page 298
f o
3
8
5
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)
0FF000
16
0FFFFF
16
Boot ROM area
18. Flash Memory Version
(4)
4K bytes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents