任务单 #33915

XMODEM-CRC Receive does not work

开放日期: 2014-06-05 16:56 最后更新: 2014-06-08 20:26

报告人:
属主:
(del#24082)
类型:
状态:
关闭
组件:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
1
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

XMODEM Checksum Receive works :)

XMODEM-CRC Receive does not work :(

Tera Term sends 'C' to start receive. Board sends valid XMODEM-CRC data packet, but Tera Term rejects / ignores it and sends another 'C'. See attached XMODEM.LOG.

I wanted to help fix the bug by building and debugging Tera Term from SVN using VisualStudio 2010, but building fails, sorry! I suspect that settings is not handled correctly somewhere in: xmodem.c line 250: BOOL XReadPacket(PFileVar fv, PXVar xv, PComVar cv)

Thanks in advance, Pieter

任务单历史 (3/5 Histories)

2014-06-05 16:56 Updated by: pieterc
  • New Ticket "XMODEM-CRC Receive does not work" created
2014-06-05 16:59 Updated by: pieterc
  • Details Updated
2014-06-08 00:31 Updated by: (del#24082)
  • 属主 Update from (无) to yutakapon
评论
> FF FF FF A9 00                                      .....

It seems that your sender is mistaken to calculate the checksum value.
I think that the correct value is not "A9 00" but "ED A9". So, this is
not the Tera Term bug.

Thanks.
2014-06-08 20:26 Updated by: pieterc
  • Ticket Close date is changed to 2014-06-08 20:26
  • 状态 Update from 开启 to 关闭
评论

I am so sorry for wasting your valuable time. You are right! My sender did not send the low byte of the CRC. I have fixed it and Tera Term works perfectly!

Thanks, Pieter

Attachment File List

编辑

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