Datasheet
Section 7 ROM
Page 198 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Next, the host sends the 128-byte programming command. The boot program assumes that the
128 bytes of data included in the 128-byte programming command should be programmed
according to the form of programming selected by the preceding programming selection
command. To program more than 128 bytes, repeatedly send 128-byte programming
commands. To terminate programming, the host should send the 128-byte programming
command with address H'FFFFFFFF. On completion of programming, the boot program waits
for the next programming/erasure selection command.
The sequence of programming by the programming selection command and 128-byte
programming command is shown in figure 7.10.
Transfers the
programming-control
program.
Host Boot program
Programming selection (H'43)
ACK
Performs
programming.
128-byte programming (address and data)
ACK
128-byte programming (address = H'FFFFFFFF)
ACK
Repeats the steps.
Figure 7.10 Programming Sequence
2. Erasure
Erasure is performed by using the erasure selection command and the block erasure command.
First, select erasure by the erasure selection command and then actually erase a specific block
using the block erasure command. To erase multiple blocks, repeatedly send block erasure
commands. To terminate erasure, the host should send the block erasure command with block
number H'FF. On completion of erasure, the boot program waits for the next
programming/erasure selection command.
The sequence of erasure by the erasure selection command and block erasure command is
shown in figure 7.11.