FCB-ER8550/CR8550(GB) D-201-100-12(1)
60
Command Description
CMD_INIT
ERR_PROV
This cannot be used for the communication protocol version set to a packet header.
No parameter
ERR_SEQUENCE
Communication sequence error. No parameter.
This is a state in which a CMD_INIT command cannot be received.
■ Remarks
CMD_CHK_GUARD ■ Outline
This command starts the confirmation processing of rush conditions.
■ Command parameter
Parameter data arrangement Size [Byte] Type
CHK_GUARD Parameter{
dataNo
4 uint
remainSize
4 uint
firmData
dataSize Binary
}
■ Meaning
dataNo.
This is the number of times by which this command was issued to confirm rush conditions. “0” is not used.
Increment this from 1 irrespective of the existence of firmData.
remainSize
This is the size of firmware data that has not been transmitted yet. (The data size becomes zero during final
transfer.)
This gives compatibility with the WRITE_FIRM command described later.
firmData
To confirm rush conditions, the top of firmware data (the data division of “FDAT” chunk) is split for transfer. The
size of data to be transferred is specified by windowSize. Operation is completed when STAT_OK is returned.
*See pages 65 and 66.
■ Response (ID/Parameter)
Common parameter that does not vary depending on response ID
Parameter data arrangement Size [Byte] Type
Response Parameter{
windowSize
4 uint
numStatus
4 uint
for ( i = 0; i < numStatus; i++){
Status ID
2 uint
}
{
■ Meaning
windowSize
This is the size of firmData that this unit can receive.
A packet (including firmData) of less than windowSize can be received.
It is necessary to satisfy packetSize ≧ 32 [byte] header + windowSize + 8 (parameters other than firmData).
numStatus
This is the number of status IDs following numStatus.
Status ID
Confirmation result of rush conditions
STAT_OK Conditions are satisfied.
STAT_BUSY Processing in progress
STAT_INVALID_MODEL A model differs.
STAT_INVALID_REGION Destination differs.
STAT_INVALID_DATA Firmware data is damaged.
For OK and Busy, this is necessarily set as Status ID at the top.
ERR_OK
A command was received normally.
ERR_PROV
This cannot be used for the communication protocol version set to a packet header.
No parameter