Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32s3-box IDF5.0无法唤醒 (AEGHB-461) #115

Closed
666wsp opened this issue Nov 22, 2023 · 6 comments
Closed

esp32s3-box IDF5.0无法唤醒 (AEGHB-461) #115

666wsp opened this issue Nov 22, 2023 · 6 comments

Comments

@666wsp
Copy link

666wsp commented Nov 22, 2023

我编译的ISDF版本是IDF5.0,box版本是v0.3.0,能编译和下载,但是无法唤醒,我下载给的参考bn文件,可以实现唤醒,目前不知道咋那么处理,之前很早时候安装IDF4.4版本编译是能正常唤醒的

@github-actions github-actions bot changed the title esp32s3-box IDF5.0无法唤醒 esp32s3-box IDF5.0无法唤醒 (AEGHB-461) Nov 22, 2023
@ESP-Mars
Copy link
Collaborator

IDF 5.0 以上不要用esp-box v0.3.0,你用master。

@666wsp
Copy link
Author

666wsp commented Nov 23, 2023

IDF 5.0 以上不要用esp-box v0.3.0,你用master。

好的,谢谢啦,我试了 esp-box V5.0 的也没法唤醒

log打印看起来也没啥问题

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x403857b2
0x403857b2: esp_cpu_wait_for_intr at D:/esp/ESP32_5_0/esp-idf/components/esp_hw_support/cpu.c:121

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x186c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xd88
load:0x403cc700,len:0x3070
entry 0x403c9934
I (27) boot: ESP-IDF v5.1 2nd stage bootloader
I (27) boot: compile time Nov 23 2023 23:35:34
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode : QIO
I (48) boot.esp32s3: SPI Flash Size : 16MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 sec_cert Unknown data 01 06 0000d000 00003000
I (77) boot: 1 nvs WiFi data 01 02 00010000 00006000
I (84) boot: 2 otadata OTA data 01 00 00016000 00002000
I (92) boot: 3 phy_init RF data 01 01 00018000 00001000
I (99) boot: 4 fctry WiFi data 01 02 00019000 00006000
I (107) boot: 5 ota_0 OTA app 00 10 00020000 0041a000
I (114) boot: 6 storage Unknown data 01 82 0043a000 0028a000
I (122) boot: 7 model Unknown data 01 82 006c4000 0076c000
I (129) boot: End of partition table
I (134) esp_image: segment 0: paddr=00020020 vaddr=3c150020 size=21518ch (2183564) map
I (473) esp_image: segment 1: paddr=002351b4 vaddr=3fc9fd00 size=07be8h ( 31720) load
I (479) esp_image: segment 2: paddr=0023cda4 vaddr=40378000 size=03274h ( 12916) load
I (482) esp_image: segment 3: paddr=00240020 vaddr=42000020 size=14e930h (1370416) map
I (695) esp_image: segment 4: paddr=0038e958 vaddr=4037b274 size=1499ch ( 84380) load
I (712) esp_image: segment 5: paddr=003a32fc vaddr=50000000 size=00004h ( 4) load
I (723) boot: Loaded app from partition at offset 0x20000
I (723) boot: Disabling RNG early entropy source...
I (724) cpu_start: Multicore app
I (727) octal_psram: vendor id : 0x0d (AP)
I (732) octal_psram: dev id : 0x02 (generation 3)
I (738) octal_psram: density : 0x03 (64 Mbit)
I (744) octal_psram: good-die : 0x01 (Pass)
I (749) octal_psram: Latency : 0x01 (Fixed)
I (754) octal_psram: VCC : 0x01 (3V)
I (759) octal_psram: SRF : 0x01 (Fast Refresh)
I (765) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (771) octal_psram: BurstLen : 0x01 (32 Byte)
I (776) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (782) octal_psram: DriveStrength: 0x00 (1/1)
I (788) esp_psram: Found 8MB PSRAM device
I (792) esp_psram: Speed: 80MHz
I (796) cpu_start: Pro cpu up.
I (800) cpu_start: Starting app cpu, entry point is 0x403797a0
0x403797a0: call_start_cpu1 at D:/esp/ESP32_5_0/esp-idf/components/esp_system/port/cpu_start.c:154

