Tutorial on ESP32 Flashing with Windows.
You need 3 files for flashing the ESP32:
Connect the ESP32 development board to the PC with the USB cable. When the flashing procedure start press both RESET (EN) and BOOT buttons, then release first the RESET (EN) button and then also the BOOT button.
By Command line (change COM port number and filenames)
esptool.py -p COM15 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x8000 partition-table.bin 0x1000 bootloader.bin 0x10000 firmware_file.bin
- Download the windows driver for the ESP32 serial port (via USB) here.
- Download the Flashing Tool here, or here. Start the Tool 🠖
- Load the files in the Download Tool as following. Set correctly the addresses and the COM port (speed 921.600 or 460.800 baud).
Address #1 (bootloader.bin): 0x1000
Address #2 (partition-table.bin): 0x8000
Address #3 (firmware_file.bin): 0x10000
- Press on START