Linux under the serial port tool minicom

Source: Internet
Author: User

System environment: Ubuntu 14.04 and Ubuntu 16.04

I was the need for the main two, to see the normal serial output, and the serial content of the real-time output to the file

The next work is mainly two: 1, installation 2, configuration

I believe you will be at least operate some of the full line, we are here with Apt-get installation (not the classmate please google a bit)

1. Installation

sudo apt-get install minicom

2. Configuration

(1) First execute the sudo minicom startup program at the command line

(2) After entering the main interface, press CTRL + A and then press Z

Enter the Configuration interface

I mainly use two here, the second on the right, configure Minicom ... o Configure serial port information

Fourth capture on/off on the left ... L Open the output file and configure the file directory.

First of all, configure the serial port printing information.

In this interface you want to enter which item, press the corresponding letter key after it.

Now we have ammonium o into the configuration interface

This column, which is mainly a after the corresponding to your COM port device settings are correct. It is generally/dev/ttys0. And then there's F under no

Save

to this first job view serial output has been done. Next is the output of the serial port output to the file at the same time.

The second job, output to a file.

In this interface, press L to enter

The output file here is relative to the directory of the software, you can change to the directory you want to store.

As the directory and file I set

OK to both of these jobs are okay. What your window output prints, in your file (I'm/home/tmp/output.log here), will also be stored in those printout files.

Linux under the serial port tool minicom

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.