Fashing ESP32

Tutorial on ESP32 Flashing with Windows.

You need 3 files for flashing the ESP32:

  1. bootloader.bin
  2. partition-table.bin
  3. firmware_file.bin

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

By using Espressif Flash Download Tool (Windows)

  1. Download the windows driver for the ESP32 serial port (via USB) here.
  2. Download the Flashing Tool here, or here. Start the Tool 🠖 Developer Mode 🠖 ESP32 DownloadTool.
  3. 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

  4. Press on START