English
Language : 

M16C1N Datasheet, PDF (185/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
19. Flash Memory Version
19. Flash Memory Version
19.1 Overview
The flash memory version has four modes—CPU rewrite, standard serial input/output (hereinafter re-
ferred to as standard serial I/O), parallel input/output (hereinafter referred to as parallel I/O), and CAN
input/output (hereinafter referred to as CAN I/O) modes—in which its internal flash memory can be oper-
ated on.
Table 19.1 shows the outline performance of flash memory version and Table 19.2 shows the outline of
flash memory rewrite mode. (see Table 1.1 Performance outline for the items not listed in Table 19.1).
Table 19.1 Outline performance of flash memory version
Item
Performance
Flash memory operation mode Four modes (CPU rewrite, parallel I/O, standard serial I/O and CAN I/O)
Erase block division
See Figure 19.1 Outline performance of flash memory version
Program method
In units of word, in units of byte (Note 1)
Erase method
Block erase
Program, erase control method Program and erase controlled by software command
Protect method
Block 0 and 1 are protected by register rewrite (FMR02)
Block 0 to 3 are protected by register rewrite enable bit (FMR16)
Number of commands
5 commands
Program, erase Block 0 to 3 100 times
count
Block A and B
(Data area)
100 times
Data retention
10 years
ROM code protect
Parallel I/O, standard serial I/O and CAN I/O modes are supported
Note 1: Can be programmed in byte units in only parallel I/O mode.
Table 19.2 Outline of flash memory rewrite mode
Flash memory
rewrite mode
CPU rewrite mode
Parallel I/O mode
Standard serial I/O
mode
CAN I/O mode
Function
The user ROM area is The user ROM area is The user ROM area is The user ROM area is
rewritten by executing rewritten by using a rewritten by using a rewritten by using a
software commands dedicated parallel pro- dedicated serial pro- dedicated CAN pro-
from the CPU.
grammer.
grammer.
grammer.
EW0 mode:
Standard serial I/O mode 1:
Can be rewritten in
Clock sync. serial I/O
any area other than
Standard serial I/O mode 2
the flash memory
(Note 1): UART
EW1 mode:
Can be rewritten in
the flash memory
Areas which User ROM area
User ROM area,
User ROM area
User ROM area
can be rewritten
Boot ROM area
Operation
Single chip mode
Parallel I/O mode
Boot mode
Boot mode
mode
ROM
None
Parallel programmer Serial programmer
CAN programmer
programmer
Note 1: When using the standard serial I/O mode 2, make sure a main clock input oscillation frequency is
set to 10 or 16 MHz.
Rev.1.00 Oct 20, 2004 page 173 of 222
REJ09B0007-0100Z