Chinaunix首页 | 论坛 | 博客
  • 博客访问: 913014
  • 博文数量: 132
  • 博客积分: 9976
  • 博客等级: 中将
  • 技术积分: 1781
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-30 20:40
文章分类

全部博文(132)

文章存档

2013年(1)

2011年(1)

2010年(15)

2009年(77)

2008年(36)

2007年(2)

我的朋友

分类: C/C++

2009-06-29 13:44:57

kermit connect log
  -- 说明如何通过 kermit 连接到目标板

=====================================================================================
author: cjash
date  : 2009-06-29

(/home/cjash/Desktop/) C-Kermit>cd /tftpboot/
(/tftpboot/) C-Kermit>ls
total 126856
-rw-r--r-- 1 root root        0 2009-05-13 09:36 aa
-rwxr-xr-x 1 root root 83940830 2009-05-18 15:45 DE00A8C0.img
-rwxr-xr-x 1 root root   315203 2009-05-23 10:24 hello
-rwxr-xr-x 1 root root   120476 2009-06-29 10:35 memtest
-rw-r--r-- 1 root root 23420229 2009-05-13 09:36 openwrt-upgrade-package-0505.tar.bz2
-rw-r--r-- 1 root root  1933312 2009-05-21 18:33 rootfs.cramfs
-rwxr-xr-x 1 root root   336096 2009-06-24 15:27 u-boot.bin
-rw-r--r-- 1 root root 16687453 2009-05-13 09:39 uImage
-rwxr-xr-x 1 root root  2970883 2009-06-24 10:39 vmlinux.64.gz
(/tftpboot/) C-Kermit>connect
Sorry, you must SET LINE or SET HOST first
(/tftpboot/) C-Kermit>c
Sorry, you must SET LINE or SET HOST first
(/tftpboot/) C-Kermit>send memtest
Return to your local Kermit and give a RECEIVE command.

KERMIT READY TO SEND...
 SENT: (0 files)          G

*************************
SEND-class command failed.
 Packets sent: 2
 Retransmissions: 11
 Timeouts: 12
 Damaged packets: 0
 Fatal Kermit Protocol Error: Too many retries

HINTS... If the preceding error message does not explain the failure:
 . Adjust the timeout method (see HELP SET SEND).
 . Increase the retry limit (see HELP SET RETRY).
 . Try it again with SET STREAMING OFF.
 . Try it again with SET PARITY SPACE.
 . As a last resort, give a ROBUST command and try again.
Also:
 . Be sure the source file has read permission.
 . Be sure the target directory has write permission.
(Use SET HINTS OFF to suppress hints.)
*************************

(/tftpboot/) C-Kermit>run xmodem
bash: xmodem: command not found
(/tftpboot/) C-Kermit>help run

Syntax: !, @, RUN, PUSH, or SPAWN, optionally followed by a command.
  Gives the command to the local operating system's command processor, and
  displays the results on the screen.  If the command is omitted, enters the
  system's command line interpreter or shell; exit from it (the command for
  this is usually EXIT or QUIT or LOGOUT) to return to Kermit.

(/tftpboot/) C-Kermit>run
chjianash:/tftpboot # ls
aa            hello    openwrt-upgrade-package-0505.tar.bz2  u-boot.bin  vmlinux.64.gz
DE00A8C0.img  memtest  rootfs.cramfs                         uImage
chjianash:/tftpboot # exit
exit
(/tftpboot/) C-Kermit>run ls
aa          hello    openwrt-upgrade-package-0505.tar.bz2  u-boot.bin  vmlinux.64.gz
DE00A8C0.img  memtest  rootfs.cramfs                 uImage
(/tftpboot/) C-Kermit>c
Sorry, you must SET LINE or SET HOST first
(/tftpboot/) C-Kermit>set line
(/tftpboot/) C-Kermit>set LINE /dev/ttyS0
(/tftpboot/) C-Kermit>c
Connecting to /dev/ttyS0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
?Carrier required but not detected.
***********************************
 Hint: To CONNECT to a serial device that
 is not presenting the Carrier Detect signal,
 first tell C-Kermit to:

   SET CARRIER-WATCH OFF

***********************************

(/tftpboot/) C-Kermit>set carrier-watch off
(/tftpboot/) C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

Octeon ebt5800# ls
Unknown command 'ls' - try 'help'
Octeon ebt5800#
阅读(1673) | 评论(0) | 转发(0) |
0

上一篇:显示 -/-\|/-的程序

下一篇:kermit 使用

给主人留下些什么吧!~~