microcom的使用

嵌入式系统中如果有集成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可以退出

你可能感兴趣的:(汽车电子,调试工具方法学习,linux内核学习,工具,嵌入式系统,busybox)