User's Manual

21 | P a g e www.eccel.co.uk
5.2 Firmware commands
The reader supports firmware upgrades. To perform a firmware upgrade, the user must execute the following
commands.
5.2.1 Jump to bootloader (0xF1)
This command should be executed as the first frame in a firmware upgrade sequence. When the device
receives this command, it reboots and stays in the bootloader application. After this step, the device will not
be able to boot the main application until it is uploaded again to the device. The host application can execute
the next command after 500ms. It is good practise to send the GET_VERSION command after this one to verify
that the device is already in bootloader mode. The GET_VERSION string frame for the bootloader application
contains the standard version string with an extra string “BOOTLOADER”.
Command description
Argument
Size
Value
Description
Command ID
1
0xF1
JUMP_TO_BOOTLOADER
Response
description
ACK
1
0x00
Command ID
1
0xF1
JUMP_TO_BOOTLOADER
Example:
HOST=>READER: 0xF1 – JUMP_TO_BOOTLOADER
READER=>HOST: 0x00 – ACK byte
0xF1 – related command code JUMP_TO_BOOTLOADER
5.2.2 Firmware start frame (0xF2)
This command is only supported when the device is running the bootloader application. This command must
be executed to clear device flash before writing the new application firmware. The device responds with an
ACK frame when the command is finished, and usually it takes about 3seconds.
Co
mmand description
Argument
Size
Value
Description
Command ID
1
0xF2
FIRMWARE_START
Response
description
ACK
1
0x00
Command ID
1
0xF2
FIRMWARE_START
Example:
HOST=>READER: 0xF2 – FIRMWARE_START
READER=>HOST: 0x00 – ACK byte
0xF2 – related command code FIRMWARE_START