Datasheet
Section 20 Flash Memory (0.18-μm F-ZTAT Version)
Rev.6.00 Mar. 18, 2009 Page 744 of 980
REJ09B0050-0600
(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.
Bit
Bit
Name
Initial
Value R/W Description
31 to 8 ⎯ ⎯ ⎯ Unused
These bits should be cleared to H'0.
7 to 0 EBN7 to 0 ⎯ R/W Erase Block Number
Set an erase-block number within the range from 0 to 15.
H'00 corresponds to the EB0 block and H'0F corresponds
to the EB15 block. An error occurs if a number outside
the range from H'00 to H'0F
*
is set
Note: * For the H8S/2362F, H8S/2361F, and H8S/2360F
choose a setting value within the range from H'00
to H'0B.
For the H8S/2364F, choose a setting value within
the range from H'00 to H'0D.