Re:PuTTY 0.73
by zamadatix on Tuesday October 01, 2019 @12:10PM
(#21127065)
What's the best replacement for serial port connectivity on Windows? That PuTTY has it's own terminal settings always bothered me but I'm not sure what all is popular.
[ Parent
| on HN ]
You can use the PuTTY cli command plink. For example:
plink -serial COM1 -sercfg 9600,8,N,1,N
This will connect to serial port COM1 at 9600 baud, 8 databits, no parity bits, 1 stop bit and no flow control.This is pretty nifty, thanks.
I usually recommend Termite to people
Re:PuTTY 0.73
by SteveMoody73 on Tuesday October 01, 2019 @02:03PM
(#21128625)
Tera term is what i tend to use.
https://ttssh2.osdn.jp/
As a guy who uses serial enough to wonder the same thing, my solution was buying a cheap Linux machine. Serial is thousands of times simpler and more convenient to use on Linux.
Probably not too helpful if you’re dealing with poorly written windows serial software targeting embedded though.
What software are you using on linux to interface with serial? I always used screen but it seems there’s probably a better way?
Screen. Most of the time saved is not having to try to install whatever bizarre serial driver windows needs.
Also python if you need to programmatically connect and operate a device over serial. Quite easy.
Yep, screen is the easiest. Minicom often gets confused, or at least confuses me with its weird UI. With screen I just run "screen /dev/ttyUSB0 115200".
If you have WSL installed, I believe it's possible to use the standard Linux serial utilities with a USB-RS232 dongle.
If WSL was not an option, I personally would still use PuTTY
Not sure which serial utilities are standard though. I know many use Kermit, but I never found it very unixish.
I personally use 'screen'. It's a perfectly capable terminal for serial communications. It can even catch zmodem handshakes (it's in the manual).
I also use screen for this, though I find myself accidentally leaving sessions in the background and wondering why I’m missing characters in the output.
That said, does WSL really provide serial devices? That’s pretty awesome. I wonder if USB also is a thing in the WSL2 world.