(4)
Erasure Execution
When flash memory is erased, the erase-block number on the user MAT must be passed to the
erasing program that is downloaded. This is set to the FEBS parameter (general register ER0).
One block is specified from the block numbers 0 to 23.
For details on the erasing procedure, see section 21.4.2, User Program Mode.
(a)
Flash erase block select parameter (FEBS: general register ER0 of CPU)
This parameter specifies the erase-block number. Several block numbers cannot be selected at one
time.
Initial
Bit
Bit Name
Value
31 to 8
7
EB7
6
EB6
5
EB5
4
EB4
3
EB3
2
EB2
1
EB1
0
EB0
Section 21 Flash Memory (0.18-µm F-ZTAT Version)
R/W
Description
Unused
These bits should be cleared to 0.
R/W
Erase Block
R/W
These bits set the erase-block number in the range from
0 to 23. 0 corresponds to the EB0 block and 23
R/W
corresponds to the EB23 block. An error occurs when a
R/W
number other than 0 to 23 (H'00 to H'17) is set.
R/W
R/W
R/W
R/W
Rev. 3.00 Jul. 14, 2005 Page 761 of 986
REJ09B0098-0300