Datasheet

Section 21 Flash Memory
R01UH0310EJ0500 Rev. 5.00 Page 1093 of 1384
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 Group
21.4.6 Block Blank Check
This command checks if a block is blank (the erased state).
Write H'25xx in the first bus cycle and H'D0xx to the lowest address (an even address) of the
target block in the second cycle; the check result will be stored in the FMERSF bit in FLMSTR.
After the FMRDY bit in FLMSTR has become 1 (ready), read the FMERSF bit.
Figure 21.5 shows a flowchart of the block blank check command processing.
FMERSF = 0?
NO
YES
FMRDY = 1?
NO
YES
Start
Write command code "H'25xx".
Write "H'D0xx" to the lowest
address of the block.
Blank
Not blank
Note: Write the command code and data to even addresses.
Figure 21.5 Flowchart of Block Blank Check Command Processing