Hello,
I recently tried to upload a self-compiled example sketch onto an ESP32 module (Watchy by SQFMI) using Arduino IDE 2.1.0 on Win11 but unfortunately I am getting the following error message:
Sketch uses 1907809 bytes (60%) of program storage space. Maximum is 3145728 bytes.
Global variables use 65176 bytes (19%) of dynamic memory, leaving 262504 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM3
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: _https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html_
Failed uploading: uploading error: exit status 2
I followed the manufacturer manual (installing esp library and the [CP2104 USB to Serial drivers] and so on...) but nothing changes. Interestingly I tried the same procedure on a Win10 machine and it worked the first try with the same cable and Arduino IDE configuration. I have read that people had similar problems with ESP32 upload on Win11 but it was mainly related to the COM1 port being selected, which is not the case for me (COM3 and the respective board were selected).
I tried different USB port on my PC, tried to reinstall Arduino IDE (with wiping library files under appdata) but the problem still persists. Windows gives the typical "connected" charm when plugging in the device.
Does anybody have an idea what the solution may be? I am very grateful for your suggestions.
Thank you!