Datasheet

Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 581 of 710
REJ09B0384-0300
(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 4.
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 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 Number of modes Mode ··· SUM
Response, H'31, (1 byte): Response to the clock-mode inquiry
Size (1 byte): Amount of data that represents the number of modes and modes
Number of clock modes (1 byte): The number of supported clock modes
H'00 indicates no clock mode or the device allows to read the clock mode.
Mode (1 byte): Values of the supported clock modes (i.e. H'01 means clock mode 1.)
SUM (1 byte): Checksum