一、首先要在linux机器需安装minicom软件包
如没有,请至https://pkgs.org/download/minicom下载,找到对应系统的centos版本。
如下,找到网址对应的系统
二、安装好minicom软件包后进行配置
执行:
minicom -s
弹出菜单:
x Filenames and paths x
x File transfer protocols x
x Serial port setup x
x Modem and dialing x
x Screen and keyboard x
x Save setup as dfl x
x Save setup as… x
x Exit x
x Exit from Minicom
选择:serial port setup,串口设置会进入二级菜单,这个菜单如下:
A - Serial Device : /dev/ttyS0 串口的编号,第一个为“0”
B - Lockfile Location : /var/lock lockfile路径
C - Callin Program :
D - Callout Program :
E - Bps/Par/Bits : 38400 8N1 波特率,默认38400
F - Hardware Flow