FCB-ER8550/CR8550(GB) D-201-100-12(1)
Command
Description
CMD_WRITE_FIRM
ERR_INVALID_PARAM
dataNo is invalid. (A value is skipped.) dataSize is invalid.
Errors other than described above are errors in this unit.
■ Remarks
CMD_COMPLETE
■ Outline
This command notifies to confirm that firmware rewrite completion notification was accepted.
■ Command parameter
None
■No response
This unit is automatically restarted when this command is received.
Issuing the CMD_CHK_GUARD and CMD_WRITE_FIRM commands
■ Packet Header (Common in both a command and response)
Data arrangement
Size [Byte]
Type
Packet Header{
BodySize
4
uint
Protocol Version
2
uint
Command ID
2
uint
Response ID
2
uint
Sequence No.
2
uint
reserved
4
uint
reserved
4
uint
reserved
4
uint
reserved
8
uint
}
■ Command Parameter
Parameter data arrangement
Size [Byte]
Type
CHK_GUARD Parameter{
dataNo
4
uint
remainSize
2
uint
firmData
dataSize
Binary
}
Parameter data arrangement
Size [Byte]
Type
Response Parameter{
windowSize
4
uint
numStatus
4
uint
for ( i = 0; i < numStatus; i++){
Status ID
2
uint
}
}
Firmware data is transferred from the host to the unit using CHK GUARD and WRITE_FIRM commands. For
dataSize to be transferred, specify a value of less than windowSize set to the Response data that was issued just
before transfer. When transmitting a command first, issue a command (with dataSize set to “0”) without sending
firmData and then issue a command for transferring data actually after confirming windowSize set to the
Response data. Transmit data continuously until commands other than STAT_BUSY are returned.