Skip to content

Instantly share code, notes, and snippets.

@KunYi
Created September 19, 2024 04:22
Show Gist options
  • Save KunYi/430a1a84e3a261488af2127f2eab000e to your computer and use it in GitHub Desktop.
Save KunYi/430a1a84e3a261488af2127f2eab000e to your computer and use it in GitHub Desktop.
idf.py flash & monitor log
kunyi@kunyi-TP-P53:/tmp/blink$ idf.py -p /dev/ttyUSB0 flash monitor
Executing action: flash
Running ninja in directory /tmp/blink/build
Executing "ninja flash"...
[1/5] cd /tmp/blink/build/esp-idf/esptool_py && /home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/... --offset 0x8000 partition --type app /tmp/blink/build/partition_table/partition-table.bin /tmp/blink/build/blink.bin
blink.bin binary size 0x2b230 bytes. Smallest app partition is 0x100000 bytes. 0xd4dd0 bytes (83%) free.
[1/1] cd /tmp/blink/build/bootloader/esp-idf/esptool_py && /home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/py...omponents/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /tmp/blink/build/bootloader/bootloader.bin
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[4/5] cd /home/kunyi/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/kunyi/esp-idf -D "SERIAL_TOOL=...@flash_args" -D WORKING_DIRECTORY=/tmp/blink/build -P /home/kunyi/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 48:e7:29:98:27:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x0003bfff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 26752 bytes to 16354...
Writing at 0x00001000... (100 %)
Wrote 26752 bytes (16354 compressed) at 0x00001000 in 0.5 seconds (effective 418.9 kbit/s)...
Hash of data verified.
Compressed 176688 bytes to 97338...
Writing at 0x00035a33... (100 %)
Wrote 176688 bytes (97338 compressed) at 0x00010000 in 2.3 seconds (effective 604.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1416.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /tmp/blink
Executing "/home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/kunyi/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /tmp/blink/build/blink.elf -m '/home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python' '/home/kunyi/esp-idf/tools/idf.py' '-p' '/dev/ttyUSB0'"...
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
x�x�x��}���ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7176
load:0x40078000,len:15564
ho 0 tail 12 room 4
load:0x40080400,len:4
--- 0x40080400: _init at ??:?
load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (31) boot: compile time Sep 19 2024 11:45:13
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v3.1
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=097e4h ( 38884) map
I (118) esp_image: segment 1: paddr=0001980c vaddr=3ffb0000 size=0223ch ( 8764) load
I (121) esp_image: segment 2: paddr=0001ba50 vaddr=40080000 size=045c8h ( 17864) load
I (130) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=13a48h ( 80456) map
I (159) esp_image: segment 4: paddr=00033a70 vaddr=400845c8 size=07790h ( 30608) load
I (178) boot: Loaded app from partition at offset 0x10000
I (178) boot: Disabling RNG early entropy source...
I (190) cpu_start: Multicore app
I (198) cpu_start: Pro cpu start user code
I (198) cpu_start: cpu freq: 160000000 Hz
I (198) app_init: Application information:
I (201) app_init: Project name: blink
I (206) app_init: App version: 1
I (210) app_init: Compile time: Sep 19 2024 11:47:56
I (216) app_init: ELF file SHA256: b6fa22085...
I (221) app_init: ESP-IDF: v5.3.1
I (226) efuse_init: Min chip rev: v0.0
I (231) efuse_init: Max chip rev: v3.99
I (236) efuse_init: Chip rev: v3.1
I (241) heap_init: Initializing. RAM available for dynamic allocation:
I (248) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (254) heap_init: At 3FFB2B00 len 0002D500 (181 KiB): DRAM
I (260) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (267) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (273) heap_init: At 4008BD58 len 000142A8 (80 KiB): IRAM
I (281) spi_flash: detected chip: generic
I (284) spi_flash: flash io: dio
I (288) main_task: Started on CPU0
I (298) main_task: Calling app_main()
I (298) example: Example configured to blink GPIO LED!
I (298) gpio: GPIO[2]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (308) example: Turning the LED OFF!
I (808) example: Turning the LED ON!
I (1308) example: Turning the LED OFF!
I (1808) example: Turning the LED ON!
I (2308) example: Turning the LED OFF!
@KunYi
Copy link
Author

KunYi commented Sep 19, 2024

in vscode terminal with examples/wifi/station

tmp/idf/station$ idf.py menuconfig

