If you have Windows 10 you can the Windows Subsystem for Linux quickly with this command at a Admin prompt: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart I want to do this at a command line, and bonus points if it's in Windows Terminal. This is a Windows app doing serial communication with its own interface wrapping around it. Here's what it looks like under Arduino's Serial Monitor, for example. I'll use this great little CLI example app for Arduino from Mads Aasvik to simulate such a device. 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. Say I have a small embedded microcontroller device that talks over a COM Port (usually via a USB->COM bridge) like an Arduino. It'll work but it's somewhat old, quirky, and it doesn't integrate well with the Windows Terminal and a more modern workflow. With Windows, however, the historical guidance has always been to use Putty. On Linux you'll use things like "screen /dev/ttyS0" for COM0. Folks ask questions like "How to connect to a serial port as simple as using SSH?" 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. 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 Read this whole post, there's a lot initially but there's really just two or three small pieces. Try these if you fail to connect with the settings described in this document.I hope that this blog post is found and helps someone. On some platforms, notably the 3600 Series Routers, 19200, 38400, 57600 bps are supported. Valid speeds (other than 9600bps) include 1200, 2400, and 4800 bps. Note: On some routers the console speed has been changed in the configuration register, and a bits-per-second speed of 9600 does not work. With the correct settings, you can use Hyper Terminal to configure and monitor the router. The router, therefore, appears as if it is hung or has crashed. Without these settings, the router may display but does not accept any keystrokes. Here is a screenshot of how to configure these settings on a Windows-based PC running Hyper Terminal: When you set up the connection, use these settings: Bits per sec : 9600 The settings in the Hyper Terminal need to be set correctly otherwise, "strange-looking" or garbage characters may show up on the screen. It appears as if the router is hanging and is not responsive. Garbage characters appear on the Hyper Terminal, and the router no longer accepts keystrokes. When a console cable is connected from a PC's COM serial port to the router, a router prompt does not appear on the Hyper Terminal. Conventionsįor more information on document conventions, refer to the Cisco Technical Tips Conventions. If your network is live, ensure that you understand the potential impact of any command before you use it. All of the devices used in this document started with a cleared (default) configuration. The information presented in this document was created from devices in a specific lab environment. This document is not restricted to specific software and hardware versions. There are no specific requirements for this document. This document also details how to use the PC's Hyper Terminal to configure and monitor a router. This document explains the correct settings to apply when you connect a PC to a router's console port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |