Chapter 5 — Firmware Download
ED40 Decode Board Integration Guide 47
Firmware Download Command Set
This section provides the firmware download commands used by the flash driver
to download the new firmware.
Firmware Download Command
The different functions implemented in the flash memory download driver and
their associated commands are explained below.
Firmware Download Frame Format
Command Op code Description
PROTOCOL_MODE 0x10 Activates the ACK software protocol or the no
protocol mode.
DOWNLOAD_INIT 0x11 Checks that the flash driver is able to read from,
erase or write to the flash memory of the imager.
REMOVE_DRIVER 0x12 Removes the driver from the imager.
FIRMWARE_VERSION 0x13 Requests the version of the firmware present in the
flash memory.
ERASE_ALL 0x14 Erases the flash memory of the imager.
READ_BLOCK 0x15 Reads a block in the flash memory of the imager.
WRITE_BLOCK 0x16 Writes a block in the flash memory of the imager.
WRITE_SAME_BYTE 0x17 Writes the same byte in a block of the flash memory
of the imager.
Frame format:
8 bits
param 1
0x00
command checksum
8 bits
8 bits 8 bits
8 bits
8 bits
8 bits
8 bits 8 bits
8 bits
32 bits
param 2 param 8
param 7
param 6param 5
param 4
param 3
always zero