Datasheet
Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1157 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
After automatic writing is completed, the result can be checked through the FMPRSF bit in
FMRSTR (see section 22.6, Full Status Check).
Once an address is programmed, no additional data can be written to the address. Figure 22.3
shows a flowchart of the program command processing.
In the EW0 mode, the read status register mode is entered as soon as automatic writing starts, and
the status register can be read. The SR7 bit in the status register becomes 0 when automatic
writing starts and returns to 1 when writing is completed. In this case, the flash memory stays in
the read status register mode until a read array command is issued. After automatic writing is
completed, the result of writing can be checked by reading the status register.
NO
YES
Note: Write the command code and data to even addresses.
Start
Write command code "H'41xx"
to the target write address.
Write data to
the target write address.
FMRDY = 1?
Full status check
End of programming
Figure 22.3 Flowchart of Program Command Processing