microcom串口调试工具使用

microcom串口助手使用介绍

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

使用的是busybox构建的文件系统

microcom源码路径:busybox/miscutils/microcom.c

microcom 参数:

bash 复制代码
[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] 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
        -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 的特殊含义。

示例:

c 复制代码
microcom -s 38400 /dev/ttylmc0

microcom命令使用

相关推荐
小码过河.31 分钟前
CentOS 搭建 Docker 私有镜像仓库
linux·docker·centos
贾斯汀玛尔斯2 小时前
ubuntu/centos系统ping 不通域名的解决方案
linux·ubuntu·centos
呆瑜nuage3 小时前
Linux的工具
linux
唐青枫3 小时前
Linux vimgrep 详解
linux·vim
麦子邪4 小时前
C语言中奇技淫巧04-仅对指定函数启用编译优化
linux·c语言·开发语言
半梦半醒*4 小时前
Linux网络管理
linux·运维·网络·centos·运维开发
破刺不会编程4 小时前
linux线程概念和控制
linux·运维·服务器·开发语言·c++
神秘人X7074 小时前
Linux网络配置全攻略:IP、路由与双机通信
linux·网络·tcp/ip
翟天保Steven5 小时前
Ubuntu-安装Epics教程
linux·ubuntu·epics
Nightwish55 小时前
Linux随记(二十一)
linux·运维·服务器