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 firmware based on ESP-IDF using flash_download_tool?
• Please refer to
• 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 flash command for
the bin file will be generated:
#Project build complete. To flash, run this command:
../../../components/esptool_py/esptool/esptool.py -p
write_flash --flash_mode dio --flash_size detect --flash_freq
→
0x10000 build/hello-world.bin
→
bin 0x8000 build/partition_table/partition-table.bin
→
or run
'idf.py -p PORT flash'
You can use flash_download_tool to flash according to the bin file and flash address prompted by this
command.
2.4.9 What is the communication protocol for flashing ESP chips?
• ESP Serial Protocol:
• Python-based implementation: esptool.
• C-language based implementation: esp-serial-flasher.
2.4.10 How to program ESP32-C3's firmware offline?
• Currently, there is no tool that supports the offline programming of ESP32-C3' s firmware. However, the
Download Tools
we released can directly download binary firmware and support mass production download
mode for up to eight ESP32-C3 devices at the same time.
• In addition, we also offer the
to download firmware simultaneously.
2.4.11 How does ESP32 set Flash SPI to QIO mode?
• It can be set in menuconfig 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
get-started-guide
when building an ESP-IDF project for the first time.
build 0x1000 build/bootloader/bootloader.
Serial
Protocol.
Test Fixture
for mass production, which supports up to four ESP32-C3 modules
Submit Document Feedback
(PORT)
19
-b
921600␣
40m␣
Flash
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?