
50 Command Summary
send a 128 byte block of data followed by that blocks high and low CRC16 bytes. The display then
performs a CRC check on the data receive and ACKs if it matches that which was sent. Transfer
continues with a block count and continues in this way until the end of file is reached. Files may be
padded with 255 values to reach an even multiple of 128 bytes in size, but the download command will
always report true size. Once the end of the upload file is reached, the host should transmit a single end
of transmission byte. If the end of file is expected, the display will ACK one last time.
Table 42: XModem File Upload Protocol
Inverted Block Count (255-Count)
ACK (NAK if counts don’t match)
ACK (NAK if EOT is not expected)
Table 43: XModem File Download Protocol
Size LSB (NAK if not found)
Inverted Block Count (255-Count)
ACK (NAK if counts don’t match)
ACK (NAK if EOT is not expected)
Table 44: XModem Message Bytes
End completed upload transfer
Transfer successful, upload continues
Transfer failed, upload aborted
Confirmation that file will fit
*Note: CRC bytes are calculated using the XMODEM CRC-CCITT algorithm available at:
http://www.matrixorbital.ca/appnotes/XModem/ymodem.txt.
Kommentare zu diesen Handbüchern