FCB-ER8550/CR8550(GB) D-201-100-12(1)
62
Command Description
CMD_SWITCH_MODE
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 cannot be accepted while the application of the main set is in operation and when rush conditions are not
established.
Errors other than described above are in-set errors.
CMD_WRITE_FIRM ■ Outline
This command rewrites firmware.
■ Command parameter
Parameter data arrangement Size [Byte] Type
WRITE_FIRM Parameter{
dataNo
4 uint
remainSize
4 uint
firmData
Binary
}
■ Meaning
dataNo
This is the number of times by which this command was issued to transfer firmware data. “0” is not used.
This is incremented every time firmware data is transferred.
This is reset by initialization of communication.
remainSize
This is the size of firmware data that has not been transmitted yet. (The data size becomes zero during final
transfer.)
firmData
Firmware data (the data division of “FDAT” chunk) is split for transfer.
*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 = 1
Status ID
2
}
■ 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).
Status ID
Rewrite processing status
STAT_OK Firmware rewrite processing is terminated normally.
STAT_BUSY Processing in progress
STAT_INVALID_DATA Firmware data is damaged.
ERR_OK
Firmware data was received normally.
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 cannot be accepted while an update mode is in operation and before rush conditions are confirmed.
ERR_BIG
This could not be received because packet size is too large.
This could not be received because a receive buffer is insufficient in capacity.
The whole relevant packet is discarded when this error occurs.