microcom串口调试工具使用

编程入门 行业动态 更新时间:2024-10-12 20:22:14

microcom<a href=https://www.elefans.com/category/jswz/34/1769224.html style=串口调试工具使用"/>

microcom串口调试工具使用

microcom串口助手使用介绍

microcom是一个在终端中使用的串口助手,类似平常使用SSCOM一样的东西,不过是在终端中使用而已。

使用的是busybox构建的文件系统
microcom源码路径:busybox/miscutils/microcom.c

microcom 参数:

[rsu7012: ~]$ microcom --help
BusyBox v1.29.3 (2023-10-17 08:27:14 EDT) multi-call binary.Usage: microcom [-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTYCopy bytes for stdin to TTY and from TTY to stdout-d      Wait up to DELAY ms for TTY output before sending everynext byte to it-t      Exit if both stdin and TTY are silent for TIMEOUT ms-s      Set serial line to SPEED-X      Disable special meaning of NUL and Ctrl-X from stdin
  • -d :表示延时时间。
  • -t :表示超时时间,超多少时间就自动退出(单位为 ms)。
  • -s :表示传输速度,波特率的意思,这个根据自己的情况而定。
  • -X :从 stdin 禁用 NUL 和 Ctrl-X 的特殊含义。

示例:

microcom -s 38400 /dev/ttylmc0

microcom命令使用

更多推荐

microcom串口调试工具使用

本文发布于:2023-12-06 18:50:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1668474.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:串口   调试工具   microcom

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!