Datasheet
Section 21 Flash Memory
R01UH0310EJ0500 Rev. 5.00 Page 1117 of 1384
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 Group
(6) Transition to Programming/Erasing State
The boot program will transfer the erasing program, and erase the user ROMs. On completion of
this erasure, ACK will be returned and the programming/erasing state will be entered.
The host should select the device code, clock mode, and new bit rate with device selection, clock-
mode selection, and new bit-rate selection commands, and then send the command for the
transition to programming/erasing state. These procedures should be carried out before sending of
the programming selection command or program data.
Command H'40
• Command, H'40, (1 byte): Transition to programming/erasing state
Response H'06
• Response, H'06, (1 byte): Response to transition to programming/erasing state
The boot program will send ACK when the user ROM has been erased by the transferred
erasing program.
Error response H'C0 H'51
• Error code, H'51, (1 byte): Erasure error
An error occurred and erasure was not completed.
(7) Command Error
A command error will occur when a command is undefined, the order of commands is incorrect,
or a command is unacceptable. Issuing a clock-mode selection command before a device selection
or an inquiry command after the transition to programming/erasing state command, are examples.
Error response H'80 H'xx
• Error response, H'80, (1 byte): Command error
• Command, H'xx, (1 byte): Received command