环境:windows下esp_adf v2.3+esp_idf v4.4 + vscode
在vscode里面编译成功但是,有编译警告如下,然后下载到开发板ESP32-LyraT v4.3运行后出现错误提示!
是不是adf v2.3不能支持idf v4.4
[97/97] cmd.exe /C "cd /D C:\Espressif\voip\build\bootloader\esp-idf\esptool_py && c:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Espressif/voip/build/bootloader/bootloader.bin"
Bootloader binary size 0x6990 bytes. 0x670 bytes (6%) free.
[1007/1175] Building C object esp-idf/audio_sal/CMakeFiles/__idf_audio_sal.dir/audio_thread.c.obj
C:/Espressif/esp-adf/components/audio_sal/audio_thread.c: In function 'audio_thread_create':
C:/Espressif/esp-adf/components/audio_sal/audio_thread.c:71:64: warning: passing argument 2 of 'xTaskCreateRestrictedPinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
if (xTaskCreateRestrictedPinnedToCore(&xRegParameters, (xTaskHandle)p_handle, core_id) != pdPASS) {
^~~~~~~~~~~~~~~~~~~~~
C:/Espressif/esp-adf/components/audio_sal/audio_thread.c:36:130: note: expected 'struct tskTaskControlBlock **' but argument is of type 'struct tskTaskControlBlock *'
BaseType_t __attribute__((weak)) xTaskCreateRestrictedPinnedToCore(const TaskParameters_t *const pxTaskDefinition, TaskHandle_t *pxCreatedTask, const BaseType_t xCoreID)
~~~~~~~~~~~~~~^~~~~~~~~~~~~
C:/Espressif/esp-adf/components/audio_sal/audio_thread.c:76:72: warning: passing argument 6 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
if (xTaskCreatePinnedToCore(main_func, name, stack, arg, prio, (xTaskHandle)p_handle, core_id) != pdPASS) {
^~~~~~~~~~~~~~~~~~~~~
In file included from C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/include/freertos/queue.h:41,
from C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/include/freertos/semphr.h:34,
from C:/Espressif/esp-adf/components/audio_sal/audio_thread.c:26:
C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/include/freertos/task.h:350:62: note: expected 'struct tskTaskControlBlock ** const' but argument is of type 'struct tskTaskControlBlock *'
TaskHandle_t * const pvCreatedTask,
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[1174/1175] Generating binary image from built executable
下载到开发板ESP32-LyraT v4.3运行后出现错误提示
I (0) cpu_start: App cpu up.
I (972) spiram: SPI SRAM memory test OK
I (980) cpu_start: Pro cpu start user code
I (981) cpu_start: cpu freq: 240000000
I (981) cpu_start: Application information:
I (983) cpu_start: Project name: voip_app
I (988) cpu_start: App version: 1
I (993) cpu_start: Compile time: Feb 15 2022 16:57:42
I (999) cpu_start: ELF file SHA256: 1f1c68a047361ceb...
I (1005) cpu_start: ESP-IDF: v4.4-dirty
I (1010) heap_init: Initializing. RAM available for dynamic allocation:
I (1017) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1024) heap_init: At 3FFB4FE8 len 0002B018 (172 KiB): DRAM
I (1030) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1036) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1043) heap_init: At 40094400 len 0000BC00 (47 KiB): IRAM
I (1049) spiram: Adding pool of 4084K of external SPI memory to heap allocator
I (1058) spi_flash: detected chip: gd
I (1061) spi_flash: flash io: qio
I (1066) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1076) spiram: Reserving pool of 18K of internal memory for DMA/internal allocations
I (1106) VOIP_EXAMPLE: [1.0] Initialize peripherals management
I (1106) VOIP_EXAMPLE: [1.1] Initialize and start peripherals
I (1116) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (1126) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (1126) VOIP_EXAMPLE: [1.2] Create and start input key service
W (1146) PERIPH_TOUCH: _touch_init
I (1146) VOIP_EXAMPLE: [ 1.3 ] Create display service instance
I (1156) VOIP_EXAMPLE: [ 2 ] Start codec chip
I (1156) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
E (1166) gpio: gpio_install_isr_service(449): GPIO isr service already installed
I (1196) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1196) ES8388_DRIVER: init,out:02, in:00
I (1206) AUDIO_HAL: Codec mode is 3, Ctrl:1
I (1206) VOIP_EXAMPLE: [ 3 ] Initialize tone player
I (1216) AUDIO_THREAD: The media_task task allocate stack on external memory
E (1216) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first
E (1236) AUDIO_THREAD: Error creating RestrictedPinnedToCore media_task
E (1246) ESP_AUDIO_CTRL: Error create media_task
E (1246) PLAYER_INT_TONE: audio_player_int_tone.c:44 (audio_player_int_tone_init): Memory exhausted
I (1256) VOIP_EXAMPLE: [ 4 ] Create Wi-Fi service instance
E (1266) DISPATCHER: exe first list: 0x0
I (1286) DISPATCHER: dispatcher_event_task is running...
E (1286) WIFI_SSID_MANAGER: Fail to get configuration from nvs flash
I (1286) AUDIO_THREAD: The wifi_serv task allocate stack on external memory
E (1296) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first
E (1306) AUDIO_THREAD: Error creating RestrictedPinnedToCore wifi_serv
E (1326) PERIPH_SERVICE: Create task failed on periph_service_create
E (1326) WIFI_SERV: wifi_service.c:686 (wifi_service_create): Memory exhausted
E (1356) WIFI_SERV: wifi_service.c:518 (wifi_service_register_setting_handle): Got NULL Pointer
E (1356) WIFI_SERV: wifi_service.c:576 (wifi_service_set_sta_info): Got NULL Pointer
E (1356) WIFI_SERV: wifi_service.c:560 (wifi_service_connect): Got NULL Pointer
example voip编译下载后运行出现错误MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore
Re: example voip编译下载后运行出现错误MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore
自己顶一下,按提示去安装patch 但是patch打不上去。
-
- Posts: 184
- Joined: Fri Dec 15, 2017 2:45 am
Re: example voip编译下载后运行出现错误MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore
你好,
我看到你的 log 中有如下提示:
E (1216) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first
这个其实是有点问题的(bugfix 很快会 Merge), 你使用的是 IDF v4.4 版本, 那么应该使用 https://github.com/espressif/esp-adf/bl ... rtos.patch 这个 patch 打上补丁。
上述提示仍然是 v3.3 是有误导, https://github.com/espressif/esp-adf/bl ... rtos.patch 这个 patch 只适用于 IDF v3.3 的分支。
希望上述,对你有帮助,谢谢。
我看到你的 log 中有如下提示:
E (1216) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first
这个其实是有点问题的(bugfix 很快会 Merge), 你使用的是 IDF v4.4 版本, 那么应该使用 https://github.com/espressif/esp-adf/bl ... rtos.patch 这个 patch 打上补丁。
上述提示仍然是 v3.3 是有误导, https://github.com/espressif/esp-adf/bl ... rtos.patch 这个 patch 只适用于 IDF v3.3 的分支。
希望上述,对你有帮助,谢谢。
-
- Posts: 2
- Joined: Wed Aug 03, 2022 11:03 am
Re: example voip编译下载后运行出现错误MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore
Hi,
I am wondering if you resolved this problem. I am new to LaraT 4.3 board and have encountered the same issue. Can you help me with this?
Thanks
here is the whole flash process
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'c:\esp\esp-adf\examples\speech_recognition\wwe\build' is empty. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\esp\esp-adf\examples\speech_recognition\wwe"...
-- Found Git: C:/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig
Loading defaults file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults...
C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults:36 CONFIG_TASK_WDT_TIMEOUT_S was replaced with CONFIG_ESP_TASK_WDT_TIMEOUT_S
Loading defaults file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults.esp32...
C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults.esp32:418 CONFIG_TASK_WDT_TIMEOUT_S was replaced with CONFIG_ESP_TASK_WDT_TIMEOUT_S
-- Found Python3: C:/esp/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe (found version "3.8.7") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "example_wwe" version: v2.4-77-g478513b-dirty
-- Adding linker script C:/esp/esp-adf/examples/speech_recognition/wwe/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/esp/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Chip is esp32, C:/esp/esp-adf/components/esp-adf-libs
-- Current board name is CONFIG_ESP_LYRAT_MINI_V1_1_BOARD
-- Components: adf_utils app_trace app_update asio audio_board audio_flash_tone audio_hal audio_pipeline audio_recorder audio_sal audio_stream battery_service bluetooth_service bootloader bootloader_support bt cbor clouds cmock coap console coredump_upload_service cxx display_service driver dueros_service efuse esp-adf-libs esp-sr esp-tls esp32 esp_actions esp_adc_cal esp_common esp_dispatcher esp_eth esp_event esp_event_cast esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_peripherals esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 input_key_service jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread ota_service partition_table perfmon playlist protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb tone_partition ulp unity usb vfs wear_levelling wifi_provisioning wifi_service wpa_supplicant xtensa
-- Component paths: C:/esp/esp-adf/components/adf_utils C:/esp/esp-idf/components/app_trace C:/esp/esp-idf/components/app_update C:/esp/esp-idf/components/asio C:/esp/esp-adf/components/audio_board C:/esp/esp-adf/examples/speech_recognition/wwe/components/audio_flash_tone C:/esp/esp-adf/components/audio_hal C:/esp/esp-adf/components/audio_pipeline C:/esp/esp-adf/components/audio_recorder C:/esp/esp-adf/components/audio_sal C:/esp/esp-adf/components/audio_stream C:/esp/esp-adf/components/battery_service C:/esp/esp-adf/components/bluetooth_service C:/esp/esp-idf/components/bootloader C:/esp/esp-idf/components/bootloader_support C:/esp/esp-idf/components/bt C:/esp/esp-idf/components/cbor C:/esp/esp-adf/components/clouds C:/esp/esp-idf/components/cmock C:/esp/esp-idf/components/coap C:/esp/esp-idf/components/console C:/esp/esp-adf/components/coredump_upload_service C:/esp/esp-idf/components/cxx C:/esp/esp-adf/components/display_service C:/esp/esp-idf/components/driver C:/esp/esp-adf/components/dueros_service C:/esp/esp-idf/components/efuse C:/esp/esp-adf/components/esp-adf-libs C:/esp/esp-adf/components/esp-sr C:/esp/esp-idf/components/esp-tls C:/esp/esp-idf/components/esp32 C:/esp/esp-adf/components/esp_actions C:/esp/esp-idf/components/esp_adc_cal C:/esp/esp-idf/components/esp_common C:/esp/esp-adf/components/esp_dispatcher C:/esp/esp-idf/components/esp_eth C:/esp/esp-idf/components/esp_event C:/esp/esp-adf/components/esp_event_cast C:/esp/esp-idf/components/esp_gdbstub C:/esp/esp-idf/components/esp_hid C:/esp/esp-idf/components/esp_http_client C:/esp/esp-idf/components/esp_http_server C:/esp/esp-idf/components/esp_https_ota C:/esp/esp-idf/components/esp_https_server C:/esp/esp-idf/components/esp_hw_support C:/esp/esp-idf/components/esp_ipc C:/esp/esp-idf/components/esp_lcd C:/esp/esp-idf/components/esp_local_ctrl C:/esp/esp-idf/components/esp_netif C:/esp/esp-adf/components/esp_peripherals C:/esp/esp-idf/components/esp_phy C:/esp/esp-idf/components/esp_pm C:/esp/esp-idf/components/esp_ringbuf C:/esp/esp-idf/components/esp_rom C:/esp/esp-idf/components/esp_serial_slave_link C:/esp/esp-idf/components/esp_system C:/esp/esp-idf/components/esp_timer C:/esp/esp-idf/components/esp_websocket_client C:/esp/esp-idf/components/esp_wifi C:/esp/esp-idf/components/espcoredump C:/esp/esp-idf/components/esptool_py C:/esp/esp-idf/components/expat C:/esp/esp-idf/components/fatfs C:/esp/esp-idf/components/freemodbus C:/esp/esp-idf/components/freertos C:/esp/esp-idf/components/hal C:/esp/esp-idf/components/heap C:/esp/esp-idf/components/idf_test C:/esp/esp-idf/components/ieee802154 C:/esp/esp-adf/components/input_key_service C:/esp/esp-idf/components/jsmn C:/esp/esp-idf/components/json C:/esp/esp-idf/components/libsodium C:/esp/esp-idf/components/log C:/esp/esp-idf/components/lwip C:/esp/esp-adf/examples/speech_recognition/wwe/main C:/esp/esp-idf/components/mbedtls C:/esp/esp-idf/components/mdns C:/esp/esp-idf/components/mqtt C:/esp/esp-idf/components/newlib C:/esp/esp-idf/components/nghttp C:/esp/esp-idf/components/nvs_flash C:/esp/esp-idf/components/openssl C:/esp/esp-idf/components/openthread C:/esp/esp-adf/components/ota_service C:/esp/esp-idf/components/partition_table C:/esp/esp-idf/components/perfmon C:/esp/esp-adf/components/playlist C:/esp/esp-idf/components/protobuf-c C:/esp/esp-idf/components/protocomm C:/esp/esp-idf/components/pthread C:/esp/esp-idf/components/sdmmc C:/esp/esp-idf/components/soc C:/esp/esp-idf/components/spi_flash C:/esp/esp-idf/components/spiffs C:/esp/esp-idf/components/tcp_transport C:/esp/esp-idf/components/tcpip_adapter C:/esp/esp-idf/components/tinyusb C:/esp/esp-adf/components/tone_partition C:/esp/esp-idf/components/ulp C:/esp/esp-idf/components/unity C:/esp/esp-idf/components/usb C:/esp/esp-idf/components/vfs C:/esp/esp-idf/components/wear_levelling C:/esp/esp-idf/components/wifi_provisioning C:/esp/esp-adf/components/wifi_service C:/esp/esp-idf/components/wpa_supplicant C:/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/esp/esp-adf/examples/speech_recognition/wwe/build
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "ninja all"...
[142/1205] 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,16K,
otadata,data,ota,0xd000,8K,
phy_init,data,phy,0xf000,4K,
ota_0,app,ota_0,0x10000,3M,
flash_tone,data,39,0x310000,200K,
*******************************************************************************
[652/1205] Performing configure step for 'bootloader'
-- Found Git: C:/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig
-- Adding linker script C:/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 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: C:/esp/esp-idf/components/bootloader C:/esp/esp-idf/components/bootloader_support C:/esp/esp-idf/components/efuse C:/esp/esp-idf/components/esp32 C:/esp/esp-idf/components/esp_common C:/esp/esp-idf/components/esp_hw_support C:/esp/esp-idf/components/esp_rom C:/esp/esp-idf/components/esp_system C:/esp/esp-idf/components/esptool_py C:/esp/esp-idf/components/freertos C:/esp/esp-idf/components/hal C:/esp/esp-idf/components/log C:/esp/esp-idf/components/bootloader/subproject/main C:/esp/esp-idf/components/bootloader/subproject/components/micro-ecc C:/esp/esp-idf/components/newlib C:/esp/esp-idf/components/partition_table C:/esp/esp-idf/components/soc C:/esp/esp-idf/components/spi_flash C:/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader
[938/1205] Performing build step for 'bootloader'
[1/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[2/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[3/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[4/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[5/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[6/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[7/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[8/97] Generating project_elf_src_esp32.c
[9/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[10/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[11/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[12/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[13/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[14/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[15/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[16/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[17/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[18/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[19/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[20/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[21/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[22/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[23/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[24/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[25/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[26/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[27/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[28/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[29/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[30/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[31/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[32/97] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[33/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[34/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[35/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[36/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[37/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[38/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[39/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[40/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[41/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[42/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[43/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[44/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[45/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[46/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[47/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[48/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[49/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[50/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[51/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[52/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[53/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[54/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[55/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[56/97] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[57/97] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[58/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[59/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[60/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[61/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[62/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[63/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[64/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[65/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[66/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[67/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[68/97] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[69/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[70/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[71/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
[72/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[73/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[74/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[75/97] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[76/97] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[77/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[78/97] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[79/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[80/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[81/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[82/97] Linking C static library esp-idf\log\liblog.a
[83/97] Linking C static library esp-idf\esp_rom\libesp_rom.a
[84/97] Linking C static library esp-idf\esp_common\libesp_common.a
[85/97] Linking C static library esp-idf\xtensa\libxtensa.a
[86/97] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[87/97] Linking C static library esp-idf\esp_system\libesp_system.a
[88/97] Linking C static library esp-idf\efuse\libefuse.a
[89/97] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/97] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/97] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/97] Linking C static library esp-idf\soc\libsoc.a
[93/97] Linking C static library esp-idf\hal\libhal.a
[94/97] Linking C static library esp-idf\main\libmain.a
[95/97] Linking C executable bootloader.elf
[96/97] Generating binary image from built executable
esptool.py v3.3-dev
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin
[97/97] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\build\bootloader\esp-idf\esptool_py && C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin"
Bootloader binary size 0x69b0 bytes. 0x650 bytes (6%) free.
[1204/1205] Generating binary image from built executable
esptool.py v3.3-dev
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin
[1205/1205] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognitio...n C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin"
example_wwe.bin binary size 0xc8c20 bytes. Smallest app partition is 0x300000 bytes. 0x2373e0 bytes (74%) free.
Project build complete. To flash, run this command:
C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe ..\..\..\..\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0xd000 build\ota_data_initial.bin 0x10000 build\example_wwe.bin 0x310000 tone\audio_tone.bin
or run 'idf.py -p (PORT) flash'
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py flahs monitor
Executing action: flahs
ninja: error: unknown target 'flahs', did you mean 'flash'?
command "flahs" is not known to idf.py and is not a Ninja target
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py flash monitor
Executing action: flash
Serial port COM4
Connecting..........
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Running ninja in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "ninja flash"...
[1/5] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\...n C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin"
example_wwe.bin binary size 0xc8c20 bytes. Smallest app partition is 0x300000 bytes. 0x2373e0 bytes (74%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\build\bootloader\esp-idf\esptool_py && C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin"
Bootloader binary size 0x69b0 bytes. 0x650 bytes (6%) free.
[2/3] cmd.exe /C "cd /D C:\esp\esp-idf\components\esptool_py && C:\esp\...e/build" -P C:/esp/esp-idf/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32 -p COM4 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 example_wwe.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0x310000 ../tone/audio_tone.bin
esptool.py v3.3-dev
Serial port COM4
Connecting...
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 8c:4b:14:14:f2:1c
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 0x000d8fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00310000 to 0x00313fff...
Compressed 27056 bytes to 16904...
Writing at 0x00001000... (50 %)
Writing at 0x00007726... (100 %)
Wrote 27056 bytes (16904 compressed) at 0x00001000 in 0.7 seconds (effective 289.6 kbit/s)...
Hash of data verified.
Compressed 822304 bytes to 484144...
Writing at 0x00010000... (3 %)
Writing at 0x0001b70a... (6 %)
Writing at 0x000223db... (10 %)
Writing at 0x000265a2... (13 %)
Writing at 0x0002a8cc... (16 %)
Writing at 0x0002ec32... (20 %)
Writing at 0x00032f17... (23 %)
Writing at 0x0003a894... (26 %)
Writing at 0x00047d92... (30 %)
Writing at 0x00054158... (33 %)
Writing at 0x000595de... (36 %)
Writing at 0x0005f2c1... (40 %)
Writing at 0x0006456a... (43 %)
Writing at 0x00069735... (46 %)
Writing at 0x0006ea66... (50 %)
Writing at 0x00073df2... (53 %)
Writing at 0x00079115... (56 %)
Writing at 0x0007ef4f... (60 %)
Writing at 0x0008509a... (63 %)
Writing at 0x0008c364... (66 %)
Writing at 0x00095cef... (70 %)
Writing at 0x0009eadc... (73 %)
Writing at 0x000a4e65... (76 %)
Writing at 0x000ab870... (80 %)
Writing at 0x000b3cf3... (83 %)
Writing at 0x000bcf2e... (86 %)
Writing at 0x000c4f7c... (90 %)
Writing at 0x000cac12... (93 %)
Writing at 0x000d01b4... (96 %)
Writing at 0x000d587c... (100 %)
Wrote 822304 bytes (484144 compressed) at 0x00010000 in 11.4 seconds (effective 576.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 139...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (139 compressed) at 0x00008000 in 0.1 seconds (effective 439.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0000d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 630.1 kbit/s)...
Hash of data verified.
Compressed 15312 bytes to 8876...
Writing at 0x00310000... (100 %)
Wrote 15312 bytes (8876 compressed) at 0x00310000 in 0.4 seconds (effective 287.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Serial port COM4
Connecting..............
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting.....
Detecting chip type... ESP32
Running idf_monitor in directory c:\esp\esp-adf\examples\speech_recognition\wwe
Executing "C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 c:\esp\esp-adf\examples\speech_recognition\wwe\build\example_wwe.elf -m 'C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:/esp/esp-idf/\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM4 instead...
--- idf_monitor on \\.\COM4 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Done
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py monitor
Executing action: monitor
Serial port COM4
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Running idf_monitor in directory c:\esp\esp-adf\examples\speech_recognition\wwe
Executing "C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 c:\esp\esp-adf\examples\speech_recognition\wwe\build\example_wwe.elf -m 'C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:/esp/esp-idf/\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM4 instead...
--- idf_monitor on \\.\COM4 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:0x1f (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:1
load:0x3fff0030,len:6952
load:0x40078000,len:15520
load:0x40080400,len:4492
0x40080400: _init at ??:?
entry 0x400806b4
I (27) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (27) boot: compile time 16:23:07
I (27) boot: chip revision: 3
I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (37) qio_mode: Enabling default flash chip QIO
I (42) boot.esp32: SPI Speed : 80MHz
I (47) boot.esp32: SPI Mode : QIO
I (52) boot.esp32: SPI Flash Size : 4MB
I (56) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (65) boot: ## Label Usage Type ST Offset Length
I (72) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (80) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (87) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (95) boot: 3 ota_0 OTA app 00 10 00010000 00300000
I (102) boot: 4 flash_tone Unknown data 01 27 00310000 00032000
I (110) boot: End of partition table
I (114) boot: No factory image, trying OTA 0
I (119) boot_comm: chip revision: 3, min. application chip revision: 0
I (126) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3e800h (256000) map
I (205) esp_image: segment 1: paddr=0004e828 vaddr=3ffb0000 size=017f0h ( 6128) load
I (208) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=744a4h (476324) map
I (342) esp_image: segment 3: paddr=000c44cc vaddr=3ffb17f0 size=01064h ( 4196) load
I (344) esp_image: segment 4: paddr=000c5538 vaddr=40080000 size=136a8h ( 79528) load
I (374) esp_image: segment 5: paddr=000d8be8 vaddr=50000000 size=00010h ( 16) load
I (384) boot: Loaded app from partition at offset 0x10000
I (423) boot: Set actual ota_seq=1 in otadata[0]
I (423) boot: Disabling RNG early entropy source...
I (434) psram: This chip is ESP32-D0WD
I (434) spiram: Found 64MBit SPI RAM device
I (434) spiram: SPI RAM mode: flash 80m sram 80m
I (437) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (444) cpu_start: Pro cpu up.
I (448) cpu_start: Starting app cpu, entry point is 0x400816ac
0x400816ac: call_start_cpu1 at C:/esp/esp-idf/components/esp_system/port/cpu_start.c:160
I (0) cpu_start: App cpu up.
I (929) spiram: SPI SRAM memory test OK
I (937) cpu_start: Pro cpu start user code
I (937) cpu_start: cpu freq: 240000000
I (937) cpu_start: Application information:
I (940) cpu_start: Project name: example_wwe
I (945) cpu_start: App version: v2.4-77-g478513b-dirty
I (952) cpu_start: Compile time: Aug 4 2022 16:22:52
I (958) cpu_start: ELF file SHA256: 8a2cc41ac35dbefc...
I (964) cpu_start: ESP-IDF: v4.4.1
I (969) heap_init: Initializing. RAM available for dynamic allocation:
I (976) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (982) heap_init: At 3FFB4888 len 0002B778 (173 KiB): DRAM
I (988) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (994) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1001) heap_init: At 400936A8 len 0000C958 (50 KiB): IRAM
I (1007) spiram: Adding pool of 4095K of external SPI memory to heap allocator
I (1015) spi_flash: detected chip: generic
I (1020) spi_flash: flash io: qio
W (1024) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (1038) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1048) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
E (1058) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (1078) AUDIO_THREAD: Error creating RestrictedPinnedToCore esp_periph
E (1088) ESP_PERIPH: Create [periph_adc_btn] task failed
E (1088) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1098) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1118) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1128) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1138) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1158) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1168) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1178) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1188) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1208) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1218) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (2228) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
I (2228) DRV8311: ES8311 in Slave mode
E (2228) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (2238) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3258) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3258) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4268) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4268) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (5278) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (5278) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (6288) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (6288) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (7298) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (7298) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (8308) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (8308) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (9318) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (9318) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (10328) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (10328) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (11338) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (11338) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12348) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (12348) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12358) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12368) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12388) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
I (12398) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (13408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (14408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (14408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (14418) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (15428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (16428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (16428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16438) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16448) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16468) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16478) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16488) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16498) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16518) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16528) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16538) DRV7243: Es7243 initialize failed!
E (16548) AUDIO_HAL: codec init failed!
E (16548) AUDIO_BOARD: board.c:54 (audio_board_adc_init): Got NULL Pointer
W (16558) AUDIO_BOARD: The board has already been initialized!
E (16568) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (16578) AUDIO_THREAD: Error creating RestrictedPinnedToCore media_task
E (16588) ESP_AUDIO_CTRL: Error create media_task
E (17598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (18598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (18598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18608) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18618) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18638) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18648) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (19928) AUDIO_THREAD: Error creating RestrictedPinnedToCore feed_task
E (19938) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (19948) AUDIO_THREAD: Error creating RestrictedPinnedToCore fetch_task
E (19958) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (19978) AUDIO_THREAD: Error creating RestrictedPinnedToCore recorder_task
E (19988) AUDIO_RECORDER: Fail to create recorder_task
E (19998) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (20018) AUDIO_THREAD: Error creating RestrictedPinnedToCore read_task
I am wondering if you resolved this problem. I am new to LaraT 4.3 board and have encountered the same issue. Can you help me with this?
Thanks
here is the whole flash process
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'c:\esp\esp-adf\examples\speech_recognition\wwe\build' is empty. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\esp\esp-adf\examples\speech_recognition\wwe"...
-- Found Git: C:/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig
Loading defaults file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults...
C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults:36 CONFIG_TASK_WDT_TIMEOUT_S was replaced with CONFIG_ESP_TASK_WDT_TIMEOUT_S
Loading defaults file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults.esp32...
C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig.defaults.esp32:418 CONFIG_TASK_WDT_TIMEOUT_S was replaced with CONFIG_ESP_TASK_WDT_TIMEOUT_S
-- Found Python3: C:/esp/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe (found version "3.8.7") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "example_wwe" version: v2.4-77-g478513b-dirty
-- Adding linker script C:/esp/esp-adf/examples/speech_recognition/wwe/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/esp/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Chip is esp32, C:/esp/esp-adf/components/esp-adf-libs
-- Current board name is CONFIG_ESP_LYRAT_MINI_V1_1_BOARD
-- Components: adf_utils app_trace app_update asio audio_board audio_flash_tone audio_hal audio_pipeline audio_recorder audio_sal audio_stream battery_service bluetooth_service bootloader bootloader_support bt cbor clouds cmock coap console coredump_upload_service cxx display_service driver dueros_service efuse esp-adf-libs esp-sr esp-tls esp32 esp_actions esp_adc_cal esp_common esp_dispatcher esp_eth esp_event esp_event_cast esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_peripherals esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 input_key_service jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread ota_service partition_table perfmon playlist protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb tone_partition ulp unity usb vfs wear_levelling wifi_provisioning wifi_service wpa_supplicant xtensa
-- Component paths: C:/esp/esp-adf/components/adf_utils C:/esp/esp-idf/components/app_trace C:/esp/esp-idf/components/app_update C:/esp/esp-idf/components/asio C:/esp/esp-adf/components/audio_board C:/esp/esp-adf/examples/speech_recognition/wwe/components/audio_flash_tone C:/esp/esp-adf/components/audio_hal C:/esp/esp-adf/components/audio_pipeline C:/esp/esp-adf/components/audio_recorder C:/esp/esp-adf/components/audio_sal C:/esp/esp-adf/components/audio_stream C:/esp/esp-adf/components/battery_service C:/esp/esp-adf/components/bluetooth_service C:/esp/esp-idf/components/bootloader C:/esp/esp-idf/components/bootloader_support C:/esp/esp-idf/components/bt C:/esp/esp-idf/components/cbor C:/esp/esp-adf/components/clouds C:/esp/esp-idf/components/cmock C:/esp/esp-idf/components/coap C:/esp/esp-idf/components/console C:/esp/esp-adf/components/coredump_upload_service C:/esp/esp-idf/components/cxx C:/esp/esp-adf/components/display_service C:/esp/esp-idf/components/driver C:/esp/esp-adf/components/dueros_service C:/esp/esp-idf/components/efuse C:/esp/esp-adf/components/esp-adf-libs C:/esp/esp-adf/components/esp-sr C:/esp/esp-idf/components/esp-tls C:/esp/esp-idf/components/esp32 C:/esp/esp-adf/components/esp_actions C:/esp/esp-idf/components/esp_adc_cal C:/esp/esp-idf/components/esp_common C:/esp/esp-adf/components/esp_dispatcher C:/esp/esp-idf/components/esp_eth C:/esp/esp-idf/components/esp_event C:/esp/esp-adf/components/esp_event_cast C:/esp/esp-idf/components/esp_gdbstub C:/esp/esp-idf/components/esp_hid C:/esp/esp-idf/components/esp_http_client C:/esp/esp-idf/components/esp_http_server C:/esp/esp-idf/components/esp_https_ota C:/esp/esp-idf/components/esp_https_server C:/esp/esp-idf/components/esp_hw_support C:/esp/esp-idf/components/esp_ipc C:/esp/esp-idf/components/esp_lcd C:/esp/esp-idf/components/esp_local_ctrl C:/esp/esp-idf/components/esp_netif C:/esp/esp-adf/components/esp_peripherals C:/esp/esp-idf/components/esp_phy C:/esp/esp-idf/components/esp_pm C:/esp/esp-idf/components/esp_ringbuf C:/esp/esp-idf/components/esp_rom C:/esp/esp-idf/components/esp_serial_slave_link C:/esp/esp-idf/components/esp_system C:/esp/esp-idf/components/esp_timer C:/esp/esp-idf/components/esp_websocket_client C:/esp/esp-idf/components/esp_wifi C:/esp/esp-idf/components/espcoredump C:/esp/esp-idf/components/esptool_py C:/esp/esp-idf/components/expat C:/esp/esp-idf/components/fatfs C:/esp/esp-idf/components/freemodbus C:/esp/esp-idf/components/freertos C:/esp/esp-idf/components/hal C:/esp/esp-idf/components/heap C:/esp/esp-idf/components/idf_test C:/esp/esp-idf/components/ieee802154 C:/esp/esp-adf/components/input_key_service C:/esp/esp-idf/components/jsmn C:/esp/esp-idf/components/json C:/esp/esp-idf/components/libsodium C:/esp/esp-idf/components/log C:/esp/esp-idf/components/lwip C:/esp/esp-adf/examples/speech_recognition/wwe/main C:/esp/esp-idf/components/mbedtls C:/esp/esp-idf/components/mdns C:/esp/esp-idf/components/mqtt C:/esp/esp-idf/components/newlib C:/esp/esp-idf/components/nghttp C:/esp/esp-idf/components/nvs_flash C:/esp/esp-idf/components/openssl C:/esp/esp-idf/components/openthread C:/esp/esp-adf/components/ota_service C:/esp/esp-idf/components/partition_table C:/esp/esp-idf/components/perfmon C:/esp/esp-adf/components/playlist C:/esp/esp-idf/components/protobuf-c C:/esp/esp-idf/components/protocomm C:/esp/esp-idf/components/pthread C:/esp/esp-idf/components/sdmmc C:/esp/esp-idf/components/soc C:/esp/esp-idf/components/spi_flash C:/esp/esp-idf/components/spiffs C:/esp/esp-idf/components/tcp_transport C:/esp/esp-idf/components/tcpip_adapter C:/esp/esp-idf/components/tinyusb C:/esp/esp-adf/components/tone_partition C:/esp/esp-idf/components/ulp C:/esp/esp-idf/components/unity C:/esp/esp-idf/components/usb C:/esp/esp-idf/components/vfs C:/esp/esp-idf/components/wear_levelling C:/esp/esp-idf/components/wifi_provisioning C:/esp/esp-adf/components/wifi_service C:/esp/esp-idf/components/wpa_supplicant C:/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/esp/esp-adf/examples/speech_recognition/wwe/build
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "ninja all"...
[142/1205] 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,16K,
otadata,data,ota,0xd000,8K,
phy_init,data,phy,0xf000,4K,
ota_0,app,ota_0,0x10000,3M,
flash_tone,data,39,0x310000,200K,
*******************************************************************************
[652/1205] Performing configure step for 'bootloader'
-- Found Git: C:/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: C:/esp/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/esp/esp-adf/examples/speech_recognition/wwe/sdkconfig
-- Adding linker script C:/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 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: C:/esp/esp-idf/components/bootloader C:/esp/esp-idf/components/bootloader_support C:/esp/esp-idf/components/efuse C:/esp/esp-idf/components/esp32 C:/esp/esp-idf/components/esp_common C:/esp/esp-idf/components/esp_hw_support C:/esp/esp-idf/components/esp_rom C:/esp/esp-idf/components/esp_system C:/esp/esp-idf/components/esptool_py C:/esp/esp-idf/components/freertos C:/esp/esp-idf/components/hal C:/esp/esp-idf/components/log C:/esp/esp-idf/components/bootloader/subproject/main C:/esp/esp-idf/components/bootloader/subproject/components/micro-ecc C:/esp/esp-idf/components/newlib C:/esp/esp-idf/components/partition_table C:/esp/esp-idf/components/soc C:/esp/esp-idf/components/spi_flash C:/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader
[938/1205] Performing build step for 'bootloader'
[1/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[2/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[3/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[4/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[5/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[6/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[7/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[8/97] Generating project_elf_src_esp32.c
[9/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[10/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[11/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[12/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[13/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[14/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[15/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[16/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[17/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[18/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[19/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[20/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[21/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[22/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[23/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[24/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[25/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[26/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[27/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[28/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[29/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[30/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[31/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[32/97] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[33/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[34/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[35/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[36/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[37/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[38/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[39/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[40/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[41/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[42/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[43/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[44/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[45/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[46/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[47/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[48/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[49/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[50/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[51/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[52/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[53/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[54/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[55/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[56/97] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[57/97] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[58/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[59/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[60/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[61/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[62/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[63/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[64/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[65/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[66/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[67/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[68/97] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[69/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[70/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[71/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
[72/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[73/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[74/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[75/97] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[76/97] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[77/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[78/97] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[79/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[80/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[81/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[82/97] Linking C static library esp-idf\log\liblog.a
[83/97] Linking C static library esp-idf\esp_rom\libesp_rom.a
[84/97] Linking C static library esp-idf\esp_common\libesp_common.a
[85/97] Linking C static library esp-idf\xtensa\libxtensa.a
[86/97] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[87/97] Linking C static library esp-idf\esp_system\libesp_system.a
[88/97] Linking C static library esp-idf\efuse\libefuse.a
[89/97] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/97] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/97] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/97] Linking C static library esp-idf\soc\libsoc.a
[93/97] Linking C static library esp-idf\hal\libhal.a
[94/97] Linking C static library esp-idf\main\libmain.a
[95/97] Linking C executable bootloader.elf
[96/97] Generating binary image from built executable
esptool.py v3.3-dev
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin
[97/97] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\build\bootloader\esp-idf\esptool_py && C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin"
Bootloader binary size 0x69b0 bytes. 0x650 bytes (6%) free.
[1204/1205] Generating binary image from built executable
esptool.py v3.3-dev
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin
[1205/1205] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognitio...n C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin"
example_wwe.bin binary size 0xc8c20 bytes. Smallest app partition is 0x300000 bytes. 0x2373e0 bytes (74%) free.
Project build complete. To flash, run this command:
C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe ..\..\..\..\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0xd000 build\ota_data_initial.bin 0x10000 build\example_wwe.bin 0x310000 tone\audio_tone.bin
or run 'idf.py -p (PORT) flash'
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py flahs monitor
Executing action: flahs
ninja: error: unknown target 'flahs', did you mean 'flash'?
command "flahs" is not known to idf.py and is not a Ninja target
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py flash monitor
Executing action: flash
Serial port COM4
Connecting..........
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Running ninja in directory c:\esp\esp-adf\examples\speech_recognition\wwe\build
Executing "ninja flash"...
[1/5] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\...n C:/esp/esp-adf/examples/speech_recognition/wwe/build/example_wwe.bin"
example_wwe.bin binary size 0xc8c20 bytes. Smallest app partition is 0x300000 bytes. 0x2373e0 bytes (74%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\esp\esp-adf\examples\speech_recognition\wwe\build\bootloader\esp-idf\esptool_py && C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/esp/esp-adf/examples/speech_recognition/wwe/build/bootloader/bootloader.bin"
Bootloader binary size 0x69b0 bytes. 0x650 bytes (6%) free.
[2/3] cmd.exe /C "cd /D C:\esp\esp-idf\components\esptool_py && C:\esp\...e/build" -P C:/esp/esp-idf/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32 -p COM4 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 example_wwe.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0x310000 ../tone/audio_tone.bin
esptool.py v3.3-dev
Serial port COM4
Connecting...
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 8c:4b:14:14:f2:1c
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 0x000d8fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00310000 to 0x00313fff...
Compressed 27056 bytes to 16904...
Writing at 0x00001000... (50 %)
Writing at 0x00007726... (100 %)
Wrote 27056 bytes (16904 compressed) at 0x00001000 in 0.7 seconds (effective 289.6 kbit/s)...
Hash of data verified.
Compressed 822304 bytes to 484144...
Writing at 0x00010000... (3 %)
Writing at 0x0001b70a... (6 %)
Writing at 0x000223db... (10 %)
Writing at 0x000265a2... (13 %)
Writing at 0x0002a8cc... (16 %)
Writing at 0x0002ec32... (20 %)
Writing at 0x00032f17... (23 %)
Writing at 0x0003a894... (26 %)
Writing at 0x00047d92... (30 %)
Writing at 0x00054158... (33 %)
Writing at 0x000595de... (36 %)
Writing at 0x0005f2c1... (40 %)
Writing at 0x0006456a... (43 %)
Writing at 0x00069735... (46 %)
Writing at 0x0006ea66... (50 %)
Writing at 0x00073df2... (53 %)
Writing at 0x00079115... (56 %)
Writing at 0x0007ef4f... (60 %)
Writing at 0x0008509a... (63 %)
Writing at 0x0008c364... (66 %)
Writing at 0x00095cef... (70 %)
Writing at 0x0009eadc... (73 %)
Writing at 0x000a4e65... (76 %)
Writing at 0x000ab870... (80 %)
Writing at 0x000b3cf3... (83 %)
Writing at 0x000bcf2e... (86 %)
Writing at 0x000c4f7c... (90 %)
Writing at 0x000cac12... (93 %)
Writing at 0x000d01b4... (96 %)
Writing at 0x000d587c... (100 %)
Wrote 822304 bytes (484144 compressed) at 0x00010000 in 11.4 seconds (effective 576.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 139...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (139 compressed) at 0x00008000 in 0.1 seconds (effective 439.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0000d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 630.1 kbit/s)...
Hash of data verified.
Compressed 15312 bytes to 8876...
Writing at 0x00310000... (100 %)
Wrote 15312 bytes (8876 compressed) at 0x00310000 in 0.4 seconds (effective 287.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Serial port COM4
Connecting..............
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting.....
Detecting chip type... ESP32
Running idf_monitor in directory c:\esp\esp-adf\examples\speech_recognition\wwe
Executing "C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 c:\esp\esp-adf\examples\speech_recognition\wwe\build\example_wwe.elf -m 'C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:/esp/esp-idf/\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM4 instead...
--- idf_monitor on \\.\COM4 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Done
C:\esp\esp-adf\examples\speech_recognition\wwe>idf.py monitor
Executing action: monitor
Serial port COM4
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Running idf_monitor in directory c:\esp\esp-adf\examples\speech_recognition\wwe
Executing "C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 c:\esp\esp-adf\examples\speech_recognition\wwe\build\example_wwe.elf -m 'C:\esp\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:/esp/esp-idf/\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM4 instead...
--- idf_monitor on \\.\COM4 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:0x1f (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:1
load:0x3fff0030,len:6952
load:0x40078000,len:15520
load:0x40080400,len:4492
0x40080400: _init at ??:?
entry 0x400806b4
I (27) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (27) boot: compile time 16:23:07
I (27) boot: chip revision: 3
I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (37) qio_mode: Enabling default flash chip QIO
I (42) boot.esp32: SPI Speed : 80MHz
I (47) boot.esp32: SPI Mode : QIO
I (52) boot.esp32: SPI Flash Size : 4MB
I (56) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (65) boot: ## Label Usage Type ST Offset Length
I (72) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (80) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (87) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (95) boot: 3 ota_0 OTA app 00 10 00010000 00300000
I (102) boot: 4 flash_tone Unknown data 01 27 00310000 00032000
I (110) boot: End of partition table
I (114) boot: No factory image, trying OTA 0
I (119) boot_comm: chip revision: 3, min. application chip revision: 0
I (126) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3e800h (256000) map
I (205) esp_image: segment 1: paddr=0004e828 vaddr=3ffb0000 size=017f0h ( 6128) load
I (208) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=744a4h (476324) map
I (342) esp_image: segment 3: paddr=000c44cc vaddr=3ffb17f0 size=01064h ( 4196) load
I (344) esp_image: segment 4: paddr=000c5538 vaddr=40080000 size=136a8h ( 79528) load
I (374) esp_image: segment 5: paddr=000d8be8 vaddr=50000000 size=00010h ( 16) load
I (384) boot: Loaded app from partition at offset 0x10000
I (423) boot: Set actual ota_seq=1 in otadata[0]
I (423) boot: Disabling RNG early entropy source...
I (434) psram: This chip is ESP32-D0WD
I (434) spiram: Found 64MBit SPI RAM device
I (434) spiram: SPI RAM mode: flash 80m sram 80m
I (437) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (444) cpu_start: Pro cpu up.
I (448) cpu_start: Starting app cpu, entry point is 0x400816ac
0x400816ac: call_start_cpu1 at C:/esp/esp-idf/components/esp_system/port/cpu_start.c:160
I (0) cpu_start: App cpu up.
I (929) spiram: SPI SRAM memory test OK
I (937) cpu_start: Pro cpu start user code
I (937) cpu_start: cpu freq: 240000000
I (937) cpu_start: Application information:
I (940) cpu_start: Project name: example_wwe
I (945) cpu_start: App version: v2.4-77-g478513b-dirty
I (952) cpu_start: Compile time: Aug 4 2022 16:22:52
I (958) cpu_start: ELF file SHA256: 8a2cc41ac35dbefc...
I (964) cpu_start: ESP-IDF: v4.4.1
I (969) heap_init: Initializing. RAM available for dynamic allocation:
I (976) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (982) heap_init: At 3FFB4888 len 0002B778 (173 KiB): DRAM
I (988) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (994) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1001) heap_init: At 400936A8 len 0000C958 (50 KiB): IRAM
I (1007) spiram: Adding pool of 4095K of external SPI memory to heap allocator
I (1015) spi_flash: detected chip: generic
I (1020) spi_flash: flash io: qio
W (1024) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (1038) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1048) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
E (1058) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (1078) AUDIO_THREAD: Error creating RestrictedPinnedToCore esp_periph
E (1088) ESP_PERIPH: Create [periph_adc_btn] task failed
E (1088) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1098) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1118) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1128) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1138) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1158) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1168) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1178) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1188) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1208) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (1218) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (2228) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
I (2228) DRV8311: ES8311 in Slave mode
E (2228) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (2238) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3258) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3258) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4268) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4268) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (5278) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (5278) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (6288) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (6288) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (7298) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (7298) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (8308) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (8308) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (9318) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (9318) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (10328) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (10328) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (11338) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (11338) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12348) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (12348) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12358) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12368) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (12388) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
I (12398) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (13408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (14408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (14408) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (14418) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (15428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (16428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (16428) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16438) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16448) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16468) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16478) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16488) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16498) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16518) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16528) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (16538) DRV7243: Es7243 initialize failed!
E (16548) AUDIO_HAL: codec init failed!
E (16548) AUDIO_BOARD: board.c:54 (audio_board_adc_init): Got NULL Pointer
W (16558) AUDIO_BOARD: The board has already been initialized!
E (16568) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (16578) AUDIO_THREAD: Error creating RestrictedPinnedToCore media_task
E (16588) ESP_AUDIO_CTRL: Error create media_task
E (17598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (18598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:159 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (18598) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18608) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18618) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18638) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (18648) I2C_BUS: C:/esp/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:104 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (19928) AUDIO_THREAD: Error creating RestrictedPinnedToCore feed_task
E (19938) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (19948) AUDIO_THREAD: Error creating RestrictedPinnedToCore fetch_task
E (19958) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (19978) AUDIO_THREAD: Error creating RestrictedPinnedToCore recorder_task
E (19988) AUDIO_RECORDER: Fail to create recorder_task
E (19998) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (20018) AUDIO_THREAD: Error creating RestrictedPinnedToCore read_task
Who is online
Users browsing this forum: No registered users and 82 guests