Chapter 5 — Firmware Download
ED40 Decode Board Integration Guide 51
FIRMWARE_VERSION – 0x13
Description
Used to find out the product ID and the current firmware version in the imager.
Host Request
Flash Driver Response
Flash driver sends
After execution of the command, the flash driver sends:
• 4 bytes – reserved
• 4 bytes – product ID
• FIRMWARE_VERSION – ASCII string terminated by "\0" (maximum 50
characters)
8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 32 bits
– cmd param 1 param 2 param 3 param 4 param 5 param 6 param 7 param 8 checksum
0x00 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 calculated
Status Response
OK CMD_ACK (0x32)
Not OK: undefined byte (error, bad checksum or incorrect parameter)
Note: The first 4 reserved bytes and the product ID (4 bytes) will always be the
same. Only the information the follows the product ID field in the firmware
version field will vary in content and length.
Example
8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits 8 bits
byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 S_0 S_1 S_2 S_3 S_4 S_5 S_6 S_7
reserved product ID "V" "E" "R" "S" "I" "O" "N" "\0"