I (0) cpu_start: App cpu up.
I (1124) esp_psram: SPI SRAM memory test OK
I (1133) cpu_start: Pro cpu start user code
I (1133) cpu_start: cpu freq: 240000000 Hz
I (1133) cpu_start: Application information:
I (1133) cpu_start: Project name: factory_demo
I (1134) cpu_start: App version: v0.5.0
I (1134) cpu_start: Compile time: Nov 23 2023 23:35:06
I (1134) cpu_start: ELF file SHA256: 8d667dcff228e2e4...
I (1134) cpu_start: ESP-IDF: v5.1
I (1134) cpu_start: Min chip rev: v0.0
I (1135) cpu_start: Max chip rev: v0.99
I (1135) cpu_start: Chip rev: v0.1
I (1135) heap_init: Initializing. RAM available for dynamic allocation:
I (1135) heap_init: At 3FCADE98 len 0003B878 (238 KiB): DRAM
I (1136) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (1136) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM
I (1136) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (1137) spi_flash: detected chip: gd
I (1137) spi_flash: flash io: qio
I (1138) sleep: Configure to isolate all GPIO pins in sleep state
I (1138) sleep: Enable automatic switching of GPIO sleep configuration
I (1138) coexist: coex firmware version: ebddf30
I (1139) coexist: coexist rom version e7ae62f
I (1139) app_start: Starting scheduler on CPU0
I (0) app_start: Starting scheduler on CPU1
I (1139) main_task: Started on CPU0
I (1140) esp_psram: Reserving pool of 8K of internal memory for DMA/internal allocations
I (1140) main_task: Calling app_main()
I (1141) main: Compile time: Nov 23 2023 23:35:57
I (1342) ESP-BOX: Partition size: total: 2439971, used: 1376986
I (1343) LVGL: Starting LVGL task
I (1344) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1344) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1466) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (1467) board: [+ Btn Init] ID
I (1467) button: IoT Button Version: 2.5.6
I (1467) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1467) button: IoT Button Version: 2.5.6
I (1467) gpio: GPIO[1]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1468) button: IoT Button Version: 2.5.6
I (1468) board: [+ register] ID:1, event:0
I (1468) board: [+ register] ID:1, event:1
I (1475) ES8311: Work in Slave mode
I (1476) gpio: GPIO[46]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1478) ES7210: Work in Slave mode
I (1481) ES7210: Enable ES7210_INPUT_MIC1
I (1482) ES7210: Enable ES7210_INPUT_MIC2
I (1485) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1485) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1486) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1486) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1487) ES7210: Bits 16
I (1490) ES7210: Enable ES7210_INPUT_MIC1
I (1492) ES7210: Enable ES7210_INPUT_MIC2
I (1495) ES7210: Unmuted
I (1495) Adev_Codec: Open codec device OK
I (1498) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1498) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1505) Adev_Codec: Open codec device OK
E (1505) i2s_common: i2s_channel_disable(1030): the channel has not been enabled yet
I (1506) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1506) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1507) ES7210: Bits 16
I (1510) ES7210: Enable ES7210_INPUT_MIC1
I (1511) ES7210: Enable ES7210_INPUT_MIC2
I (1515) ES7210: Unmuted
I (1515) Adev_Codec: Open codec device OK
I (1515) main: Display LVGL demo
I (1515) ESP-BOX: Setting LCD backlight: 100%
I (1516) ui_main: Input device type have pointer
I (1521) ui_sr: sr animation initialize
I (1696) file_iterator: File : Canon.mp3
I (1716) file_iterator: File : Dance with Me.mp3
I (1718) main: mute setting 0, volume:100
I (1719) main: speech recognition start
I (1720) MODEL_LOADER: The storage free size is 21056 KB
I (1720) MODEL_LOADER: The partition size is 7600 KB
I (1720) MODEL_LOADER: Successfully map model partition
I (1721) AFE_SR: afe interface for speech recognition

I (1721) AFE_SR: AFE version: SR_V220727

I (1721) AFE_SR: Initial auido front-end, total channel: 3, mic num: 2, ref num: 1

I (1721) AFE_SR: aec_init: 0, se_init: 1, vad_init: 1

I (1721) AFE_SR: wakenet_init: 1

MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Jul 11 2023 15:43:08)
I (1832) AFE_SR: wake num: 3, mode: 0, (Jul 11 2023 15:43:09)

W (1832) app_sr: Set language to EN
MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Jul 11 2023 15:43:08)
I (4046) AFE_SR: wakenet wn_frame_size = 512

I (4102) app_sr: load wakenet:wn9_hiesp
Quantized8 Multinet5: MN5Q8_v2_english_8_0.9_0.90, beam search:v2, (Jul 11 2023 15:43:08)
I (7122) app_sr: load multinet:mn5q8_en,60,60
I (7123) app_sr: cmd_number=12
I (7125) MN_COMMAND: ---------------------SPEECH COMMANDS---------------------
I (7126) MN_COMMAND: Command ID0, phrase ID0: TkN nN jc LiT
I (7126) MN_COMMAND: Command ID1, phrase ID1: SWgp nN jc LiT
I (7126) MN_COMMAND: Command ID2, phrase ID2: SWgp eF jc LiT
I (7126) MN_COMMAND: Command ID3, phrase ID3: TkN eF jc LiT
I (7126) MN_COMMAND: Command ID4, phrase ID4: TkN RfD
I (7127) MN_COMMAND: Command ID5, phrase ID5: TkN GRmN
I (7127) MN_COMMAND: Command ID6, phrase ID6: TkN BLo
I (7127) MN_COMMAND: Command ID7, phrase ID7: KcSTcMiZ KcLk
I (7127) MN_COMMAND: Command ID8, phrase ID8: Sgl c Sel
I (7127) MN_COMMAND: Command ID9, phrase ID9: PLd MYoZgK
I (7128) MN_COMMAND: Command ID10, phrase ID10: NfKST Sel
I (7128) MN_COMMAND: Command ID11, phrase ID11: PeZ PLdgl
I (7128) MN_COMMAND: ---------------------------------------------------------

