Datasheet
Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 197 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(11) Programming/Erasure State
In the programming/erasure state, the boot program selects the form of programming in response
to the programming selection command and then writes the data in response to the 128-byte
programming command; or the boot program erases the desired blocks in response to the erasure
selection and block erasure commands. Table 7.7 lists the programming/erasure commands.
Table 7.7 Programming/Erasure Commands
Command Command Name Function
H'43
User-ROM-area programming
selection
Transfers the control program for user-ROM
area programming.
H'50 128-byte programming Executes 128-byte programming.
H'48 Erasure selection Transfers the erasure-control program.
H'58 Block erasure Erases the block data.
H'52 Memory read Reads data from memory.
H'4B Programmable ROM sum check Executes sum checking of the programmable
ROM area.
H'4D Programmable ROM blank check Executes blank checking of the
programmable ROM area.
H'4F Boot-program state inquiry Obtains about the processing state of the
boot program.
H'61 Data flash sum check Executes sum checking for the data flash
area
H'62 Data flash blank check Executes blank checking for the data flash
area
H'71 Lock-bit state read Reads the state of a lock bit.
H'77 Lock-bit program Executes lock-bit programming.
H'75 Disabling lock-bit Disables the function of lock bits.
H'7A Enabling lock-bit Enables the function of lock bits.
1. Programming
Programming is performed by using the programming selection command and the 128-byte
programming command.
First, the host sends the programming selection command, and selects the form and area of
programming.