Command Summary
51
XModem Transfer
Protocol
In addition to its original simple upload format, Matrix Orbital has added an XModem based protocol.
This facilitates much faster download speeds by increasing the packet size from 1 byte to 128 bytes and
using only a two byte CRC for error checking, greatly increasing throughput. To begin the upload, a
series of command bytes are sent, a list of valid file type bytes is show in the File Types
table. Once the
command bytes are sent, the true size of the file is sent in four bytes, least significant byte first. At this
point the display will respond
with a C if the file fits or a NAK otherwise. Please note that these values
are different than those of the original protocol as seen in the XModem Message Bytes
table. If a NAK is
seen at any point by the host, the upload is to be aborted in the same fashion as the regular protocol. If
the file will fit, the start of header byte will be sent by the host, followed by a block count, in regular and
inverted format, representing the number of 128 byte blocks remaining to be sent. The display will then
check to make sure the block count value matches its own, if it doesn’t it will NAK. The host can then
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
Host
Display
Comments
254
Command Prefix
220
XModem Upload Command
133
Command Byte One
6
Command Byte Two
48
Command Byte Three
1
File ID LSB
0
File ID MSB
1
File Type
0
Size LSB
0
Size
1
Size
0
Size MSB
67
C (If file fits)
1
Start of Header
128
Block Count
127
Inverted Block Count (255-Count)
<128 B>
128 Byte Data Block
30
*CRC MSB
71
*CRC LSB
6
ACK (NAK if counts don’t match)
4
End of Transmission
6
ACK (NAK if EOT is not expected)
Table 43: XModem File Download Protocol
Host
Display
Comments
254
Command Prefix
221
XModem Download Command
133
Command Byte One
6
Command Byte Two
48
Command Byte Three
1
File ID LSB
0
File ID MSB
1
File Type
0
Size LSB (NAK if not found)
0
Size
1
Size
0
Size MSB
67
C
1
Start of Header
128
Block Count
127
Inverted Block Count (255-Count)
<128 B>
128 Byte Data Block
30
*CRC MSB
71
*CRC LSB
6
ACK (NAK if counts don’t match)
4
End of Transmission
6
ACK (NAK if EOT is not expected)
相关PDF资料
GM2BB50BM0C LED WHITE 5000K 150MA 0.5W
GM5YJ01210A LED ORANGE CLEAR 6050 SMD
GU128X128D-3900B VACUUM FLUORESCENT DISPLAY
GU144X16D-7053B VACUUM FLUORESCENT DISPLAY
GU160X32-800B MODULE VF GRAPHIC DISPLAY 160X32
GU160X80E-7900B VACUUM FLUORESCENT DISPLAY
GU256X128C-3900 MODULE VF GRAPHIC DISPLY 256X128
GU256X128D-3900B MODULE VF GRAPHIC DISPLY 256X128
相关代理商/技术参数
GLT240128-GW 功能描述:LCD 图形显示模块和配件 240x128 w/ Touch Blue w/Black Text RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-USB 功能描述:LCD 图形显示模块和配件 Graphic Touch Disp USB, Yellow/Green RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-USB-FGW 功能描述:LCD 图形显示模块和配件 Graphic Touch Disp USB, White/Grey RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-USB-WB 功能描述:LCD 图形显示模块和配件 Graphic Touch Disp USB, Blue/White RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-VPT 功能描述:LCD 图形显示模块和配件 240x128 Blk Text T/S Y/G B/G Volt Reg RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-WB 功能描述:LCD 图形显示模块和配件 240x128 w/ Touch Blue w/White Text RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-WB-V 功能描述:LCD 图形显示模块和配件 Blue Background White Txt Wide Volts RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLT240128-WB-VPT 功能描述:LCD 图形显示模块和配件 240x128 Wht Txt Blu B/G Volt Reg RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk