[Embedded Linux] (Step 3): Install the serial port terminal (Ubuntu installs the minicom serial port terminal)

Source: Internet
Author: User

1. Preface

I am using USB to serial port, and the chip is pl2303. It seems that Ubuntu has a USB driver of pl2303, which can be used directly. I have never tried other USB to serial ports.

2. Install minicom

Enter sudo apt-Get install minicom in the terminal

Download and install minicom as prompted. After downloading and installing minicom, run the command to start minicom. Enter sudo minicom in the terminal to start minicom.

3. Set minicom

Close the opened minicom and enter sudo minicom-s in the terminal to configure the minicom, which is mainly to configure the serial port,

Set the serial port number in the serial port setup option

I have ttyusb0, which is my serial port device. You can set it according to your actual situation.

View serial devices

Open another terminal and enter dmesg | grep TTYs * in the terminal *

After the settings are complete, press enter to save and save the settings as default.

You can modify other settings according to your actual situation. To debug the development version of Linux, you only need to modify the serial port number.

4. Use

Enter sudo minicom in the terminal to open the serial assistant.

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.