FCB-ER8550/CR8550(GB) D-201-100-12(1)
59
Command specifications
Command Description
CMD_GET_STATE ■ Outline
This command acquires the firmware update processing status in this unit.
*This command can be accepted at any time when communication is established.
■ Command parameter
None
■ Response (ID/Parameter)
ERR_OK
Initialization succeeded. The subsequent maximum packet size and minimum time-out are turned to a parameter.
Parameter
Parameter data arrangement Size [Byte] Type
OK Parameter{
currentState ID
2 uint
}
■ Meaning
currentState ID
This is the set state at the point of time where a command was received.
Refer to the ID list of each STAT ID. (See page 58.)
CURST AT_PRE_INIT During start *From when PC application issues a CMD_INIT command
CURST AT_SWITCHMODE During mode switching (State in which a command cannot be returned by INIT)
*From when PC application issues a CMD_SWITCH_MODE command
ERR_PROV
This cannot be used for the communication protocol version set to a packet header.
No parameter
■ Remarks
CMD_INIT ■ Outline
This command initializes communication and transfers the required parameter.
This unit returns the internal state to the initial state by receiving the parameter.
There is a state in which the parameter cannot be received.
■ Command parameter
None
■ Response (ID / Parameter)
ERR_OK
Initialization succeeded. The subsequent maximum packet size and minimum time-out are turned to a parameter.
Parameter
Parameter data arrangement Size [Byte] Type
OK Parameter{
maxCmdPacketSize
4 uint
maxResPacketSize
4 uint
minTimeOut
4 uint
intervalBeforeCommand
4 uint
intervalBeforeResponse
4 uint
}
■ Meaning
maxCmdPacketSize
This is the maximum packet size [byte] of a command packet after initialization has succeeded.
Not including a CMD_GET_STATE command
maxResPacketSize
This is the maximum packet size [byte] of a response packet after initialization has succeeded.
minTimeOut
This is the minimum timeout time [msec] common to each command after communication initialization has
succeeded.
The host must time out using a value of more than the minimum timeout time.
intervalBeforeCommand
This is the min time [msec] required from when the host receives a response until it issues the next command.
intervalBeforeResponse
This is the min time [msec] required from when the host issues a command until it issues the reception request
of a response to the command issuing.