通过带有Windows Terminal和minicom的WSL1 TTY设备通过Windows 10上的串行COM端口连接到设备

本文介绍了如何通过Windows 10的WSL1、minicom和Windows Terminal与串行COM端口进行通信,避免使用古老的PuTTY。详细步骤包括设置WSL1、安装minicom、调整权限和创建命令行菜单。适用于嵌入式系统开发人员监控或与串行端口交互。
摘要由CSDN通过智能技术生成
image

I hope that this blog post is found and helps someone. I wasn't sure what to title it. Hope Google Juice got you here!

我希望找到此博客文章并对某人有所帮助。 我不确定该如何命名。 希望Google Juice能让您在这里!

Read this whole post, there's a lot initially but there's really just two or three small pieces. It'll be worth it because you'll be able to have a nice one click menu and drop directly into a serial port terminal on Windows in the Windows Terminal

阅读整篇文章,最初有很多内容,但实际上只有两三个小片段。 这将是值得的,因为您将能够拥有一个不错的一键式菜单,然后直接在Windows终端中的Windows串行端口终端中拖放到该终端

Often when you're doing embedded systems development you'll want to monitor or talk to the COM/Serial Port just like you SSH into remote system. Folks ask questions like "How to connect to a serial port as simple as using SSH?"

通常,当您在进行嵌入式系统开发时,就像SSH进入远程系统一样,您将需要监视或与COM /串行端口通信。 人们会问诸如“如何像使用SSH一样简单地连接到串行端口?”之类的问题。

On Linux you'll use things like "screen /dev/ttyS0" for COM0. With Windows, however, the historical guidance has always been to use Putty. It'll work but it's somewhat old, quirky, and it doesn't integrate well with the Windows Terminal and a more modern workflow.

在Linux上,您将对COM0使用“ screen / dev / ttyS0”之类的东西。 但是,对于Windows,历史指导一直是使用Putty。 它可以工作,但它有些旧,古怪,并且无法与Windows Terminal和更现代的工作流程很好地集成。

Say I have a small embedded microcontroller device that talks over a COM Port (usually via a USB->COM bridge) like an Arduino.

假设我有一个小型嵌入式微控制器设备,该设备通过Arduino之类的COM端口(通常通过USB-> COM桥)进行通信。

Let's assume this device talks to the COM port as if it were a terminal and it's outputting stuff I want to see. I'll use this great little CLI example app for Arduino from Mads Aasvik to simulate such a device.

假设此设备与COM端口进行通讯,就好像它是一个终端一样,

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值