English
Language : 

M16C6NK Datasheet, PDF (279/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
21. Flash Memory Version
21.1 Memory Map
The flash memory contains the user ROM area and a boot ROM area. The user ROM area has space to
store the microcomputer operating program in single-chip mode or memory expansion mode and a separate
4-Kbyte space as the block A. (Not available memory expansion mode in T/V-ver..)
Figure 21.1 shows the block diagram of flash memory.
The user ROM area is divided into several blocks, each of which can individually be protected (locked)
against programming or erasure. The user ROM area can be rewritten in all of CPU rewrite, standard serial
I/O mode, parallel I/O mode and CAN I/O mode. Block A is enabled for use by setting the PM10 bit in the
_______
PM1 register to “1” (block A enabled. CS2 area at addresses 10000h to 26FFFh).
The boot ROM area is located at the same addresses as the user ROM area. It can only be rewritten in
parallel I/O mode (refer to 21.1.1 Boot Mode). A program in the boot ROM area is executed after a hardware
reset occurs while an “H ” signal is applied to the CNVSS and P5_0 pins and an “L” signal is applied to the
P5_5 pin (refer to 21.1.1 Boot Mode). A program in the user ROM area is executed after a hardware reset
occurs while an “L” signal is applied to the CNVSS pin. However, the boot ROM area cannot be read.
00F000h
00FFFFh
080000h
Block A: 4 Kbytes (1)
Block 12: 64 Kbytes
08FFFFh
090000h
Block 11: 64 Kbytes
09FFFFh
0A0000h
Block 10: 64 Kbytes
0AFFFFh
0B0000h
Block 9: 64 Kbytes
0BFFFFh
0C0000h
Block 8: 64 Kbytes
0CFFFFh
0D0000h
0F0000h
Block 7: 64 Kbytes
Block 5: 32 Kbytes
0DFFFFh
0E0000h
Block 6: 64 Kbytes
0F7FFFh
0F8000h
0F9FFFh
0FA000h
0EFFFFh
0F0000h
Block 5 to 0
(32+8+8+8+4+4) Kbytes
0FFFFFh
0FBFFFh
0FC000h
0FDFFFh
0FE000h
0FEFFFh
0FF000h
0FFFFFh
User ROM area
Block 4: 8 Kbytes
Block 3: 8 Kbytes
Block 2: 8 Kbytes
Block 1: 4 Kbytes
Block 0: 4 Kbytes
0FF000h
0FFFFFh
4 Kbytes
Boot ROM area (2)
* Shown here is a block diagram during single-chip mode.
NOTES:
1. Block A can be made usable by setting the PM10 bit in the PM1 register to "1" (block A enabled, addresses
10000h to 26FFFh for CS2 area).
Block A cannot be erased by the erase all unlocked block command. Use the block erase command to
erase it.
2. The boot ROM area can only be rewritten in parallel I/O mode.
3. To specify a block, use an even address in that block.
Figure 21.1 Flash Memory Block Diagram
Rev.2.00 Nov 28, 2005 page 261 of 378
REJ09B0124-0200