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:
$ plink -serial COM9 -sercfg 115200,8,1,N,N
Unable to open connection:
Unable to open serial port
But if I use the saved PuTTY
session for COM9, it works!
!plink -load COM9
help
help connect Create connection
help disconnect Close existing connection
.
.
However, I cannot use saved sessions, as my aim is to use plink
with Expect to automate testing with the Device connected by serial, and will be on different machines and different COM ports.