Datasheet
Section 22 Flash Memory
Page 1178 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
(b) Device Selection
The boot program will set the supported device to the specified device code. The program will
return the selected device code in response to the inquiry after this setting has been made.
Command H'10 Size Device code SUM
• Command, H'10, (1 byte): Device selection
• Size (1 byte): Amount of device-code data
This is fixed at 2.
• Device code (4 bytes): Device code (ASCII code) returned in response to the supported device
inquiry
• SUM (1 byte): Checksum
Response H'06
• Response, H'06, (1 byte): Response to the device selection command
ACK will be returned when the device code matches.
Error response H'90 ERROR
• Error response, H'90, (1 byte): Error response to the device selection command
ERROR: (1 byte): Error code
H'11: Sum check error
H'21: Device code mismatch error, that is, the device code does not match
(c) Clock Mode Inquiry
The boot program will return the supported clock modes in response to the clock mode inquiry.
Command H'21
• Command, H'21, (1 byte): Inquiry regarding clock mode
Response H'31 Size Mode ··· SUM
• Response, H'31, (1 byte): Response to the clock-mode inquiry
• Size (1 byte): Amount of data that represents modes
• Mode (1 byte): Values of the supported clock modes (i.e. H'01 means clock mode 1.)
• SUM (1 byte): Checksum