安装 minicom

1. sudo apt-get install minicom
2. ll /dev
    查看连接的是哪个端口,如果用的是小板子,则查看板子上的针脚
3. sudo minicom
    先按下Ctrl + a, 放开, 再按o, 出现配置菜单.
    Serial port setup, 此时所示图标在“Change which setting”中,键入“A”,此时光标移到第A项对应处

具体的配置信息如下所示:
Serial port setup [Enter]
+-------------------------------------------------------------+
| A -    Serial Device      : /dev/ttyUSB0                    |
| B - Lockfile Location     : /var/lock                       |
| C -   Callin Program      :                                 |
| D - Callout Program      -:                                 |
| E -    Bps/Par/Bits       : 115200 8N1                      |
| F - Hardware Flow Control : No                              |
| G - Software Flow Control : No                              |
|                                                             |
|    Change which setting?                                    |
+-------------------------------------------------------------+

4. 最后保存退出,如果还是没反应,可以尝试重启一下minicom

你可能感兴趣的:(ubuntu,minicom)