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命令使用

相关推荐
mounter6259 小时前
现代 Linux 内存管理的演进与变革:从传统 LRU 到多代架构 MGLRU
linux·服务器·kernel
赵渝强老师9 小时前
【赵渝强老师】Kubernetes(K8s)中的金丝雀升级
linux·docker·云原生·容器·kubernetes
Qt程序员10 小时前
Linux RCU 原理与应用
linux·c++·内核·linux内核·rcu
The Sheep 202310 小时前
Vue复习
linux·服务器·数据库
兄台の请冷静10 小时前
Linux 安装es
linux·elasticsearch·jenkins
fengyehongWorld10 小时前
Linux rg命令
linux
pride.li10 小时前
海思视觉Hi3516CV610--开机自动设置ip
linux·网络·网络协议·tcp/ip
我叫张小白。10 小时前
CentOS 7 安装 Docker并配置镜像加速(完整指南)
linux·docker·centos
Titan202412 小时前
Linux动静态库
linux·服务器·c++
赵民勇12 小时前
Linux file命令详解
linux·运维