minicom installation and configuration on ubuntu
2013-06-24 23:03
323 查看
minicom是一个串口通信工具,就像Windows下的超级终端,可用来与串口设备通信。minicom完全通过键盘实现操作。
install
sudo apt-get install minicom
configuration
1
lsmod | grep usbserial
使用该命令查看系统是否支持usb转串口
2
sudo minicom -s
进入minicom的配置流程
3
+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+
选择Serial port setup
4
+-----------------------------------------------------------------------+
| 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? |
+-----------------------------------------------------------------------+
点A配置Serial Device。USB转串口时配置为/dev/ttyUSB0,直接使用串口时配置为/dev/ttyS0
点F配置Hardware Flow Control为No
5
回到第3步界面,选择Save setup as dfl将当前配置保存为默认配置
选择Exit退出配置流程,进入minicom界面
此时minicom已经完成了串口设备的连接。
install
sudo apt-get install minicom
configuration
1
lsmod | grep usbserial
使用该命令查看系统是否支持usb转串口
2
sudo minicom -s
进入minicom的配置流程
3
+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+
选择Serial port setup
4
+-----------------------------------------------------------------------+
| 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? |
+-----------------------------------------------------------------------+
点A配置Serial Device。USB转串口时配置为/dev/ttyUSB0,直接使用串口时配置为/dev/ttyS0
点F配置Hardware Flow Control为No
5
回到第3步界面,选择Save setup as dfl将当前配置保存为默认配置
选择Exit退出配置流程,进入minicom界面
此时minicom已经完成了串口设备的连接。
相关文章推荐
- Dovecot installation and configuration on CentOS
- HAProxy Installation and Configuration on CentOS 6.4 to Mitigate The Effects of Abusive Clients--转
- TinyOS-2.1.1 Installation on Ubuntu 12.04 and Hello World
- Step-by-Step:Installation and Configuration of a secure web application using MySQL,OpenSA Web Server, Tomcat and OpenSSL,on a N
- Installation and Configuration MySQL Cluster 7.2 on CentOS 5 (include MySQL 5.5)
- VTK Installation and Configuration with Qt in Ubuntu
- PCL Installation and Configuration on OSX
- HAProxy Installation and Configuration on CentOS 6.4 to Mitigate The Effects of Abusive Clients--转
- Howto Install and Configure PCL on Ubuntu
- Full Qmail Installation and Configuration Guide
- Experience installing Hbase 0.20.0 Cluster on Ubuntu 9.04 and EC2
- synergy config on ubuntu for synergys and auto-...
- global http proxy configuration on ubuntu
- Eclipse主要插件Lomboz介绍(2)_Installation and Configuration
- Serivce configuration on Ubuntu
- JSP installation and configuration
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)?
- virtualenv and virtualenvwrapper on Ubuntu 14.04
- Openstack: Single node Installation and External Network Accessing Configuration Guide
- 【转载】OpenVAS Ubuntu Installation and Tutorial