登録: 2011-01-31 22:31
最終更新: 2012-05-14 01:09
Sending with Y-Modem fails with u-boot (intermittent)
チケットの履歴 - 17 件中 3 件表示 [古い履歴も表示する]
2012-05-23 01:19 更新者: mightybatgar
2011-01-31 22:31 更新者: damorin
2011-03-17 22:47 更新者: yutakapon
Would you please retrieve the YMODEM log to investigate your problem? Please turn on the YmodemLog entry in the teraterm.ini file. So, Tera Term will log the YMODEM data to the YMODEM.LOG file.
2011-03-18 23:08 更新者: damorin
2011-03-18 23:10 更新者: damorin
2011-03-20 02:01 更新者: yutakapon
See attached file.
The download speed was 115200 bits/sec, 8n1.
2011-03-20 12:41 更新者: maya
Thank you for your attached file. I have checked the file. It seems that the u-boot does not send the ACK(06h) to the Tera Term. First, Tera Term received the 'C'(43h) and sent the first block. Next, Tera Term received not ACK but 'C' character.
2011-03-21 18:23 更新者: yutakapon
I checked the source code of u-boot.
It seems to be able to output debug string.
2011-03-21 21:53 更新者: damorin
I found a bug regarding sending block1 is timing, and then I have fixed the bug in the following archive:
Would you please evaluate the archive?
TO: Maya-san, u-bootのソースコードを参照し、それがヒントとなったようです。どうもありがとうございます。 これで対u-bootで貫通してくれればよいのですが。
2011-03-21 22:57 更新者: yutakapon
I did 15 YMODEM "send" and no problem at all.
Looking like the bug is fixed.
2012-05-10 02:20 更新者: None
Thank you for your quick response. I close this ticket.
2012-05-10 03:54 更新者: damorin
This bug is still occurring in latest trunk of TeraTerm on Windows XP SP3, but not on Windows 7 / Vista.
Is there any way to make the snapshot available for re-download so the code fix can be reviewed and redone?
2012-05-14 01:09 更新者: yutakapon
Reply To None
a few technicians complained about that but it's difficult to reproduce with the latest release.
I will give it a try with the latest snapshot.
If Tera Term has your problem regarding the YMODEM transfering, I will fix the problem. Plase send the YMODEM log if your problem reproduce.
2012-05-23 01:12 更新者: mightybatgar
2012-05-23 01:13 更新者: mightybatgar
I just added 2 attached YMODEM logs that show the failed WinXP and succeeded Win7 YMODEM transfer with uboot.
Unfortunately, these logs aren't conclusive and look clean.
When we pull logs from the uboot device, we find an extra null character at the end of the 1024 packet at hex 0x400 in the packet.
This doesn't occur with 128 byte transfers. It doesn't occur with 1K YMODEM transfers on Windows 7 using TeraTerm.
Is there something in the SetupComm or other Windows API calls to initialize the COM port which causes a null pad, then eventually leads to a checksum failure?
I will attach a screen shot of our Win7 / XP remote logs as well.
Thanks for any help, --MightyBatgar
2012-05-23 01:20 更新者: mightybatgar
2012-06-06 03:48 更新者: None
It turns out that there was an XP hot fix that started to insert zero length packets into the USB stream if the bytes being transferred was an even multiple of 64 for the usbser.sys driver. http://support.microsoft.com/kb/943198
The default is to NOT insert zero length packets into the USB stream for XP and I think every other Windows OS (including 7 and Vista).
To fix, all I had to do was change the max packet size that TeraTerm sends from 1024 to 1023.
追記/更新 #24286 (Sending with Y-Modem fails with u-boot (intermittent))