Command Attribute
| Command Code | Bootloader Command | App Firmware Command |
|---|---|---|
| 0x08 | Yes | No |
Host to Reader
| Field | Byte Length | Description |
|---|---|---|
| CHECKADDR | 4 bytes | The value is 0x00104000 |
| CHECKDATALEN | 4 bytes | The value is the number of bytes written to the Flash by the command 0x01 divided by 4. |
| CHECKCRC | 4 bytes | Calculation method: Use 4 bytes as a unit, and divide all bytes written to the Flash by the 0x01 command into N 4 bytes from the beginning to the end. The highest bytes of the N numbers are added to DATA1. The second highest bytes of the N number are added to DATA2. The second lowest bytes of the N numbers are are added to DATA3. The lowest bytes of the N numbers are added to DATA4. DATA1, DATA2, DATA3 and DATA4 are also 32-bit numbers. The lowest 8 bits of DATA1 are the highest byte of CHECKCRC. The lowest 8 bits of DATA2 are the second highest byte of CHECKCRC. The lowest 8 bits of DATA3 are the second lowest byte of CHECKCRC. The lowest 8 bits of DATA4 are the lowest byte of CHECKCRC. |