Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/doc/en/html/usage/tips/xmodem.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10713 - (show annotations) (download) (as text)
Thu May 18 13:21:48 2023 UTC (12 months ago) by zmatsuo
File MIME type: text/html
File size: 1790 byte(s)
xmodemのバイナリモードの説明を追記

- テキスト(非バイナリ)時、次のことが行われる
  - 改行コードの変換
  - パディングの削除
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <HTML>
4 <HEAD>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <TITLE>Tips on XMODEM</TITLE>
7 <META http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </HEAD>
10 <BODY>
11
12 <h1>Tips on XMODEM</h1>
13
14 <h2>8bit clean</h2>
15
16 <p>
17 The XMODEM file transfer protocol requires the communication lines to be transparent to all 8 bit characters, from $00 to $FF.
18 </p>
19
20 <h3>For serial port:</h3>
21
22 <div class="indent1">
23 <p>
24 Set the appropriate parameters in the <A HREF="../../menu/setup-serialport.html">[Setup] Serial port</A> dialog box. Data must be 8 bit, and Flow control must be hard (CTS/RTS) or none.
25 </p>
26 </div>
27
28 <h3>For telnet:</h3>
29
30 <div class="indent1">
31 <p>
32 If file transfers fail, try connecting to the host with the binary option. To connect with the binary option:
33 </p>
34
35 <ul class="no-marker">
36 <li class="description">Specify the /B option on the <A HREF="../../commandline/teraterm.html">command line</A>, or</li>
37 <li class="description">Edit the setup file.<br>
38 <a href="../../setup/teraterm-com.html#telbin">Telnet binary option</a></li>
39 </ul>
40 </div>
41
42
43 <h2 id="padding">padding at end of file</h2>
44
45 <p>
46 The XMODEM file transfer protocol handles files in blocks of 128 or
47 1024 bytes, and file lengths cannot be exchanged.
48
49 The received data length is always a multiple of 128 or 1024 bytes.
50 </p>
51
52 <p>
53 Sender puts padding in the last block that is longer than the length
54 of the transmitted file.
55
56 The padding is $1A according to the XMODEM specification.
57 But it may be some other value depending on the XMODEM sending program.
58 </p>
59
60 </BODY>
61 </HTML>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26