436-0100-01-10, Rev. 200 Duo User Guide
Information on this page is subject to change without notice
Instruction body format:
Struct {
UI NT 32 _t is u32Errorcode; // update error codes,
see UPGRADE_ERRORCODE defined
};
UPGRADE_ERRORCODE Definition:
Typedef enum {
UPGRADE_SUCCESS = 0,
UPGRADE_FILE_NO_EXIST = 1,
UPGRADE_CRC_ERROR = 2,
UPGRADE_VERSION_ERROR = 3,
UPGRADE_FWSIZE_ERROR = 4,
UPGRADE_FAIL = 5,
} UPGRADE_ERRORCODE;
CRC Description :
In CSP-TCP applications, the CRC is ignored
4.3 SD card formatting result notification
Request instruction
Instruction Application: UART /
TCP
Data flow: CS --- G / A
Identification
code
1 Byte
Instruction number
2 Bytes
Instruction length
2 Bytes
Instruction body
20 Bytes
Instruction body format:
Struct {
ui NT 32 _t u32Errorcode; // 0- successful, non- 0- unsuccessful
}