(4) Erasure Execution
When flash memory is erased, the erase-block number in the user MAT must be transferred to the
erasing program which is downloaded. This is set to FEBS (general register ER0).
One block is specified from the block number 0 to 11.
For details on the erasing processing procedure, see section 20.4.2, User Program Mode.
(a) Flash Erase Block Select Parameter (FEBS: General Register ER0 of CPU)
FEBS specifies the erase-block number. The several block numbers cannot be specified.
Initial
Bit
Bit Name
Value
31 to 12
11
EB11
10
EB10
9
EB9
8
EB8
7
EB7
6
EB6
5
EB5
4
EB4
3
EB3
2
EB2
1
EB1
0
EB0
R/W
Description
Unused
These bits should be cleared to 0.
R/W
Erase Block
R/W
Set the erase-block number in the range from 0 to 11. 0
R/W
corresponds to the EB0 block and 11 corresponds to the
R/W
EB11 block. An error occurs when the number other
R/W
than 0 to 11 is set.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Rev. 1.00, 09/03, page 549 of 704