|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
OS : CentOS4
使用minicom的Xmodem协议给单板传送文件
以下是相关打印
============================================================
Welcome to minicom 2.00.0
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Feb 21 2005, 19:32:30.
#####传送upload打印,看输出似乎是传送完毕
Press CTR┌───────────[xmodem upload - Press CTRL-C to quit]────────────┐
│Retry 0: NAK on sector │
CCCC │Retry 0: NAK on sector │
│Retry 0: Retry Count Exceeded │
│ │
│Transfer incomplete │
│ │
│ READY: press any key to continue... │
└─────────────────────────────────────────────────────────────┘
#####传送u-boot.bin打印,再等待对方接受,以后会打印超时信息
Press CTR┌───────────[xmodem upload - Press CTRL-C to quit]────────────┐
│Sending u-boot.bin, 744 blocks: Give your local XMODEM receiv│
CCCC │e command now. │
│ │
│ │
│ │
│ │
│ │
==============================================================
#####minicom的日志,显示两个文件都没有传送成功
20071023 13:32:27 Hangup (0:00:00)
20071023 13:35:30 /usr/bin/sx -vv loader.bin
20071023 13:35:30 Sending loader.bin, 55 blocks:
20071023 13:36:37 Hangup (0:00:00)
20071023 14:42:51 Hangup (0:00:00)
20071023 14:43:17 /usr/bin/sx -vv loader.bin
20071023 14:43:17 Sending loader.bin, 55 blocks:
20071023 14:44:06 /usr/bin/sx -vv u-boot.bin
20071023 14:44:06 Sending u-boot.bin, 744 blocks: Give your local XMODEM receive command now.
20071023 14:57:53 Hangup (0:00:00)
20071023 14:58:12 /usr/bin/sx -vv loader.bin
20071023 14:58:12 Sending loader.bin, 55 blocks: Give your local XMODEM receive command now.
20071023 14:58:52 /usr/bin/sx -vv loader.bin
20071023 14:58:52 Sending loader.bin, 55 blocks: Give your local XMODEM receive command now.
20071023 15:00:13 /usr/bin/sx -vv u-boot.bin
20071023 15:00:13 Sending u-boot.bin, 744 blocks: Give your local XMODEM receive command now.
==================================================================================
难道是MINICOM 的设置问题吗,至少在程序正常运行下(115200 8N1),MINICOM的打印都很正常,在WIN xp下用超级终端可以连续传送,所以机器和单板是没有问题的
搜索以前的相关问题,没有明确解答。。。。。。
[ 本帖最后由 k_ewell 于 2007-10-24 13:07 编辑 ] |
|