The operation of the serial port under Linux (with tools and without tools)

A recent job is to use a board with a Linux system to communicate with another microcontroller through a serial port, so today I will summarize some methods of using the serial port in Linux.

Use related tools

There are tools with desktop, and there are command-line tools directly:

minicom

Minicom introduction

cutecom

Introduction to cutecom graphical serial port tool on Linux platform

picocom

Picocom tool installation and use

putty

putty detailed instructions

Reference link: Linux serial port debugging tools summary

Use Linux system built-in functions

linux serial port operation function

Serial port use related functions under Linux c

Reference link: Detailed explanation of serial communication under Linux (top) Detailed explanation of opening serial port and serial port initialization

Tell the detailed knowledge about the serial port in Linux

Detailed explanation of Linux serial port programming

First post what you have seen, and add the later code if there is any, if it involves confidentiality, forget it.

Have seen it, welcome one-key three-connection!

Guess you like

Origin blog.csdn.net/ice_masters/article/details/109297600