Page 1 of 1

Use UART0 and USB-bridge to read file from e.g. pc

Posted: Sat Jan 03, 2026 5:13 am
by cpehonk
Hi all,

I would like to use UART0 and the built-in USB-UART bridge to send a basic WLAN configuration file to the ESP32. I tried this based on the UART examples, but everytime I send the file to the ESP32, it resets. What am I doing wrong? How can I use the USB-UART bridge for my purposes? I am using the Wemos Lolin32 module.

Greetings,
Chris

Re: Use UART0 and USB-bridge to read file from e.g. pc

Posted: Sat Jan 03, 2026 5:59 pm
by MicroController
To use the USB-UART in your firmware you have to pay attention to the DTR and RTS signals of the virtual UART as they are used to reset the ESP and put it into download mode. If an application (PC side) messes with those signals when opening a COM port, this can reset the ESP.