Datasheet
Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 536 of 710
REJ09B0384-0300
(4) Erasure Execution
When flash memory is erased, the erase-block number on the user MAT must be passed to the
erasing program which is downloaded. This is set to the FEBS parameter (general register ER0).
One block is specified from the block number 0 to 15.
For details on the erasing processing procedure, see section 19.4.2, User Program Mode.
(a) Flash erase block select parameter (FEBS: general register ER0 of CPU)
This parameter specifies the erase-block number.
Bit Bit Name
Initial
Value
R/W Description
31 to 16 ⎯ ⎯ ⎯ Unused
These bits should be cleared to H¢0.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
EB15
EB14
EB13
EB12
EB11
EB10
EB9
EB8
EB7
EB6
EB5
EB4
EB3
EB2
EB1
EB0
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
⎯
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Erase Block
Set the erase-block number in the range from 0 to 15. 0
corresponds to the EB0 block, and 15 corresponds to
the EB15 block.