Error status codes, Verify image crc (08h) – ThingMagic M5e-Compact User Manual
Page 70

Boot Loader Commands
70
Command Set
C
A
U
T
I
O
N
!
!
!
When using the 921600 baud rate you must pass an extra byte of data
(0x00) at the end of each message, after the CRC. This is due to a timing
issue. If the extra byte is not passed the message will not be processed
until the another byte of data is received.
In the following example, the baud rate is specified as a 32-bit value. This example sets
the baud rate to 115200:
The response to baud rate change is sent at the baud rate that the Set Baud Rate
command was transmitted. Once the baud rate has changed, the new rate is in effect until
the baud rate is changed by power cycling the reader.
Note
The baud rate reverts back to 9600 bps at power-up.
Error Status Codes
FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h
FAULT_INVALID_BAUD_RATE - 10Ah
Verify Image CRC (08h)
After uploading a new application firmware image, the application CRC can be checked
with the Verify Image CRC command. The application CRC is already embedded in the
firmware image, so this command calculates the firmware’s CRC in flash and compares it
to the pre-stored value. It returns a fault code if the application firmware fails the CRC
460800
1
0x00070800
921600
1
0x000E1000
Note:
1 - 460800 and 921600 cannot be used in
bootloader mode, only application mode.
FF
04
06
00
01
C2
00
A4
60
SOH
Length
OpCode
Baud Rate
CRC