Ubuntu under the Serial Debugging tool minicom installation and configuration

Source: Internet
Author: User

    • Check if the system supports USB to serial port:
Lsmod grep usbserial

If there is usbserial, the system supports USB to serial port.

    • Identify serial devices:

plug in the USB to serial port, enter the command in the terminal:

 grep ttyUSB0  

If the connection success message appears, the Ubuntu system has identified the device.
Note: Ubuntu in a virtual machine environment is not automatically recognized by default and needs to be clicked in the lower right corner of the virtual machine window:

    • Install minicom:
sudo Install minicom
    • Configuration minicom:
Minicom-s

 

Enter the "Serial Port Setup" option to set the serial port parameters:

in the actual application will not frequently change these parameters, you can save it as the default parameters, select "Save Setupas DFL" and enter:Next Select "Exit" and enter;Run again:
Minicom
after initialization is complete, the minicom will connect to the serial port and the interface to the serial port as shown:

    • Exit Minicom:  
Press "CTRL + a" and press "Z" to enter the Minicom help screen, enter "X" or "Q" to exit minicom.  

Ubuntu under the Serial Debugging tool minicom installation and configuration

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.