Flash Memory Version - Renesas M16C/6NK Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

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

Aside from the built-in flash memory, the flash memory version microcomputer has the same functions as the
masked ROM version.
In the flash memory version, the flash memory can perform in four rewrite mode: CPU rewrite mode, standard
serial I/O mode, parallel I/O mode and CAN I/O mode.
Table 21.1 lists the specifications of the flash memory version. See Tables 1.1 and 1.2 Performance
outline, for the items not listed in Table 21.1). Table 21.2 shows the outline of flash memory rewrite mode.
Table 21.1 Flash Memory Version Specifications
Item
Flash Memory Operating Mode
Erase Block
User ROM Area
Boot ROM Area
Program Method
Erase Method
Program and Erase Control Method
Protect Method
Number of Commands
Program and Erase Endurance
ROM Code Protection
NOTES:
1. The boot ROM area contains a standard serial I/O mode and CAN I/O mode rewrite control program which is stored in
it when shipped from the factory. This area can only be rewritten in parallel I/O mode.
2. Can be programmed in byte units in only parallel I/O mode.
3. Definition of program and erase endurance
The programming and erasure times are defined to be per-block erasure times. For example, assume a case where a 4K-byte
block A is programmed in 2,048 operations by writing one word at a time and erased thereafter. In this case, the block is
reckoned as having been programmed and erased once.
If a product is 100 times of programming and erasure, each block in it can be erased up to 100 times.
Table 21.2 Flash Memory Rewrite Modes Overview
Flash Memory
CPU Rewrite Mode
Rewrite Mode
The user ROM area is
Function
rewritten when the CPU
e x e c u t e s s o f t w a r e
commands.
EW0 mode:
Rewrite in areas other
than flash memory
EW1 mode:
Can be rewritten in the
flash memory
Areas which
User ROM area
can be Rewritten
Operation
Single-chip mode
Mode
Memory expansion mode
Boot mode (EW0 mode)
ROM Programmer None
NOTES:
1. The PM13 bit remains set to "1" while the FMR01 bit in the FMR0 register = 1 (CPU rewrite mode enabled). The PM13 bit
is reverted to its original value by setting the FMR01 bit to "0" (CPU rewrite mode disabled). However, if the PM13 bit is
changed during CPU rewrite mode, its changed value is not reflected until after the FMR01 bit is set to "0".
2. When in CPU rewrite mode, the PM10 and PM13 bits in the PM1 register are set to "1". The rewrite control program can
only be executed in the internal RAM or in an external area that is enabled for use when the PM13 bit = 1.
3. When using the standard serial I/O mode 2, make sure a main clock input oscillation frequency is set to 5 MHz, 10 MHz
or 16 MHz.
4. Not available in T/V-ver..
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
4 modes (CPU rewrite, standard serial I/O, parallel I/O, CAN I/O)
See Figure 21.1 Flash Memory Block Diagram
1 block (4 Kbytes)
In units of word, in units of byte
Collective erase, block erase
Program and erase controlled by software command
Lock bit protects each block
8 commands
(3)
100 times
Parallel I/O , standard serial I/O and CAN I/O modes are supported.
(1)
Standard Serial I/O Mode
The user ROM area is
r e w r i t t e n u s i n g a
d e d i c a t e d
programmer.
Standard serial I/O mode 1:
C l o c k s y n c h r o n o u s
(2)
serial I/O
Standard serial I/O mode 2:
(3)
UART
User ROM area
Boot mode
(4)
(EW0 mode)
Serial programmer
page 260 of 378
Specifications
(1)
(2)
Parallel I/O Mode
The boot ROM and user
ROM areas are rewritten
s e r i a l
using a dedicated parallel
programmer.
User ROM area
Boot ROM area
Parallel I/O mode
Parallel programmer
21. Flash Memory Version
CAN I/O Mode
The user ROM area is
rewritten busing a dedicated
CAN programmer.
User ROM area
Boot mode
CAN programmer

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents