待辦事項 #19050

Xmodem send does not work

啟用日期: 2009-10-06 06:44 最後更新: 2023-04-21 09:41

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
關閉
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
Works For Me
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

Xmodem send fails with TeraTerm 4.52 and 4.63. A serial protocol analyzer shows that the first packet (01) is sent twice by TeraTerm before any ACK/NAK is received. Then the receiving device sends an ACK for the first data packet (01) received, followed by a NAK for the second data packet received (another packet 01). Since the second packet is supposed to be number 02, but is packet 01 instead, the receiving device aborts the transfer due to a packet received out of sequence. Not all devices capable of receiving XMODEM protocol can recover from a packet out of sequence error. TeraTerm should send the first packet (01), then wait for an ACK or NAK before sending the next packet. Perhaps something is not initialized properly regarding a timer used to generate a timeout error in the case that no ACK or NAK is received? I am running Windows XP and using a USB/serial adapter cable at 38400 baud. Since the connection could be going over an external modem, an ACK/NAK timeout of one second or more would not be unreasonable.

Ticket History (3/5 Histories)

2009-10-06 06:44 Updated by: None
  • New Ticket "Xmodem send does not work" created
2009-10-06 22:25 Updated by: (del#1144)
  • 優先權 Update from 9 - 最高 to 5 - 中
  • 嚴重程度 Update from 9 - 最高 to 5 - 中
2010-03-29 01:01 Updated by: (del#24082)
  • 處理結果 Update from to Works For Me
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2010-03-29 01:01
評語

I have checked the latest source code of XMODEM protocol, however I could not find a bug you mentioned. Every time Tera Term receives a ACK/NAK, the data packet sends.

2010-06-17 17:40 Updated by: None
評語

I have the same problem with Tera Term 2.3. The first packet is sends twice without waiting answer. If the file is empty Tera Term sends EOT and then another EOT with full data packet, where data is from previous file being transmitted.

2023-04-21 09:41 Updated by: None
評語

I have found out the problem. It is not the problem with Tere Term. I think you send two NAK before you actually click at the File->tranfer->xmodem->send, and as a result, when xmodem start to work, it send two first packet. You should be sure to start xmodem before you send more than two NAK.

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入