Support for USB Serial COM Port #16752

Closed
opened 2026-01-31 05:21:41 +00:00 by claunia · 6 comments
Owner

Originally created by @7217043955 on GitHub (Feb 11, 2022).

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.

Originally created by @7217043955 on GitHub (Feb 11, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # 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. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # 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. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 05:21:41 +00:00
Author
Owner

@zamadatix commented on GitHub (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.

@zamadatix commented on GitHub (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.
Author
Owner

@zadjii-msft commented on GitHub (Feb 14, 2022):

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

@zadjii-msft commented on GitHub (Feb 14, 2022): 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
Author
Owner

@ghost commented on GitHub (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 commented on GitHub (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!
Author
Owner

@blgram commented on GitHub (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.

@blgram commented on GitHub (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.
Author
Owner

@zamadatix commented on GitHub (Dec 9, 2023):

@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).

@zamadatix commented on GitHub (Dec 9, 2023): @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).
Author
Owner

@hatran3e commented on GitHub (Apr 17, 2024):

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.

@hatran3e commented on GitHub (Apr 17, 2024): 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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16752