Datasheet

Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1183 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
(h) Erased Block Information Inquiry
The boot program will return the number of erased blocks and their addresses.
Command H'26
Command, H'26, (1 byte): Inquiry regarding erased block information
Response H'36 Size Number of blocks
Block-start address Block-last address
···
SUM
Response, H'36, (1 byte): Response to the number of erased blocks and addresses
Size (2 bytes): The number of bytes that represents the number of blocks, block-start
addresses, and block-last addresses.
Number of blocks (1 byte): The number of erased blocks
Block-start address (4 bytes): Start address of a block
Block-last Address (4 bytes): Last address of a block
There are as many groups of data representing the start and last addresses as there are blocks.
SUM (1 byte): Checksum
(i) Programming Unit Inquiry
The boot program will return the programming unit used to program data.
Command H'27
Command, H'27, (1 byte): Inquiry regarding programming unit
Response H'37 Size Programming unit SUM
Response, H'37, (1 byte): Response to programming unit inquiry
Size (1 byte): The number of bytes that indicate the programming unit, which is fixed to 2
Programming unit (2 bytes): A unit for programming
This is the unit for reception of programming data.
SUM (1 byte): Checksum