Datasheet
Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 739 of 910
REJ09B0350-0300
(h) User MAT Information Inquiry
The boot program will return the number of user MATs and their addresses.
Command H'25
• Command, H'25, (one byte): Inquiry regarding user MAT information
Response H'35 Size Number of areas
Start address area Last address area
…
SUM
• Response, H'35, (one byte): Response to the user MAT information inquiry
• Size (one byte): The number of bytes that represents the number of areas, area-start address
and area-last address
• Number of areas (one byte): The number of consecutive user MAT areas
When the user MAT areas are consecutive, the number of areas is H'01.
• Area-start address (four bytes): Start address of the area
• Area-last address (four bytes): Last address of the area
There are as many groups of data representing the start and last addresses as there are areas.
• SUM (one byte): Checksum
(i) Erased Block Information Inquiry
The boot program will return the number of erased blocks and their addresses.
Command H'26
• Command, H'26, (two bytes): Inquiry regarding erased block information
Response H'36 Size Number of blocks
Block start address Block last address
…
SUM
• Response, H'36, (one byte): Response to the number of erased blocks and addresses
• Size (three bytes): The number of bytes that represents the number of blocks, block-start
addresses, and block-last addresses.
• Number of blocks (one byte): The number of erased blocks
• Block start address (four bytes): Start address of a block