
Chapter 5 — Firmware Download
54
ED40 Decode Board Integration Guide
WRITE_BLOCK – 0x16
Description
Writes a block of the new firmware to the imager flash memory.
Host Request
•
BLOCK_SIZE – number of bytes to be written to the flash memory
(maximum 256)
•
MSB – most significant byte
•
LSB – least significant byte
•
ADDRESS – points to bytes and must be compatible with flash memory size
Flash Driver Response
Host sends
After reception of the CMD_ACK byte from the imager, the host sends the block
using the following format:
Flash Driver Response
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
0x16
BLOCK_SIZE
ADDRESS
0x00
0x00
calculated
MSB
LSB
MSB
byte 2
byte 3
LSB
Status
Response
OK
CMD_ACK (0x32)
Not OK:
undefined byte (error, bad checksum or incorrect parameter)
8 bits
8 bits
8 bits
32 bits
BYTE_1
BYTE_2
…
BYTE_N
checksum
first byte of
block
second byte of
block
…
last byte of block
Status
Response
OK
CMD_ACK (0x32)
Not OK:
undefined byte (error, bad checksum or incorrect parameter)
Содержание ED40
Страница 1: ...Decode Board Used with EA11 EA20X EA21 and EA30 Imagers ED40 Integration Guide EA11 EA20X EA21 EA30 ...
Страница 4: ...iv ED40 Decode Board Integration Guide ...
Страница 22: ...Chapter 2 Mechanical Integration 10 ED40 Decode Board Integration Guide ...
Страница 32: ...Chapter 3 Electrical Integration 20 ED40 Decode Board Integration Guide ...
Страница 41: ...Chapter 4 ED40 Setup ED40 Decode Board Integration Guide 29 UPC A SW 4B 40 01 UPC E SW 4B 41 01 ...
Страница 48: ...Chapter 4 ED40 Setup 36 ED40 Decode Board Integration Guide UPC A ...
Страница 50: ...Chapter 4 ED40 Setup 38 ED40 Decode Board Integration Guide ...
Страница 84: ...Appendix A EA11 Imager 72 ED40 Decode Board Integration Guide Scanning Current EA11 ED40 Scanning Current USB ...
Страница 92: ...Appendix A EA11 Imager 80 ED40 Decode Board Integration Guide ...
Страница 104: ...Appendix B EA20X Imager 92 ED40 Decode Board Integration Guide Scanning Current EA20X ED40 Scanning Current USB ...
Страница 122: ...Appendix C EA21 Imager 110 ED40 Decode Board Integration Guide Scanning Current EA21 ED40 Scanning Current USB ...
Страница 130: ...Appendix C EA21 Imager 118 ED40 Decode Board Integration Guide ...
Страница 142: ...Appendix D EA30 Imager 130 ED40 Decode Board Integration Guide Scanning Current EA30 ED40 Scanning Current USB ...
Страница 153: ...Appendix D EA30 Imager ED40 Decode Board Integration Guide 141 ...
Страница 154: ......