Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


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

- テキスト(非バイナリ)時、次のことが行われる
  - 改行コードの変換
  - パディングの削除
1 maya 3227 <!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 zmatsuo 10702 <h2>8bit clean</h2>
15    
16 maya 3227 <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 zmatsuo 10702 <h3>For serial port:</h3>
21 maya 3227
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 zmatsuo 10702 <h3>For telnet:</h3>
29 maya 3227
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 doda 6735 <a href="../../setup/teraterm-com.html#telbin">Telnet binary option</a></li>
39 maya 3227 </ul>
40     </div>
41    
42 zmatsuo 10702
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 zmatsuo 10713 The received data length is always a multiple of 128 or 1024 bytes.
50 zmatsuo 10702 </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 zmatsuo 10713 The padding is $1A according to the XMODEM specification.
57 zmatsuo 10702 But it may be some other value depending on the XMODEM sending program.
58     </p>
59    
60 maya 3227 </BODY>
61     </HTML>

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