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

相关推荐
段ヤシ.1 小时前
银河麒麟(内核CentOS8)安装rbenv、ruby2.6.5和rails5.2.6
linux·centos·银河麒麟·rbenv·ruby2.6.5·rails 5.2.6
深夜情感老师3 小时前
centos离线安装ssh
linux·centos·ssh
菜鸟射手7 小时前
QT creater和vs2017文件路径问题
linux·c++·windows·qt
@Aurora.8 小时前
【项目日记(三)】
linux·服务器·网络
白总Server8 小时前
Nginx 中间件
大数据·linux·运维·服务器·nginx·bash·web
望获linux9 小时前
实时操作系统在服务型机器人中的关键作用
linux·机器人·操作系统·开源软件·rtos·具身智能
哈哈幸运10 小时前
Linux Sed 深度解析:从日志清洗到 K8s 等12个高频场景
linux·运维·编辑器·sed
心随_风动10 小时前
主流操作系统对比分析(macOS、Linux、Windows、Unix)
linux·windows·macos
啊吧怪不啊吧10 小时前
Linux常见指令介绍下(入门级)
linux·开发语言·centos
陈大大陈11 小时前
基于 C++ 的用户认证系统开发:从注册登录到Redis 缓存优化
java·linux·开发语言·数据结构·c++·算法·缓存