Skip to content

Instantly share code, notes, and snippets.

@JackYang-hellobobo
Created January 13, 2024 19:17
Show Gist options
  • Save JackYang-hellobobo/4c2f27621d545263afd4aee99a6e41e2 to your computer and use it in GitHub Desktop.
Save JackYang-hellobobo/4c2f27621d545263afd4aee99a6e41e2 to your computer and use it in GitHub Desktop.
ESP-IDF Introduces

Espressif 乐鑫IDF idf.py flash log

Log details

idf.py -p /dev/ttyUSB0 flash
Executing action: flash
Running make in directory /home/jacky/esp32/hello_world/build
Executing "make -j 14 flash"...
[  0%] Built target memory_ld
[  0%] Built target partition_table_bin
[  0%] Built target custom_bundle
[  0%] Built target _project_elf_src
[  0%] Performing build step for 'bootloader'
[  1%] Built target __idf_ulp
[  1%] Built target __idf_esp_https_ota
[  1%] Built target _project_elf_src
[  4%] Built target __idf_log
[  2%] Built target __idf_esp_http_server
[ 14%] Built target __idf_esp_rom
[  2%] Built target __idf_esp_http_client
[ 16%] Built target __idf_esp_common
[  3%] Built target __idf_tcp_transport
[ 25%] Built target __idf_esp_hw_support
[ 27%] Built target __idf_esp_system
[  4%] Built target __idf_esp_gdbstub
[ 36%] Built target __idf_efuse
[  4%] Built target __idf_esp_eth
[  5%] Built target __idf_esp_adc
[ 57%] Built target __idf_bootloader_support
[ 58%] Built target __idf_esp_app_format
[  6%] Built target __idf_esp-tls
[ 60%] Built target __idf_spi_flash
[  6%] Built target __idf_http_parser
[ 65%] Built target __idf_hal
[  7%] Built target __idf_esp_wifi
[ 68%] Built target __idf_micro-ecc
[  7%] Built target __idf_esp_coex
[ 91%] Built target __idf_soc
[ 93%] Built target __idf_xtensa
[ 95%] Built target __idf_main
[ 98%] Built target bootloader.elf
[ 16%] Built target __idf_wpa_supplicant
[100%] Built target gen_project_binary
[ 17%] Built target __idf_esp_netif
Bootloader binary size 0x51c0 bytes. 0x2e40 bytes (36%) free.
[100%] Built target bootloader_check_size
[100%] Built target app
[ 17%] No install step for 'bootloader'
[ 26%] Built target __idf_lwip
[ 26%] Completed 'bootloader'
[ 27%] Built target __idf_vfs
[ 28%] Built target bootloader
[ 29%] Built target __idf_esp_phy
[ 31%] Built target __idf_nvs_flash
[ 31%] Built target __idf_esp_event
[ 32%] Built target __idf_esp_timer
[ 33%] Built target __idf_esp_common
[ 34%] Built target __idf_cxx
[ 35%] Built target __idf_newlib
[ 37%] Built target __idf_freertos
[ 42%] Built target __idf_esp_hw_support
[ 45%] Built target __idf_soc
[ 46%] Built target __idf_heap
[ 46%] Built target __idf_log
[ 51%] Built target __idf_hal
[ 52%] Built target __idf_esp_rom
[ 56%] Built target __idf_esp_system
[ 56%] Built target __idf_pthread
[ 58%] Built target __idf_spi_flash
[ 59%] Built target __idf_esp_mm
[ 59%] Built target __idf_app_update
[ 59%] Built target __idf_esp_partition
[ 61%] Built target __idf_bootloader_support
[ 61%] Built target __idf_esp_app_format
[ 71%] Built target mbedcrypto
[ 72%] Built target mbedx509
[ 75%] Built target mbedtls
[ 75%] Built target p256m
[ 76%] Built target everest
[ 76%] Built target __idf_mbedtls
[ 76%] Built target __idf_esp_pm
[ 81%] Built target __idf_driver
[ 82%] Built target __idf_efuse
[ 82%] Built target __idf_esp_ringbuf
[ 83%] Built target __idf_xtensa
[ 84%] Built target __idf_json
[ 86%] Built target __idf_console
[ 86%] Built target __idf_protobuf-c
[ 86%] Built target __idf_app_trace
[ 86%] Built target __idf_unity
[ 87%] Built target __idf_esp_hid
[ 88%] Built target __idf_wear_levelling
[ 89%] Built target __idf_sdmmc
[ 90%] Built target __idf_spiffs
[ 91%] Built target __idf_esp_lcd
[ 91%] Built target __idf_perfmon
[ 92%] Built target __idf_espcoredump
[ 93%] Built target __idf_mqtt
[ 93%] Built target __idf_touch_element
[ 93%] Built target __idf_cmock
[ 94%] Built target __idf_usb
[ 96%] Built target __idf_protocomm
[ 97%] Built target __idf_fatfs
[ 97%] Built target __idf_esp_local_ctrl
[ 98%] Built target __idf_wifi_provisioning
[100%] Built target __idf_main
[100%] Built target __ldgen_output_sections.ld
[100%] Built target hello_world.elf
[100%] Built target gen_project_binary
hello_world.bin binary size 0x31610 bytes. Smallest app partition is 0x100000 bytes. 0xce9f0 bytes (81%) free.
[100%] Built target app_check_size
[100%] Built target app
esptool.py --chip esp32s3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.7.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.1)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_1v8)
Crystal is 40MHz
MAC: 7c:df:a1:e1:20:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00041fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20928 bytes to 13290...
Writing at 0x00000000... (100 %)
Wrote 20928 bytes (13290 compressed) at 0x00000000 in 0.7 seconds (effective 240.4 kbit/s)...
Hash of data verified.
Compressed 202256 bytes to 109837...
Writing at 0x00010000... (14 %)
Writing at 0x0001cd52... (28 %)
Writing at 0x000227c3... (42 %)
Writing at 0x00028da3... (57 %)
Writing at 0x0002f449... (71 %)
Writing at 0x0003726e... (85 %)
Writing at 0x0003cd9d... (100 %)
Wrote 202256 bytes (109837 compressed) at 0x00010000 in 4.6 seconds (effective 353.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 381.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
[100%] Built target flash
Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment