Hi mates ! I can't upload the code on ESP32 (which was previously working fine). It gives this error:
Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled" Sketch uses 219077 bytes (16%) of program storage space. Maximum is 1310720 bytes. Global variables use 16088 bytes (4%) of dynamic memory, leaving 311592 bytes for local variables. Maximum is 327680 bytes. esptool.py v4.2.1 Serial port COM9 Connecting...................................... A fatal error occurred: Failed to connect to ESP32: No serial data received. For troubleshooting steps visit: [https://docs.espressif.com/.../latest/troubleshooting.html](https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html?fbclid=IwAR3UJVbfY-VbZ2H69E8OKrd2uewyMnqCMObTQf2avyfwnset4DLtykfNnAA) the selected serial port For troubleshooting steps visit: [https://docs.espressif.com/.../latest/troubleshooting.html](https://l.facebook.com/l.php?u=https%3A%2F%2Fdocs.espressif.com%2Fprojects%2Fesptool%2Fen%2Flatest%2Ftroubleshooting.html%3Ffbclid%3DIwAR317-5dArXh71kRPYGEmPz5WeaZlaXKNumFuwFSIHJ7AIiqAviD2xFUD0g&h=AT1ynjdwSuduaejpeAiOa4ODmVroELJcUbgd8EWdRsMSjnbxSMIWtVV4xCVCJWe5pgsHnq-pB7AXqPz9W6Ze1TR6s-RvSEtz-XprwOuxSpk0ZMy3iJ2hJZho_nwA2NjVP7Af&__tn__=-UK-R&c[0]=AT0ClKofP9yRc7pRSLjAq6uLRXMhien7D3bSdWzHJsLF1lOHOd26pdCQ01KKGZeF5wKgFtEOr2k5McQDIoBlbTxR80j9V_ySyzlUnP1WQ7cn2aI2dd4O7aOp7jKMH7H0vKFT2WagxJbHCEdvQNHNfFoNT_DBnlXmLnnZwFc) does not exist or your board is not connected This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
I've tried changing the port and also pressing the boot button (previously it didn't require pressing it) but in vain. Please suggest any solutions.