hsy75的个人空间 https://blog.eetop.cn/vivilife [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

利用Ymodem协议加快flash芯片的时间

已有 3533 次阅读| 2012-8-21 09:43 |个人分类:Imbeded Software

1   Ymodem is a simple file transfer protocol that supports basic error detection methods to ensure that information is not lost or corrupted during a transfer. Ymodem is based on Xmodem and is essentially the same except that Ymodem sends the file's name, size, and timestamp before actually transferring the file.

The SecureCRT Ymodem implementation supports both 128-byte and Ymodem-1K (1024-byte) packet sizes.

Unlike Xmodem, Ymodem supports multiple-file (“batch”) transfers.


2 利用SecureCRT 利用Ymodem协议 上传下载flash文件

2.1

To download a file from a remote machine, complete the following steps:

1. On the remote machine, issue the appropriate Ymodem command to instruct the Ymodem software to send the file that you want to download. The remote machine software should then prompt you to initiate the transfer.

2. To initiate the Ymodem download, open the SecureCRT Transfer menu and select Receive Ymodem. The file will be transferred and saved to the default download directory when you select the command.


2.2

To upload a file to a remote machine, complete the following steps:

1. On the remote machine, issue the appropriate Ymodem command to instruct the Ymodem software to receive the file that you want to upload. This will cause SecureCRT to open the Select Files to Send using Ymodem dialog (shown below). Note that Ymodem must be installed on the remote machine to transfer files with Ymodem.

Note: Another way to open this dialog is to open the Transfer menu and select Send Ymodem.

2. In the Select Files to Send using Ymodem dialog, select the file(s) that you want to upload to the remote machine and click on the Add button to add the file(s) to the Files to send list. You can also choose to send your file(s) in ASCII instead of binary by checking the Upload files as ASCII check box.

3. When you have finished adding all the files that you want to upload, click on the OK button.

Select Files to Send using Ymodem Dialog


2.3

The Terminal/X/Y/Zmodem category of the Session Options dialog allows you to configure your Xmodem, Ymodem, and Zmodem settings.

Directories group

Upload

Enter the path of a local directory that is to be used as the source folder when the Upload command is used. Click on the browser button to select the directory.

Download

Enter the path of a local directory that is to be used as the destination folder when the Download command is used. Click on the browser button to select the directory.

X/Ymodem send packet size group

This group allows you to select the size of the Xmodem and Ymodem packets you send. Your options are as follows:

128 bytes

1024 bytes (Xmodem-1k/Ymodem-1k)

Zmodem

Disable Zmodem

Check this option to turn off the ability to make Zmodem transfers.

 

 


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 1

    好友
  • 2

    获赞
  • 14

    评论
  • 3241

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-25 17:40 , Processed in 0.013821 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部