ARM Development Board embedded Linux system and host PC transfer files via serial port

Source: Internet
Author: User

This article is reproduced from http://useless20.blog.163.com/blog/static/237409982010227127576/

Embedded Linux system and host transfer files via serial port

I think if you want to download from the PC to the board embedded Linux system, many people will first think of TFTP SFTP and other network tools to download from the network port. But if the network can not use, only through the serial port to download what to do? This time there are two tools to help you: One is Zmrx, ZMTX, the other is LSZ, Lrz. Personally feel zmrx/zmtx not lsz/lrz stable, suggest or use the latter. Here's how to use Lsz/lrz.

First, compile the Lrzsz and download to the Development Board

From http://download.chinaunix.net/download/0007000/6293.shtml the next Lrzsz tar package, unzip and enter the./configure, then enter the SRC folder, Modified the makefile file in the SRC folder to be configured as the cross compiler for the phone, running make,ok! Get two executables Sz,rz (or lsz,lrz) and download them to the/bin directory of the Development Board Linux system.

Second, the situation 1:pc machine with Windows operating system

If the PC is using a Windows operating system, the serial communication tool can be used with the system's own HyperTerminal. Here's how to transfer files.

1, Development Board-->PC Machine

Enter SZ filename on the development Board.

On the PC, click on the HyperTerminal Menu "transfer", "Receive Files", select the location of the download and Zmodem and Crash Recovery protocol, click on Receive.

2. PC---Development Board

Go to the/tmp directory on the Development Board and enter RZ.

On the PC, click on the HyperTerminal Menu "transfer", "Send File", select the target file and Zmodem and Crash Recovery protocol, click Send.

ARM Development Board embedded Linux system and host PC transfer files via serial port

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.