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

相关推荐
圆山猫几秒前
[Linux] 用 Buildroot 为 RISC-V QEMU 构建最小根文件系统
linux·运维·risc-v
小草儿7994 分钟前
gbase8s之onatpe备份与恢复性能测试
linux·服务器·网络
不做无法实现的梦~9 分钟前
Linux 嵌入式开发完整入门:工具、配置和学习路线
linux·运维·学习
摘星台11 分钟前
linux环境对stm32单片机进行程序烧录
linux·stm32·单片机
郝学胜-神的一滴20 分钟前
Linux 高并发基石:epoll 核心原理 + LT/ET 触发模式深度剖析
linux·运维·服务器·开发语言·c++·网络协议
‎ദ്ദിᵔ.˛.ᵔ₎21 分钟前
Linux 启动
linux·运维·服务器
Joseph Cooper25 分钟前
STM32MP157 Linux驱动学习笔记(三):系统级驱动框架(UART/PCIe)
linux·stm32·学习
funnycoffee1231 小时前
centos 上没有安装telnet命令 ,如何测试到1个目标IP的 443端口是否open
linux·tcp/ip·centos
爱莉希雅&&&1 小时前
Ansible+Docker案例(含ansible配置安装docker)
linux·运维·mysql·nginx·docker·容器·ansible
wicb91wJ61 小时前
Linux服务器性能调优常用命令
linux·服务器·网络