beautypg.com

Matrix Orbital GLK12232-25-SM User Manual

Page 51

background image

Host

Display

Comments

0xFE

Command Prefix

0xDB

XModem Upload Command

0x85

Command byte 1

0x06

Command byte 2

0x30

Command byte 3

0x00

Size Low Byte

0x40

Size High Byte

0x00

0

0x00

0

0x06

ACK (NAK if file is too big)

0x01

Start of Header

0x80

Block Count

0x7F

255 - Block Count

0x06

ACK (NAK if counts don’t match)

<128 bytes>

Data Block

0x1E

CRC High Byte

0x47

CRC Low Byte

0x06

ACK (NAK if CRCs don’t match)

0x7F

Block Count

0x80

255 - Block Count

0x06

ACK (NAKif counts don’t match)

<128 bytes>

Data Block

0x5A

CRC High Byte

0x0D

CRC Low Byte

0x06

ACK (NAKif CRCs don’t match)

...

...

...

0x04

End of Transmission

0x06

ACK (NAK if EOT is not expected)

Table 53: XModem Upload Protocol

Matrix Orbital

GLK12232-25-SM

46