R8C/1A Group, R8C/1B Group
18. Flash Memory
Rev.1.30
Dec 08, 2006
Page 245 of 315
REJ09B0252-0130
18. Flash Memory
18.1
Overview
In the flash memory, rewrite operations to the flash memory can be performed in three modes
;
CPU rewrite,
standard serial I/O, and parallel I/O.
Table 18.1 lists the Flash Memory Performance (refer to
Table 1.1 Functions and Specifications for R8C/1A
Group
and
Table 1.2 Functions and Specifications for R8C/1B Group
for items not listed in Table 18.1).
NOTES:
1. Definition of programming and erasure endurance
The programming and erasure endurance is defined on a per-block basis. If the programming and
erasure endurance is n (n = 100 or 10,000), each block can be erased n times. For example, if 1,024
1-byte writes are performed to block A, a 1-Kbyte block, and then the block is erased, the erase
count stands at one. When performing 100 or more rewrites, the actual erase count can be reduced
by executing programming operations in such a way that all blank areas are used before performing
an erase operation. Avoid rewriting only particular blocks and try to average out the programming
and erasure endurance of the blocks. It is also advisable to retain data on the erase count of each
block and limit the number of erase operations to a certain number.
2. Blocks A and B are implemented only in the R8C/1B Group.
Table 18.1
Flash Memory Performance
Item
Specification
Flash memory operating mode
3 modes (CPU rewrite, standard serial I/O, and parallel I/O mode)
Division of erase block
Refer to
Figure 18.1
and
Figure 18.2
Programming method
Byte unit
Erase method
Block erase
Programming and erasure
control method
Program and erase control by software command
Rewrite control method
Rewrite control for blocks 0 and 1 by FMR02 bit in FMR0 register.
Rewrite control for block 0 by FMR15 bit and block 1 by FMR16 bit in
FMR1 register.
Number of commands
5 commands
Programming
and erasure
endurance
(1)
Blocks 0 and 1
(program ROM)
R8C/1A Group: 100 times; R8C/1B Group: 1,000 times
Blocks A and B
(data flash)
(2)
10,000 times
ID code check function
Standard serial I/O mode supported
ROM code protect
Parallel I/O mode supported