Menu
OK, Details;
- Putty Serial Port Commands
- Unable To Open Serial Port Putty
- Putty Connect To Serial Port Number
- Putty Connect To Serial Port In Ubuntu From Cli
- Putty Connect To Serial Port In Linux
- Putty Unable To Configure Serial Port Windows
The first thing I'd do is make sure you can connect to your external device using the Host OS directly. Since you're on a Mac you can use screen from the command line (since you're using 9600 baud): screen /dev/ttyS0 9600 If that doesn't work then you're dead in the water. Then make sure your host's serial port is exposed to your Virtual client.
I'm trying to communicate to the console ports on several Cisco switches and routers. I my computers do not have a 9pin Dconnector that will connect to a standard Cisco console cable, and the Cisco devices do not have USB.
Therefore, I purchased a Belkin USB to DB9 converter for serial connections. It's nice because I can see LEDs light up on it when it transfers data (link, TX, RX).
This has worked for a while. I'm using a home built computer using an AMD Athlon II comptuer with four USB ports comming off the motherboard. It's running XP OS.
Microsoft Windows XP
Professional
Version 2002
Service Pack 3
Computer:
AMD Athlon II X3 435
Processor
2.91GHz 1.75GB of RAM
This has been working for a year or so, and right in the middle of running it just stopped working and was hung. After that, when I use the Device Manager to list the 'Ports (COM & LPT)' it now only shows COM1 and LPT1.
I get the above error message when ever I use 'Putty' software to do the serial terminal emulation.
Not sure if it was my Belkin device, Computer, or OS.
1) So I first tried rebooting the computer, with no success.
2) I tried connecting to another router with no change.
3) Next rebooted the orginal router, no change.
4) Rebooted the laptop, no change.
I searched the internet for this, and the best advice was to manually install the com port. I tried this, but it instead installed COM4 and COM5. I tried anyway, but uninstalled when done.
How does the COM3 port get built? Should it always show available, or does it build the interface when a device is plugged in?
Well, I haven't messed with it over the weekend, tried again today, and now it's working when I plugged in the belkin USB to Serial DB9 connector. It recognized the device and gave a 'bong' and it appeared. Therefore I susspect that it is built when the device is plugged in, and torn down when it is disconnected. Not sure why it's now working....but now i don't trust when it may go down of back up. I'm sure there is a logical explaination, but not any help from the MS OS.....as usual.
Maybe the Belkin device is flakey, but unlikely due to the number of times I unplugged and replugged......not sure.
I then grabbed a Laptop running Windows 7 and connected to it's USB port, and running putty software, and it started working.
Then, in about 5 minutes, it hung up as well, and I could not see the COM3 Port.
Active2 years, 6 months ago
Putty Serial Port Commands
Configuration:
- Windows 7
- putty 0.67
- plink 0.67
Problem
I am trying to use
plink
to open a serial port connection on COM9. Using
PuTTY
I can open the serial connection on COM9 and I have a saved session for that serial connection.The COM PORT settings are:
- Baud: 115200
- Data: 8-bits
- Stop: 1-bit
- Parity: None
- Flow Control: None
When I try and use
plink
instead of PuTTY
, I get the following errors:But if I use the saved
PuTTY
session for COM9, it works!However, I cannot use saved sessions, as my aim is to use
Simon Peverettplink
with Expect to automate testing with the Device connected by serial, and will be on different machines and different COM ports.Simon Peverett
3,39122 gold badges2424 silver badges3030 bronze badges
1 Answer
I already know the answer, but I googled the problem and saw similar questions with no answers. Hopefully, the next person to Google this will find this and it will save them some trouble.
This problem is Windows OS specific.
On Windows, addressing a COM port greater than COM9 requires special addressing.
Unable To Open Serial Port Putty
From COM1 to COM9 you identify them as just that e.g.
COM1
, COM2
, etc, but over COM9 you have to address them in a special way, for COM10 you must identify it as .COM10
, and so on.So, I tried this and it works:
Putty Connect To Serial Port Number
I don't know why the special COM port addressing format is required for
plink
, and why it is required for COM9, which shouldn't need it. When using serial to COM1 it works without it. PuTTY
doesn't seem to care either. Putty Connect To Serial Port In Ubuntu From Cli
Simon PeverettSimon PeverettPutty Connect To Serial Port In Linux
3,39122 gold badges2424 silver badges3030 bronze badges