Boot firmware (04h), Error status codes, Set baud rate (06h) – ThingMagic M5e-Compact User Manual
Page 69
![background image](/manuals/640737/69/background.png)
Boot Loader Commands
Command Set
69
Boot Firmware (04h)
The Boot Firmware command tells the boot loader to run the current firmware image
stored in flash in the following sequence:
1.
The boot loader verifies the checksum of the application image before it is run.
2.
If the image is invalid, a fault code is returned to the host.
3.
If the application firmware is started successfully, it sends the response to the Boot
Firmware
command.
The response is identical to the response to a Get Version command, except that
the OpCode is 0x04 instead of 0x03.
Note
The maximum time required to boot the application firmware is 650ms.
There will be release to release variation in actual boot time but it will always
be less than the maximum.
Error Status Codes
FAULT_BL_INVALID_IMAGE_CRC – 200h
Set Baud Rate (06h)
The Set Baud Rate command has a default baud rate of 9600 bps. Since the code
method of specifying the baud rate is processor dependent, a new interface was created
to make the modules easily interchangeable.
The following table shows the hexadecimal equivalent for each baud rate:
Baud Rate (decimal)
Baud Rate (hex)
9600
0x00002580
19200
0x00004B00
38400
0x00009600
57600
0x0000E100
115200
0x0001C200
230400
0x00038400