I (7128) app_sr: audio_chunksize=1024, feed_channel=3
I (7129) app_sr: ------------detect start------------

I (7130) board: [+ register] ID:0, event:6
I (7130) main_task: Returned from app_main()
I (7131) pp: pp rom version: e7ae62f
I (7157) net80211: net80211 rom version: e7ae62f
I (7193) wifi:wifi driver task: 3fcb19f4, prio:23, stack:6144, core=0
I (7219) wifi:wifi firmware version: b2f1f86
I (7219) wifi:wifi certification version: v7.0
I (7220) wifi:config NVS flash: enabled
I (7220) wifi:config nano formating: enabled
I (7220) wifi:Init data frame dynamic rx buffer num: 4
I (7220) wifi:Init management frame dynamic rx buffer num: 4
I (7220) wifi:Init management short buffer num: 32
I (7221) wifi:Init static tx buffer num: 4
I (7221) wifi:Init tx cache buffer num: 16
I (7221) wifi:Init static tx FG buffer num: 2
I (7221) wifi:Init static rx buffer size: 1600
I (7221) wifi:Init static rx buffer num: 3
I (7222) wifi:Init dynamic rx buffer num: 4
I (7222) wifi_init: rx ba win: 4
I (7222) wifi_init: tcpip mbox: 16
I (7223) wifi_init: udp mbox: 6
I (7223) wifi_init: tcp mbox: 6
I (7223) wifi_init: tcp tx win: 5744
I (7223) wifi_init: tcp rx win: 5744
I (7223) wifi_init: tcp mss: 1440
I (7223) wifi_init: WiFi/LWIP prefer SPIRAM
I (7291) esp_rmaker_work_queue: Work Queue created.
I (7296) esp_claim: Initialising Assisted Claiming. This may take time.
I (7414) esp_claim: Private key already exists. No need to re-initialise it.
I (7424) esp_rmaker_node: Node ID ----- 7CDFA1E1ABA4
I (7428) esp_rmaker_time_service: Time service enabled
I (7429) esp_rmaker_system_service: System service enabled.
I (7429) esp_rmaker_core: Starting RainMaker Work Queue task
I (7429) esp_rmaker_work_queue: RainMaker Work Queue task started.
I (7430) esp_claim: Waiting for assisted claim to finish.
I (7466) wifi_prov_scheme_ble: BT memory released
I (7466) app_wifi: Starting provisioning
I (7467) wifi:Set ps type: 1

I (7491) phy_init: phy_version 601,fe52df4,May 10 2023,17:26:54
I (7522) wifi:mode : sta (7c:df:a1:e1:ab:a4)
I (7523) wifi:enable tsf
I (7561) BLE_INIT: BT controller compile version [85b425c]
I (7562) BLE_INIT: Bluetooth MAC: 7c:df:a1:e1:ab:a6

I (7564) protocomm_nimble: BLE Host Task Started
I (7566) NimBLE: GAP procedure initiated: stop advertising.

I (7567) NimBLE: GAP procedure initiated: advertise;
I (7568) NimBLE: disc_mode=2
I (7568) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (7568) NimBLE:

I (7606) wifi_prov_mgr: Provisioning started with service name : BOX_ad1e8b
I (7606) app_wifi: Provisioning started
I (7606) app_wifi: Provisioning Started. Name : BOX_ad1e8b

@espressif2022
Copy link
Collaborator

我看加载 固件是 "hi esp",你是用这个唤醒的么?

@666wsp
Copy link
Author

666wsp commented Dec 2, 2023

我看加载 固件是 "hi esp",你是用这个唤醒的么?

嗯嗯,是的,我就叫你说的这个词唤醒,没法唤醒,我使用官方给的固件就可以,我之前有搭建IDF4.4版本也有成功过,换为IDF5.1就不能唤醒

@espressif2022
Copy link
Collaborator

方便的话,提供一下你的 IDF 和 box 工程的 commit ID,我们这确认下。

@666wsp
Copy link
Author

666wsp commented Dec 8, 2023

方便的话,提供一下你的 IDF 和 box 工程的 commit ID,我们这确认下。

谢谢你了,我重新再次安装了IDF,就可以了,我早些安装的时候由于github 访问慢子模块我直接下载后放在IDF组件中的,可能是这个原因导致esp-sr组件不适配导致的,我现在处理好了并且IDF4.4版本和IDF5.1版本都可以正常运行

@666wsp 666wsp closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants