Datasheet

Rev. 3.00, 03/04, page 636 of 830
(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 20.4.2, User Program Mode.
(a) Flash erase block select parameter (FEBS: general register ER0 of CPU)
This parameter specifies the erase-block number. The several block numbers cannot be specified.
Bit Bit Name
Initial
Value R/W Description
31 to 8 Unused
These bits should be cleared to H0.
7
6
5
4
3
2
1
0
EB7
EB6
EB5
EB4
EB3
EB2
EB1
EB0
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. The number other than 0 to 11, 0 to 13, and
0 to 15 should not be set in the H8S/2168, H8S/2167,
and H8S/2166, respectively.