linux下minicom 的安装与使用
2015-01-04 21:31
375 查看
一、安装配置minicom
1、安装minicom
mao@mao-Lenovo:~$ sudo apt-get install minicom
[sudo] password for mao:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
minicom 已经是最新的版本了。
2、配置minicom
mao@mao-Lenovo:~$minicom -s
会出现 +-----[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, 会看到这样的选项:
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyS1 |
| 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的值设置为/dev/ttyS0 表示是串口1,将选项E的值设置为115200,将选项F设置为NO(请根据实际情况配置).
设置默认上传/下载的目录,选择Filenames and paths , 会看到这样的选项:
+-----------------------------------------------------------------------+
| A - Download directory : |
| B - Upload directory : |
| C - Script directory : |
| D - Script program : runscript |
| E - Kermit program : |
| F - Logging options |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
不设置的话会传送到根目录下,可以设置传输路径,设置完成后,选择”Save setup as dfl”,保存为默认设置.
然后选择“Exit”,即可进入Minicom的主界面:sudo minicom
Welcome to minicom 2.5
OPTIONS: I18n
Compiled on May 2 2011, 10:05:24.
Port /dev/ttyS1
Press CTRL-A Z for help on special keys
按Ctrl-A,再按z,可以获取到minicom CTRL-A命令的帮助信息
Welco+-------------------------------------------------------------------+
| Minicom Command Summary |
OPTIO| |
Compi| Commands can be called by CTRL-A <key> |
Port | |
| Main Functions Other Functions |
Press| |
| Dialing directory..D run script (Go)....G | Clear Screen.......C |
| Send files.........S Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L Hangup.............H | eXit and reset.....X |
| send break.........F initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W local Echo on/off..E | Help screen........Z |
| Paste file.........Y | scroll Back........B |
| |
| Select function or press Enter for none. |
| |
| Written by Miquel van Smoorenburg 1991-1995 |
| Some additions by Jukka Lahtinen 1997-2000 |
| i18n by Arnaldo Carvalho de Melo 1998 |
+-------------------------------------------------------------------+
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4 | VT102 | Offline
其中,我们用CTRL-A s来发送文件给开发板;而用CTRL-A r来接收开发板上的文件
二、往开发板上传送文件
在minicom下,先按CTRL+A,再按s(选择发送文件),选择zmodern,并用空格选择要传输的文件,然后回车,即可看到正在传输的画面了!
1、安装minicom
mao@mao-Lenovo:~$ sudo apt-get install minicom
[sudo] password for mao:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
minicom 已经是最新的版本了。
2、配置minicom
mao@mao-Lenovo:~$minicom -s
会出现 +-----[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, 会看到这样的选项:
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyS1 |
| 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的值设置为/dev/ttyS0 表示是串口1,将选项E的值设置为115200,将选项F设置为NO(请根据实际情况配置).
设置默认上传/下载的目录,选择Filenames and paths , 会看到这样的选项:
+-----------------------------------------------------------------------+
| A - Download directory : |
| B - Upload directory : |
| C - Script directory : |
| D - Script program : runscript |
| E - Kermit program : |
| F - Logging options |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
不设置的话会传送到根目录下,可以设置传输路径,设置完成后,选择”Save setup as dfl”,保存为默认设置.
然后选择“Exit”,即可进入Minicom的主界面:sudo minicom
Welcome to minicom 2.5
OPTIONS: I18n
Compiled on May 2 2011, 10:05:24.
Port /dev/ttyS1
Press CTRL-A Z for help on special keys
按Ctrl-A,再按z,可以获取到minicom CTRL-A命令的帮助信息
Welco+-------------------------------------------------------------------+
| Minicom Command Summary |
OPTIO| |
Compi| Commands can be called by CTRL-A <key> |
Port | |
| Main Functions Other Functions |
Press| |
| Dialing directory..D run script (Go)....G | Clear Screen.......C |
| Send files.........S Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L Hangup.............H | eXit and reset.....X |
| send break.........F initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W local Echo on/off..E | Help screen........Z |
| Paste file.........Y | scroll Back........B |
| |
| Select function or press Enter for none. |
| |
| Written by Miquel van Smoorenburg 1991-1995 |
| Some additions by Jukka Lahtinen 1997-2000 |
| i18n by Arnaldo Carvalho de Melo 1998 |
+-------------------------------------------------------------------+
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4 | VT102 | Offline
其中,我们用CTRL-A s来发送文件给开发板;而用CTRL-A r来接收开发板上的文件
二、往开发板上传送文件
在minicom下,先按CTRL+A,再按s(选择发送文件),选择zmodern,并用空格选择要传输的文件,然后回车,即可看到正在传输的画面了!
相关文章推荐
- DNW在win7上的安装与使用及linux下minicom安装与使用
- linux下minicom 的安装与使用
- Linux下minicom的配置和使用方法 安装配置minicom
- Linux下minicom的安装和使用
- Linux下的命令行串口工具minicom安装和使用教程
- Linux开发环境搭建 二 (Ubuntu串口工具minicom的安装及使用)
- linux下Ubuntu Kylin系统中安装并使用minicom
- 在Linux下安装和使用MySQL
- linux下mysql的安装和使用
- 在Linux下安装和使用Mysql
- 在Linux下安装和使用MySQL
- 在Linux下安装和使用MySQL
- [Linux]使用rpm命令安装软件包
- LSAT(Linux Security Auditing Tool) 本地安全扫描程序的安装及使用
- Linux下的sniffer工具--Tcpdump的安装和使用
- Linux下的sniffer工具--Tcpdump的安装和使用
- Linux 下 CppUnit的安装与使用
- 在Linux下安装和使用MySQL
- linux 环境 Realplay 10.0 的安装和使用
- Red Hat Linux 7.0安装使用手记(六则)