My question is quite simple: can you, somehow, upload Arduino code without closing puTTY's serial console? I hate having to close the program to open it again for reading the incoming information.

  • 1
    use Serial Monitor in IDE or a second USB to TTL Serial adapter for output to putty
    – Juraj
    Commented Jan 4, 2021 at 15:34

2 Answers 2


You can't. Putty has no way of disconnecting without closing the program (as far as I can tell).

You could try "Tera Term" which apparently (though I don't use Windows so have no experience with it) has a disconnect option (which you would have to use before uploading).

Alternatively, as @Juraj has mentioned, you could use a separate USB to TTL UART adaptor to provide a second debug serial port (either with SoftwareSerial or mirroring the TX pin of the Arduino directly - don't connect RX in this case) which doesn't interfere with software upload.

  • `softwareSerial' works well if you've got a spare digital pin or two. I've been using it to send the status information I need to a Raspberry Pi, via a level converter, while the proper USB serial port is used for uploading from a desktop PC, as well as getting a copy of the status info.
    – Chris H
    Commented Jan 5, 2021 at 12:37

There is an open source project that will do what you want.


The com0com will create virtual com ports for the programs to connect to.

The hub4com will allow you to route data between the physical port and multiple virtual com ports.


  • I never knew about that. It's a nice solution!
    – jwh20
    Commented Jan 4, 2021 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.