Boot loader commands – ThingMagic M5e-Compact User Manual

Page 64

Advertising
background image

Boot Loader Commands

64

Command Set

Here is an example of a Reply message with Data Field Length not zero. This message
happens to be a successful reply to Read Tag Single command.

Boot Loader Commands

The BootLoader is automatically started upon power up, and allows access to the on-
board flash memory along with other commands. The program exits only when the Boot
Firmware

command is received. Once that occurs, the firmware image starts executing

and sends back a reply to the Boot Firmware

command. The BootLoader can also be

started using command 0x09, Start BootLoader.

With the M5e/M5e-Compact, ThingMagic has created a hardware-neutral version of the
bootloader. The reason for this change was that the M4e modules had an interface that
was not easily portable to future modules. The M5e and M5e-Compact use an abstract
version of these commands to provide easy inter operability between modules. The
affected commands are:

0x01 – Write flash by address. Will be deprecated in future releases, replaced by

0x0D.

0x02 – Read flash memory. Will be deprecated to no longer accept 6 arguments.

0x06 – Set baud rate. Will be deprecated to only accept u32 baud rates.

0x0A – Modify flash. Will be deprecated in future releases, replaced by 0x0F.

0x0D – Write flash by sector.

0x0E – Get sector size.

0x0F – Modify flash by sector.

It is recommended to use the new interface wherever possible, since future products will
no longer support the old ones as noted above. The M5e/M5e-Compact support most of
the old interfaces (to ease transition for existing users) but support is not 100%
guaranteed.

FF

0A

21

00

00

C8

05

07

A8

00

84

C4

FF

9E

E0

F7

25

SOH

Length

OpCode

Status

Tag ID

Tag CRC

CRC

Advertising
This manual is related to the following products: