C

Bootloader flashing instructions for Espressif boards

You must flash the bootloader image onto the device in these two cases:

  • Before using the board for the first time.
  • After every Internal Flash erase operation.

Before flashing the bootloader onto the Espressif board, you must install and configure the Espressif IoT Development Framework (ESP-IDF). After installing and configuring ESP-IDF, connect the board to the host PC using a USB cable.

Follow these steps to flash the bootloader to the device:

  1. Set up the environment variables.
    . $HOME/esp/esp-idf/export.sh

    Launch the ESP-IDF Command Prompt or the ESP-IDF PowerShell Environment.

  2. Run the ESP-IDF flashing tool:
    python -m esptool --chip esp32s3 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m 0x0 <PATH_TO_BOOTLOADER>/bootloader.bin
    python -m esptool --chip esp32s3 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m 0x0 <PATH_TO_BOOTLOADER>\bootloader.bin

Available under certain Qt licenses.
Find out more.