Ticket #22342

Open Date: 2010-07-02 12:57

Last Update: 2011-08-28 21:26

XMODEM send problem

Reporter:mayaOwner:(None)
Priority:5 - MediumMileStone:(None)
Type:BugsSeverity:5 - Medium
Component:Tera TermStatus:Open
ResolutionNone

Details

Open Discussion [#51695]

1.I use Tera Term as a sender with XMODEM. 2.I send a xx.bin file for upload my program. remote side is my developed board, I receive this file in my bootloader 3.I use Checksum 128bytes packet , add head and checksum is 132bytes 4.sorry about this question, I donot got is, what is Binary flag, I donot got relevent information in the protocol. I don't know how to add the the attachment. please leave your mail address as I can send you the log .

Attachment File

Attachment File List
data.rar (6KB)
submitted by ldy2534 at 2010-07-02 13:10 [File ID: 4376]
File Description: include NG file, OK file, and a file that the Tera Term send .
XMODEM.LOG (34KB)
submitted by ldy2534 at 2010-07-02 17:04 [File ID: 4377]
File Description: log
data.JPG (199KB)
submitted by ldy2534 at 2010-07-02 17:24 [File ID: 4378]
Add New attachment
Add attachment filesPlease login to add new attachment

Ticket History - 3/14 Histories [Show all old Histories]

2010-07-02 12:57 Updated by: maya

  • New Ticket "XMODEM send problem" created

2010-07-02 13:10 Updated by: ldy2534

  • File data.rar (File ID: 4376) is attached

2010-07-02 13:13 Updated by: ldy2534

Comment

submitted by ldy2534 at 2010-07-02 12:10 ID: 4376 description all_NG.bin : recode the data Tera Term send and ACK I response, NG version all_OK.bin : same environment I send data use secureCRT, OK recv_NG.bin: recode the data that Tera Term sended.

2010-07-02 13:29 Updated by: maya

Comment

Could you please attach log files too? To enable log, XmodemLog=on in teraterm.ini.

2010-07-02 14:44 Updated by: ldy2534

Comment

sorry about bother you , I got information from your log, I'm sure that you are right. I'm wrong, but I still not find the reason.

2010-07-02 15:10 Updated by: maya

Comment

How the *.bin files are recorded?

If you set XmodemLog=on and send a file with XMODEM, 'xmodem.log' is saved in teraterm directory. Please let us see the xmodem.log.

2010-07-02 15:38 Updated by: ldy2534

Comment

Reply To maya

How the *.bin files are recorded? If you set XmodemLog=on and send a file with XMODEM, 'xmodem.log' is saved in teraterm directory. Please let us see the xmodem.log.

I have set XmodemLog=on , and I got the xmodem.log. and I analyse the xmodem.log, the result the Tera Term is right, There must have some error happen to my program . Thank you , please close this problem.

2010-07-02 16:20 Updated by: maya

  • Ticket Close date is changed to 2010-07-02 16:20
  • Status Update from Open to Closed

Comment

I got it. Thanks.

2010-07-02 17:04 Updated by: ldy2534

  • File XMODEM.LOG (File ID: 4377) is attached

2010-07-02 17:17 Updated by: ldy2534

Comment

hi. I still have some confuse. 1. At first I will send NAK to Tera Term 2. I chose the file I want to send , but it will take some time, you know I wll resend the NAK after 3second timeout, you will see in the log I send three NAK to you . there are two NAK after you send the first packet, but I believe the two NAK is not the packet's response. is't it.

I think perhap you can't receive the NAK when I chose the target file which I want to send.Is there something wrong.

2010-07-02 17:24 Updated by: ldy2534

  • File data.JPG (File ID: 4378) is attached

2010-07-04 12:57 Updated by: maya

  • Status Update from Closed to Open

2011-01-18 06:36 Updated by: None

Comment

Hello,

recently I also noticed some problems with X-Modem/CRC, when I tried to download a firmware update file to an embedded device. With Hyperterminal this problem did not occur. So I analyzed the problem, and I assume it has to do with the time needed for processing the data in the embedded device and the time out of Teraterm, until the packet is resent again! Let's make it clear by an example. Teraterm sends the first packet, the embedded device controller has to store this data in its flash memory (this time varies from device to device and may take some 1/100 seconds ). After this the controller sends an ACK to Teraterm. If the ACK does not appear within a certain time, teraterm resends the packet. When the controller has finished the storage of the received data, it listens again on the serial line. So the controller will not hear the correct start of the package and not-acknowledge this packet with the same ID.

Is there a way to tune the time-out before Teraterm resends the package?

michaeL

2011-08-28 21:26 Updated by: yutakapon

Comment

下記フォーラムでパッチが上がっており、本件の修正につながる可能性あり。 4.72 ターゲットで取り込む。

why the first xmodem packet been always send out twice? http://logmett.com/forum/viewtopic.php?f=2&t=354


Add Comment/Update #22342 (XMODEM send problem)

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