Configuration and usage of File Transfer via minicom

Source: Internet
Author: User

Write down the problems and solutions I encountered when using the serial port to transfer files to the Development Board:

Software and hardware environment used:

Virtual Machine: VMware Workstation 8.0.1

Linux: fedora 9

Development Board: mini6410

 

The following uses the serial port terminal minicom to transfer files to the Development Board:

1. problems that cannot be identified by the USB Serial Port:

My notebook does not have RS232 interface, so I had to use USB to serial port, and then connect to the Development Board through a cross serial line Supporting the Development Board. However, when the VM is started, the host machine cannot connect to the USB device, for example:

In fact, the following line tells you the cause of the problem-the VMware USB arbitration service is not started. Start the Service as follows:

"My Computer"-> "management"-> "services and applications"-> "services", find the VMware USB Arbitration Service and start it manually.

For example:

 

2. What is minicom?

The mini-com function in Linux is similar to the Super Terminal function in Windows. It can control external hardware devices through serial ports and is suitable for managing embedded devices in Linux Through super terminals. If the connection is successful, I can see the files on the Development Board under minicom, or directly operate on the Development Board file under minicom, which is equivalent to the same operation on the Development Board. That is to say, minicom is a terminal of the Development Board. For example, if the connection is successful, you can see the Development Board file:

In this interface, you can use commands like on a PC, but using these commands is equivalent to operating on the Development Board.

Now let's see how to connect the host machine (PC) to the Development Board through minicom (assuming that minicom has been successfully installed) and how to transfer files.

 

3. Configure minicom:

[Root @ localhost ~] # Minicom-s [enter]

Configure minicom:

Press the corresponding letter to enter the corresponding settings, you need to set two items, [a] serial device selection, [e] serial port baud rate and data frame format.

Press ESC to return. Remember to save it! Press save setup as DFL ".

 

4. operation instructions on the minicom command:

[Root @ localhost ~] # Minicom [enter]

Enter the minicom interface:

Commands under minicom can be viewed by pressing CTRL + A and then z. The following is a command description. You can use "Ctrl + A <key>" under minicom to enter the interface of the corresponding function. Press ESC to return to the main interface.

Common Commands include:

Z: Help. It has been used above.

O (CONfigure): the configuration of minicom is very powerful.

S (SEnd files): Send files

R (REceive files): receives files

X (EXIt): Exit minicom

 

5. transfer files

This section describes how to upload files from a PC to the Development Board.

After entering the minicom terminal, press Ctrl + A, s to enter the settings of the Transfer file.

The first is the file transfer protocol. We use the zmodem protocol.

Then select File for transfer,

Of course, you can also transfer files from the Development Board to the PC. The related settings are similar.

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.