Executing action: menuconfig
Running ninja in directory /tmp/idf/station/build
Executing "ninja menuconfig"...
[0/1] cd /tmp/idf/station/build && /home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/pyth...gcc --env IDF_ENV_FPGA= --env IDF_INIT_VERSION=5.3.1 --output config /tmp/idf/station/sdkconfig
Loading defaults file /tmp/idf/station/sdkconfig.defaults...
TERM environment variable is set to "xterm-256color"
Loaded configuration '/tmp/idf/station/sdkconfig'
No changes to save (for '/tmp/idf/station/sdkconfig')
Loading defaults file /tmp/idf/station/sdkconfig.defaults...
kunyi@kunyi-TP-P53:/tmp/idf/station$ idf.py -p /dev/ttyUSB0 flash monitor
Executing action: flash
Running ninja in directory /tmp/idf/station/build
Executing "ninja flash"...
[0/1] Re-running CMake...
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /tmp/idf/station/sdkconfig
Loading defaults file /tmp/idf/station/sdkconfig.defaults...
-- Compiler supported targets: xtensa-esp-elf
-- App "wifi_station" version: 1
-- Adding linker script /tmp/idf/station/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /tmp/idf/station/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/kunyi/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_vfs_console esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/kunyi/esp-idf/components/app_trace /home/kunyi/esp-idf/components/app_update /home/kunyi/esp-idf/components/bootloader /home/kunyi/esp-idf/components/bootloader_support /home/kunyi/esp-idf/components/bt /home/kunyi/esp-idf/components/cmock /home/kunyi/esp-idf/components/console /home/kunyi/esp-idf/components/cxx /home/kunyi/esp-idf/components/driver /home/kunyi/esp-idf/components/efuse /home/kunyi/esp-idf/components/esp-tls /home/kunyi/esp-idf/components/esp_adc /home/kunyi/esp-idf/components/esp_app_format /home/kunyi/esp-idf/components/esp_bootloader_format /home/kunyi/esp-idf/components/esp_coex /home/kunyi/esp-idf/components/esp_common /home/kunyi/esp-idf/components/esp_driver_ana_cmpr /home/kunyi/esp-idf/components/esp_driver_cam /home/kunyi/esp-idf/components/esp_driver_dac /home/kunyi/esp-idf/components/esp_driver_gpio /home/kunyi/esp-idf/components/esp_driver_gptimer /home/kunyi/esp-idf/components/esp_driver_i2c /home/kunyi/esp-idf/components/esp_driver_i2s /home/kunyi/esp-idf/components/esp_driver_isp /home/kunyi/esp-idf/components/esp_driver_jpeg /home/kunyi/esp-idf/components/esp_driver_ledc /home/kunyi/esp-idf/components/esp_driver_mcpwm /home/kunyi/esp-idf/components/esp_driver_parlio /home/kunyi/esp-idf/components/esp_driver_pcnt /home/kunyi/esp-idf/components/esp_driver_ppa /home/kunyi/esp-idf/components/esp_driver_rmt /home/kunyi/esp-idf/components/esp_driver_sdio /home/kunyi/esp-idf/components/esp_driver_sdm /home/kunyi/esp-idf/components/esp_driver_sdmmc /home/kunyi/esp-idf/components/esp_driver_sdspi /home/kunyi/esp-idf/components/esp_driver_spi /home/kunyi/esp-idf/components/esp_driver_touch_sens /home/kunyi/esp-idf/components/esp_driver_tsens /home/kunyi/esp-idf/components/esp_driver_uart /home/kunyi/esp-idf/components/esp_driver_usb_serial_jtag /home/kunyi/esp-idf/components/esp_eth /home/kunyi/esp-idf/components/esp_event /home/kunyi/esp-idf/components/esp_gdbstub /home/kunyi/esp-idf/components/esp_hid /home/kunyi/esp-idf/components/esp_http_client /home/kunyi/esp-idf/components/esp_http_server /home/kunyi/esp-idf/components/esp_https_ota /home/kunyi/esp-idf/components/esp_https_server /home/kunyi/esp-idf/components/esp_hw_support /home/kunyi/esp-idf/components/esp_lcd /home/kunyi/esp-idf/components/esp_local_ctrl /home/kunyi/esp-idf/components/esp_mm /home/kunyi/esp-idf/components/esp_netif /home/kunyi/esp-idf/components/esp_netif_stack /home/kunyi/esp-idf/components/esp_partition /home/kunyi/esp-idf/components/esp_phy /home/kunyi/esp-idf/components/esp_pm /home/kunyi/esp-idf/components/esp_psram /home/kunyi/esp-idf/components/esp_ringbuf /home/kunyi/esp-idf/components/esp_rom /home/kunyi/esp-idf/components/esp_system /home/kunyi/esp-idf/components/esp_timer /home/kunyi/esp-idf/components/esp_vfs_console /home/kunyi/esp-idf/components/esp_wifi /home/kunyi/esp-idf/components/espcoredump /home/kunyi/esp-idf/components/esptool_py /home/kunyi/esp-idf/components/fatfs /home/kunyi/esp-idf/components/freertos /home/kunyi/esp-idf/components/hal /home/kunyi/esp-idf/components/heap /home/kunyi/esp-idf/components/http_parser /home/kunyi/esp-idf/components/idf_test /home/kunyi/esp-idf/components/ieee802154 /home/kunyi/esp-idf/components/json /home/kunyi/esp-idf/components/log /home/kunyi/esp-idf/components/lwip /tmp/idf/station/main /home/kunyi/esp-idf/components/mbedtls /home/kunyi/esp-idf/components/mqtt /home/kunyi/esp-idf/components/newlib /home/kunyi/esp-idf/components/nvs_flash /home/kunyi/esp-idf/components/nvs_sec_provider /home/kunyi/esp-idf/components/openthread /home/kunyi/esp-idf/components/partition_table /home/kunyi/esp-idf/components/perfmon /home/kunyi/esp-idf/components/protobuf-c /home/kunyi/esp-idf/components/protocomm /home/kunyi/esp-idf/components/pthread /home/kunyi/esp-idf/components/sdmmc /home/kunyi/esp-idf/components/soc /home/kunyi/esp-idf/components/spi_flash /home/kunyi/esp-idf/components/spiffs /home/kunyi/esp-idf/components/tcp_transport /home/kunyi/esp-idf/components/ulp /home/kunyi/esp-idf/components/unity /home/kunyi/esp-idf/components/usb /home/kunyi/esp-idf/components/vfs /home/kunyi/esp-idf/components/wear_levelling /home/kunyi/esp-idf/components/wifi_provisioning /home/kunyi/esp-idf/components/wpa_supplicant /home/kunyi/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/idf/station/build
[15/965] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:


