Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for USB Serial COM Port #12470

Closed
7217043955 opened this issue Feb 11, 2022 · 6 comments
Closed

Support for USB Serial COM Port #12470

7217043955 opened this issue Feb 11, 2022 · 6 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@7217043955
Copy link

Description of the new feature/enhancement

Hello everyone, I'm currently doing embedded device programing like U-Boot; OpenWrt; STM32, and as you may know, these devices use the UART port to output some debug info and/or implement command line interface, I'd like to use Windows Terminal as the terminal program to deal with these thing. I'm sure this will help me and many other embedded developers a lot.

Proposed technical implementation details (optional)

The UART port from the device will be connected to the PC's USB port through a "USB to TTL converter", then it will show up in the Device Manager as a COM port device, what I want is, from here, I can create a new profile in the Windows Terminal, configure it to connect to the dedicated COM port, set Baud Rate; Data Bits; Stop Bits; Parity; Flow Control, then use the device's command line in the Windows Terminal.

@7217043955 7217043955 added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Feb 11, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 11, 2022
@zamadatix
Copy link

zamadatix commented Feb 13, 2022

I think Windows Terminal has all of the plumbing for this today in regards to the profile and display, what's missing is a built in Windows program to open the serial device and pipe it to the terminal much like ssh is built in now. I'm not sure if this kind of tool is part of what this repo covers or not though.

I currently use plink from Putty for this myself, screen or tmux via cygwin might be more full-featured but I haven't tried them. It would definitely be nice to have some more full featured built in tool that could handle escape codes and whatnot for arrow keys and such.

@zadjii-msft
Copy link
Member

Yea, if you have a commandline client that can handle all the serial port interaction, then you can just add that as a profile in the Terminal settings. In general, we've got a longer thread about this over in #1280 so I'm gonna move this discussion there. Thanks!

/dup #1280

@ghost
Copy link

ghost commented Feb 14, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 14, 2022
@blgram
Copy link

blgram commented Dec 9, 2023

I think Windows Terminal has all of the plumbing for this today in regards to the profile and display, what's missing is a built in Windows program to open the serial device and pipe it to the terminal much like ssh is built in now. I'm not sure if this kind of tool is part of what this repo covers or not though.

I currently use plink from Putty for this myself, screen or tmux via cygwin might be more full-featured but I haven't tried them. It would definitely be nice to have some more full featured built in tool that could handle escape codes and whatnot for arrow keys and such.

I'm Network Engineer, I prefer to keep my hands on keyboard as much as possible. That's why I tried using for different purposes, SSHing, nvim and plink for serial connections, but as you mentioned it just hurts me to that I can't use arrow keys. I kinda want to use Linux, instead of Windows.

@zamadatix
Copy link

@blgram take a look at SimplySerial. It's like plink but supports arrow keys in the newer versions. You can even make Terminal profiles for it directly if you want (the GitHub page has a guide).

@hatran3e
Copy link

You can use SimpleCom from winget package manager on window, they gave a readme file to instruct how to add it into window terminal profile also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

5 participants