Serial port using the Linux system tools

Because the work needs to listen serial information under the Linux system, so I learned a bit

1. Installation minicom: apt-get install minicomHere Insert Picture Description

2. Open the serial port tool and save it as a file named zkw the log: sudo minicom -C zkw.log

You can also use [sudo minicom] commands directly open the serial port toolHere Insert Picture Description

3. Enter minicom interface, you can monitor the serial port information

Here Insert Picture Description

4. Serial how to use the tool: CTRL + AZ entry command menu interface (first pressing CTRL and A keys, and then immediately press the Z key case insensitive)

Here Insert Picture Description

5. Run command menu commands command [CTRL + AZ CTRL + A] or [Command]

I work to name a few of the more commonly used commands:

1.Timestamp toggle: timestamping [CTRL + AN]
2.Quit with no reset: Exit [CTRL + AQ]
3.local Echo on / off: Enter the serial command [CTRL + AE]

6. Check the serial information: tail -f zkw.log (see the tail) / tail -10 zkw.log (see reciprocal line 10)Here Insert Picture Description

Well, to share these it ~

Published 11 original articles · won praise 0 · Views 263

Guess you like

Origin blog.csdn.net/zkw_1998/article/details/102584942