English
Language : 

H8S56 Datasheet, PDF (804/980 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2500 Series
Section 20 Flash Memory
5. After selection of the device and clock mode, inquiries for other required information should
be made, such as the multiplication-ratio inquiry (H'22) or operating frequency inquiry (H'23),
which are needed for a new bit-rate selection.
6. A new bit rate should be selected with the new bit-rate selection (H'3F) command, according
to the returned information on multiplication ratios and operating frequencies.
7. After selection of the device and clock mode, the information of the user boot MAT and user
MAT should be made to inquire about the user boot MATs information inquiry (H'24), user
MATs information inquiry (H'25), erased block information inquiry (H'26), and programming
unit inquiry (H'27).
8. After making inquiries and selecting a new bit rate, issue the transition to
programming/erasing state command (H'40). The boot program will then enter the
programming/erasing state.
(9) Programming/Erasing State
A programming selection command makes the boot program select the programming method, an
128-byte programming command makes it program the memory with data, and an erasing
selection command and block erasing command make it erase the block. The
programming/erasing commands are listed below.
Table 20.17 Programming/Erasing Command
Command
H'42
H'43
H'50
H'48
H'58
H'52
H'4A
H'4B
H'4C
H'4D
H'4F
Command Name
Description
User boot MAT programming
selection
Transfers the user boot MAT programming
program
User MAT programming selection Transfers the user MAT programming program
128-byte programming
Programs 128 bytes of data
Erasing selection
Transfers the erasing program
Block erasing
Erases a block of data
Memory read
Reads the contents of memory
User boot MAT sum check
Checks the checksum of the user boot MAT
User MAT sum check
Checks the checksum of the user MAT
User boot MAT blank check
Checks whether the contents of the user boot
MAT are blank
User MAT blank check
Checks whether the contents of the user MAT
are blank
Boot program status inquiry
Inquires into the boot program’s status
Rev. 6.00 Sep. 24, 2009 Page 756 of 928
REJ09B0099-0600