You can usually find the USB drivers for your hardware on the homepage of the dealer or manufacturer of the device. To make things easier, we have listed the most common links here:
– Silicon Labs CP210x for Win/Mac/Linux
– WCH CH340G for Win/Mac/Linux
Download the latest version of the NodeMCU pyFlasher Utility. You can find it here for Windows and macOS.
Open the Windows device manager, then open the menu “Ports (COM & LPT)” in the device tree and remember the name (here it is COM3)
Start the previously loaded NodeMCU pyFlasher Tool, and select the identified serial port from the list, as well as the downloaded firmware file.
Now press “Flash NodeMCU” to start the programming process.
At 100% and/or with the confirmation “Firmware successfully flashed.” The firmware has been successfully uploaded to the ESP32 or ESP8266. Please do not forget to restart the hardware manually after programming to ensure proper function.