码迷,mamicode.com
首页 > 其他好文 > 详细

microcom的使用

时间:2015-08-03 16:53:14      阅读:935      评论:0      收藏:0      [点我收藏+]

标签:工具   嵌入式系统   busybox   

嵌入式系统中如果有集成minicom软件,那用串口调试就方便些。
但是通常不会集成minicom软件,因为minicom依赖libncureses,需要占用较大空间。为此,在busybox有个更加简单的串口工具microcom,用法:
mircocom -h
microcom: invalid option – ‘h’
BusyBox v1.22.1 (2015-07-31 13:40:35 CST) multi-call binary.
Usage: microcom [-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY
Copy bytes for stdin to TTY and from TTY to stdout
-d Wait up to DELAY ms for TTY output before sending every next byte to it
-s Set serial line to SPEED
-X Disable special meaning of NUL and Ctrl-X from stdin

例如:
microcom -t 10000 -s 115200 /dev/ttyUSB1
按ctrl+x可以退出

版权声明:本文为博主原创文章,未经博主允许不得转载。

microcom的使用

标签:工具   嵌入式系统   busybox   

原文地址:http://blog.csdn.net/adazone/article/details/47258123

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!