Page 17 / 23
No
Function
SMC_FW_BL_SET_DATA
5
Remark
1) Write data to flash command
Byte
1
2
3
4
5
6~N
N+1
N+2
STX
ID
CMD
SIZE
DATA
CS
ETX
Command
Packet
05h
SYS ID
HOST ID
92h
82h(130)
TD1-TDN
CS
06h
Ack Packet
05h
HOST ID
SYS ID
94h
03h
RD1-RDN
CS
06h
Parameter
TD1: FW current page number low byte
TD2: FW current page number high byte
TD3-TD130: FW data 128bytes
RD1: Update Status
-FW_APP_START_OK: 00h
-FW_APP_START_FAIL: 01h
-FW_BL_START_OK: 02h
-FW_BL_START_FAIL: 03h
-FW_BL_UP_DATA_OK: 04h
-FW_BL_UP_DATA__FAIL: 05h
-FW_BL_UP_DATA_REBOOT_FAIL: 06h
-FW_BL_FINISH_OK: 07h
-FW_BL_FINISH_FAIL: 08h
-FW_BL_FINISH_REBOOT_FAIL: 09h
-FW_BL_UP_DATA_TIME_OUT: 0Ah
-FW_BL_UP_CHECKSUM_ERROR: 0Bh
-FW_BL_VERIFY_DATA_OK: 0Ch
-FW_BL_VERIFY_DATA_FAIL: 0Dh
RD2: FW current page number low byte
RD3: FW current page number high byte
Remark