Page 1 of 1

PuTTY not able to write to the ESP COM port

Posted: Wed Mar 12, 2025 5:06 pm
by justinmreina
Hi,
I am getting started with Espressif development and having trouble allowing write access from PuTTY to my ESP32.

Setup:
  1. ESP32-S3-WROOM-1(ESP32-S3-Touch-LCD-4.3B-BOX)
  2. USB connection from 4.3B-BOX module to PC using PuTTY (Win11)
    1. driver - system32\drivers\usbuser.sys
Working:
  • ESP->PuTTY transmit
Not-working:
Status: (from ESP-IDF Serial Monitor)
--- Warning: Writing to serial is timing out. Please make sure that your application supports an interactive console and that you have picked the correct console for serial communication.

Why won't writes work from PuTTY? I have tried in ESP-IDF Serial Monitor and with a serial connection in LabVIEW observing the same effect. How can I get my ESP serial port receiving bytes from PuTTY? I tried the Golioth forum idea above but that didn't work for me. This is strange!

Re: PuTTY not able to write to the ESP COM port

Posted: Sat Mar 15, 2025 5:08 pm
by teletypeguy
I don't use putty but I use CoolTerm all the time and it works well with the usb serial port that I run at the default 115200 as well as uart1 and uart2 ports I stream at 230400.

The usb connection on an esp dev board just looks like a com port to windows and it is uart0 in idf. By using the Monitor button in the ide you get the normal display -- I have a task that handles rx characters that I send to do various test things -- here I type in a little command !*#97 that dumps some info:
.
1.png
1.png (104.67 KiB) Viewed 1586 times
.
.

When I connect coolterm (cannot have the ide running as it holds the com port open) and connect to the same com port, I can do the same thing (here you see the ansi color prefix sequences):
.
2.png
2.png (35.42 KiB) Viewed 1586 times
.
.

Coolterm can also be configured to display in color:
.
3.png
3.png (33.39 KiB) Viewed 1586 times
.
.

Not sure why you are having a problem with putty.