ESP-IDF Partition Table

Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,


[452/965] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.46.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/kunyi/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/kunyi/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/kunyi/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /tmp/idf/station/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Adding linker script /home/kunyi/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/kunyi/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/kunyi/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/kunyi/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /home/kunyi/esp-idf/components/bootloader /home/kunyi/esp-idf/components/bootloader_support /home/kunyi/esp-idf/components/efuse /home/kunyi/esp-idf/components/esp_app_format /home/kunyi/esp-idf/components/esp_bootloader_format /home/kunyi/esp-idf/components/esp_common /home/kunyi/esp-idf/components/esp_hw_support /home/kunyi/esp-idf/components/esp_rom /home/kunyi/esp-idf/components/esp_system /home/kunyi/esp-idf/components/esptool_py /home/kunyi/esp-idf/components/freertos /home/kunyi/esp-idf/components/hal /home/kunyi/esp-idf/components/log /home/kunyi/esp-idf/components/bootloader/subproject/main /home/kunyi/esp-idf/components/bootloader/subproject/components/micro-ecc /home/kunyi/esp-idf/components/newlib /home/kunyi/esp-idf/components/partition_table /home/kunyi/esp-idf/components/soc /home/kunyi/esp-idf/components/spi_flash /home/kunyi/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/idf/station/build/bootloader
[107/108] Generating binary image from built executable
esptool.py v4.8.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated /tmp/idf/station/build/bootloader/bootloader.bin
[108/108] cd /tmp/idf/station/build/bootloader/esp-idf/esptool_py && /home/kunyi/.espressif/pyt...eck_sizes.py --offset 0x8000 bootloader 0x1000 /tmp/idf/station/build/bootloader/bootloader.bin
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[963/965] Generating binary image from built executable
esptool.py v4.8.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated /tmp/idf/station/build/wifi_station.bin
[964/965] cd /tmp/idf/station/build/esp-idf/esptool_py && /home/kunyi/.espressif/python_env/idf...p/idf/station/build/partition_table/partition-table.bin /tmp/idf/station/build/wifi_station.bin
wifi_station.bin binary size 0xb2200 bytes. Smallest app partition is 0x100000 bytes. 0x4de00 bytes (30%) free.
[964/965] cd /home/kunyi/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/kuny...CTORY=/tmp/idf/station/build -P /home/kunyi/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 wifi_station.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.0
Serial port /dev/ttyUSB0
Connecting......
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 48:e7:29:98:27:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x000c2fff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 26752 bytes to 16355...
Writing at 0x00001000... (100 %)
Wrote 26752 bytes (16355 compressed) at 0x00001000 in 0.5 seconds (effective 414.3 kbit/s)...
Hash of data verified.
Compressed 729600 bytes to 462116...
Writing at 0x000c0c10... (100 %)
Wrote 729600 bytes (462116 compressed) at 0x00010000 in 10.4 seconds (effective 559.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1271.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /tmp/idf/station
Executing "/home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/kunyi/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /tmp/idf/station/build/wifi_station.elf -m '/home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python' '/home/kunyi/esp-idf/tools/idf.py' '-p' '/dev/ttyUSB0'"...
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7176
load:0x40078000,len:15564
ho 0 tail 12 room 4
load:0x40080400,len:4
--- 0x40080400: _init at ??:?

load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (31) boot: compile time Sep 19 2024 16:12:32
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v3.1
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1e900h (125184) map
I (147) esp_image: segment 1: paddr=0002e928 vaddr=3ffb0000 size=016f0h ( 5872) load
I (150) esp_image: segment 2: paddr=00030020 vaddr=400d0020 size=786dch (493276) map
I (322) esp_image: segment 3: paddr=000a8704 vaddr=3ffb16f0 size=027d0h ( 10192) load
I (326) esp_image: segment 4: paddr=000aaedc vaddr=40080000 size=172f4h ( 94964) load
I (377) boot: Loaded app from partition at offset 0x10000
I (377) boot: Disabling RNG early entropy source...
I (389) cpu_start: Multicore app
I (397) cpu_start: Pro cpu start user code
I (397) cpu_start: cpu freq: 160000000 Hz
I (397) app_init: Application information:
I (400) app_init: Project name: wifi_station
I (405) app_init: App version: 1
I (410) app_init: Compile time: Sep 19 2024 16:12:26
I (416) app_init: ELF file SHA256: 052a575d5...
I (421) app_init: ESP-IDF: v5.3.1
I (426) efuse_init: Min chip rev: v0.0
I (431) efuse_init: Max chip rev: v3.99
I (436) efuse_init: Chip rev: v3.1
I (441) heap_init: Initializing. RAM available for dynamic allocation:
I (448) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (454) heap_init: At 3FFB8090 len 00027F70 (159 KiB): DRAM
I (460) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (466) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (473) heap_init: At 400972F4 len 00008D0C (35 KiB): IRAM
I (480) spi_flash: detected chip: generic
I (483) spi_flash: flash io: dio
I (488) main_task: Started on CPU0
I (498) main_task: Calling app_main()
I (518) wifi station: ESP_WIFI_MODE_STA
I (528) wifi:wifi driver task: 3ffbff60, prio:23, stack:6656, core=0
I (538) wifi:wifi firmware version: ccaebfa
I (538) wifi:wifi certification version: v7.0
I (538) wifi:config NVS flash: enabled
I (538) wifi:config nano formating: disabled
I (538) wifi:Init data frame dynamic rx buffer num: 32
I (548) wifi:Init static rx mgmt buffer num: 5
I (548) wifi:Init management short buffer num: 32
I (558) wifi:Init dynamic tx buffer num: 32
I (558) wifi:Init static rx buffer size: 1600
I (558) wifi:Init static rx buffer num: 10
I (568) wifi:Init dynamic rx buffer num: 32
I (568) wifi_init: rx ba win: 6
I (578) wifi_init: accept mbox: 6
I (578) wifi_init: tcpip mbox: 32
I (578) wifi_init: udp mbox: 6
I (588) wifi_init: tcp mbox: 6
I (588) wifi_init: tcp tx win: 5760
I (598) wifi_init: tcp rx win: 5760
I (598) wifi_init: tcp mss: 1440
I (598) wifi_init: WiFi IRAM OP enabled
I (608) wifi_init: WiFi RX IRAM OP enabled
I (638) phy_init: phy_version 4830,54550f7,Jun 20 2024,14:22:08
I (728) wifi:mode : sta (48:e7:29:98:27:a0)
I (728) wifi:enable tsf
I (728) wifi station: wifi_init_sta finished.
I (3148) wifi station: retry to connect to the AP
I (3148) wifi station: connect to the AP fail
I (5558) wifi station: retry to connect to the AP
I (5558) wifi station: connect to the AP fail
I (7968) wifi station: retry to connect to the AP
I (7968) wifi station: connect to the AP fail
I (10388) wifi station: retry to connect to the AP
I (10388) wifi station: connect to the AP fail
I (12798) wifi station: retry to connect to the AP
I (12798) wifi station: connect to the AP fail
I (15208) wifi station: connect to the AP fail
I (15208) wifi station: Failed to connect to SSID:myssid, password:mypassword
I (15208) main_task: Returned from app_main()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment