Arduino IDE 2.3.2 Windows 11 esptool.py 4.5.1

I couldn't connect to an ESP32 using esptool.py v 4.5.1 with Arduino IDE 2.3.2 on Windows 11. When I went back to Arduino IDE 1.8.19, the download proceeded without a problem. The esptool.py that comes with Arduino IDE is the same version. Is there a compatibility problem with Arduino IDE 2.3.2 and windows 11? The error message is "esptool.py v4.5.1 Serial port COM3 A fatal error occurred: Could not open COM7, the port doesn't exist Failed uploading: uploading error: exit status 2"

To my knowledge the esptool does not come with the IDE; it's part of the board package that you install.

There seem to be a thousands of different ESP32 based boards and I don't have any experience with any; which one?

Strange that it is configured for COM3 but tries to open COM7. It might be the case when the board has native USB capability.

It might be useful to be able to compare the verbose upload output from both IDEs. Please enable verbose output during upload and disable verbose output during compilation under file / preferences (in each IDE) and try to upload a simple sketch like blink. Post the results of each here (using code tags please).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.