Chapter 2. Development environment
• ESP-IDF v4.1 only supports ESP32-S2 Beta, which is not compatible with ESP32-S2.
• The version of esptool came with ESP-IDF v4.1 is v2.9-dev, which only supports ESP32-S2 Beta
as well.
• Both ESP-IDF v4.2 and its esptool v3.0-dev support ESP32-S2 series chips.
2.4.8 How to download rmware based on ESP-IDF using ash_download_tool?
• Please refer to get-started-guide when building an ESP-IDF project for the rst time.
• Taken hello-world example for instance, run idf.py build (Only for ESP-IDF v4.0 or later
versions. Please use make for previous versions). After building, the following ash command for
the bin le will be generated:
#Project build complete. To flash, run this command:
../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600␣
,→write_flash --flash_mode dio --flash_size detect --flash_freq 40m␣
,→0x10000 build/hello-world.bin build 0x1000 build/bootloader/bootloader.
,→bin 0x8000 build/partition_table/partition-table.bin
or run 'idf.py -p PORT flash'
You can use ash_download_tool to ash according to the bin le and ash address prompted by this
command.
2.4.9 What is the communication protocol for ashing ESP chips?
• ESP Serial Protocol: Serial Protocol.
• Python-based implementation: esptool.
• C-language based implementation: esp-serial-asher.
2.4.10 How to program ESP32-C3’s rmware oine?
• Currently, there is no tool that supports the oine programming of ESP32-C3’s rmware. However, the Flash
Download Tools we released can directly download binary rmware and support mass production download
mode for up to eight ESP32-C3 devices at the same time.
• In addition, we also oer the Test Fixture for mass production, which supports up to four ESP32-C3 modules
to download rmware simultaneously.
2.4.11 How does ESP32 set Flash SPI to QIO mode?
• It can be set in menucong through Serial flasher config -> Flash SPI mode, the corresponding
API is esp_image_spi_mode_t().
2.4.12 After downloading program and powering on EPS8266, the serial port printed the
following log. What is the reason?
Espressif Systems 19
Submit Document Feedback
Release master