Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Carl-Ge1234
Posts: 6
Joined: Fri May 08, 2026 8:39 am

Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby Carl-Ge1234 » Sat May 09, 2026 10:27 am

Hello:

Is there anybody who might help on this?

Issue: When PSRAM is enabled, the system crashes during some hardware initialization processes (which then triggers a reboot at the door), affecting the following hardware: LCD, SD, and large files on flash.

Pin definitions:
ESP32S3(主MCU): ESP32S3(主 MCU):
GPIO0: ESP_BOOT
GPIO1:I2C_SDA
GPIO2:I2C_SCL
GPIO3:DVP_PCLK GPIO3: DVP_PCLK
GPIO4:DVP_XCLK GPIO4: DVP_XCLK
GPIO5:NRF_CS
GPIO6:NRF_SCK GPIO6: Nrf_SCK
GPIO7:NRF_MOSI GPIO7: Nrf_Mosi
GPIO8:NRF_MISO GPIO8: Nrf_MISO
GPIO9:NRF_IRQ GPIO9: Nrf IRQ
GPIO10:ESP_RXD
GPIO11:ESP_TXD
GPIO12:I2S_DI
GPIO13:I2S_WS
GPIO14:I2S_BCK
XTAL_32K_P:DVP_D7
XTAL_32K_N:DVP_D6
GPIO17:DVP_D2 GPIO17: DVP_D2
GPIO18:DVP_D5 GPIO18: DVP_D5
GPIO19:DVP_D3 GPIO19: DVP_D3
GPIO20:DVP_D4 GPIO20: DVP_D4
GPIO21:DVP_D1 GPIO21: DVP_D1
SPICS1:DVP_D0 SPICS1: DVP_D0
SPIHD:SPIHD
SPIWP:SPIWP
SPICS0:SPICS0
SPICLK:SPICLK
SPIQ:SPIQ
SPID:SPID
GPIO38:I2S_MCK
MTCK:TF_CMD
MTDO:TF_MISO
MTDI:TF_CLK
MTMS:DVP_VSYNC
U0TXD:ESP_TX0
U0RXD:ESP_RX0
GPIO45:TF_CLK
GPIO46:DVP_HREF

Log:
........................................................................................................................�j..�.�+..R*j..V��,,[Y�J��Manual: set_audio_input_source() / audio_src mic|rf24
I (1796) AudioService: Disabling wake word detection
I (1796) AudioService: Disable wake word detection
I (1796) audio_input: Console: audio_src mic|rf24
W (1806) Application: Audion service started
W (1806) Application: [RF24-AUTO] timer start: tick=100ms
I (1816) uart: queue free spaces: 100
I (1816) uart: UART driver FIFO:64
I (1816) AtUart: break
I (1826) AtModem: Detect: cold boot guard 1800ms before first baud probe
I (1826) AudioService: [WW-STATE] ww_init begin arm_after_ready=0 suspend_modem_uart=0
I (1836) AudioService: WakeWord isolate: TWDT 60s (no idle monitor) for multinet load
I (1836) AudioService: WakeWord isolatie: TWDT 60s (keuringsmoniteur niet in gebruik) voor multinet-voer
I (1846) AudioService: WakeWord isolate: keep modem UART tasks running (avoid 4G RX stall during preload)
I (1866) AudioService: WakeWord isolate: 500ms settle after suspending CPU1 peers
W (2366) CustomWakeWord: [HEAP-DIAG] ww_before_model_init integrity=SKIP free_heap=8428924
W (2366) CustomWakeWord: [HEAP-DIAG] ww before_model_init integrity=SKIP free_heap=8428924
I (2366) CustomWakeWord: [WW-PSRAM] before esp_srmodel_init (local SR models from flash): spiram total=8388608 free=8386272 largest_block=8257536 | internal_free=74683
I (2376) MODEL_LOADER: The storage free size is 22272 KB
I (2376) MODEL_LOADER: The partition size is 960 KB
I (2386) MODEL_LOADER: Successfully load srmodels
E (2386) CustomWakeWord: Failed to initialize multinet, mn_name is nullptr
I (2396) CustomWakeWord: Please refer to https://pcn7cs20v8cr.feishu.cn/wiki/CpQ ... vrcxcbVnwh to add custom wake word
I (2396) CustomWakeWord: Please refer to https://pcn7cs20v8cr.feishu.cn/wiki/CpQ...vrcxcbVnwh to add custom wake word
E (2406) AudioService: Should not be here, bits: 0
I (2406) AudioService: WakeWord isolate: TWDT restored (10s, no idle monitor)
W (2406) AudioService: Audio input task stopped
E (2416) AudioService: Wake word fault latched, further init attempts disabled
E (2426) AudioService: [WW-STATE] ww_init failed, fault latched
W (2436) RF24Bridge: [RF-SPI-RECOVER] resumed by external guard
W (2436) AudioService: [WW-STATE] resume RF24 RX + SPI recover after ww_init
W (2436) AudioService: [WW-STATE] RF24 RX + SPI recover after ww_init resume
I (3626) AtUart: DetectBaudRate: start probe rounds=3, attempts/baud=2
I (3626) AtUart: Detecting baud rate... (round 1/3)
I (6486) AtUart: break
I (7166) AtUart: Detected baud rate: 921600 (round 1 attempt 1)
I (7166) AtModem: Detected modem: ML307C-DL-CN-MBRH0S00
I (7186) AtModem: Waiting for network ready...
I (7186) AtModem: Aspettando la rete pronta...
I (7766) Ml307Board: Network is ready (device_state=1)
I (7766) Ml307Board: Network ready on cold start, skip duplicate ReInitializeProtocol
I (7766) Ml307AtModem: PDP Context 1 IP: 10.181.9.15
I (7786) Ml307Board: ML307 Revision: ML307C-DL-CN-MBRH0S00
I (7786) Ml307Board: ML307 IMEI: 868381076224117
I (7786) Ml307Board: ML307 ICCID: 898604F50624D0036187
W (7796) Application: System time invalid (7), starting SNTP sync (max wait 0ms)
I (7796) Application: SNTP started; background sync only (no wait)
I (7806) MCP: Add tool: self.device.get_device_status
I (7806) MCP: Add tool: self.audio_speaker.set_volume
I (7806) MCP: Add tool: self.audio_speaker.setVolume
I (7816) MCP: Add tool: self.pm.set_sleepstatus
I (7816) MCP: Add tool: self.mode.set_recordingmode
I (7816) MCP: Add tool: self_mode.set_recordingmode
I (7816) MCP: Add tool: self.device.get_device_version
I (7826) MCP: Add tool: self.device.get_device_id
I (7826) MCP: Add tool: self.network.get_quality
I (7836) MCP: Add tool: self.device.switch_network
I (7836) MCP: Add tool: self.mode.select_server
W (7846) Settings: [NVS] nvs_open(ns=mqtt rw=0) failed: ESP_ERR_NVS_NOT_FOUND
W (7846) Settings: [NVS] nvs_open(ns=websocket rw=0) failed: ESP_ERR_NVS_NOT_FOUND
W (7856) Application: [BOOTSTRAP] no cached endpoint; survival-first: OTA deferred 5000ms (HTTPS off critical path)
W (7866) Application: [PROTO-WDT] relax TWDT to 120s for ReInitializeProtocol
W (7876) Settings: [NVS] nvs_open(ns=mqtt rw=0) failed: ESP_ERR_NVS_NOT_FOUND
W (7886) Settings: [NVS] nvs_open(ns=websocket rw=0) failed: ESP_ERR_NVS_NOT_FOUND
W (7886) Application: No protocol specified in the OTA config, using MQTT
W (7896) Settings: [NVS] nvs_open(ns=mqtt rw=0) failed: ESP_ERR_NVS_NOT_FOUND
W (7906) MQTT: MQTT endpoint is not specified
I (7906) Application: [PROTO-WDT] restore TWDT to 10s
W (7906) Application: [BOOT-PROBE] defer RF24 RX start to OnAudioChannelOpened (post-ready, conditional)
W (7916) Application: [BOOT-PROBE] SetDeviceState(Idle) enter
I (7926) Application: STATE: starting -> idle
I (7926) Application: STATE: start -> idle
I (7926) Application: [RF24-LISTEN-GATE] close: state=idle, suspend RX + disable RF24 uplink
I (7936) Application: Starting Idle mode...
I (7946) AudioService: Disabling voice processing
W (7946) Application: [BOOT-PROBE] SetDeviceState(Idle) exit dt=26ms
I (7956) Ota: Activation-Version:1
I (7956) Ota: Device-Id:a4:cb:8f:df:fd:a8
I (7956) Ota: Client-Id:948f6ddf-9680-43af-a117-6a7fb601516a
I (7966) Ota: User-Agent:hibiki_card_wifi/1.9.5.2
I (7966) SystemInfo: free sram: 101399 minimal sram: 74363
I (7976) SystemInfo: network quality: 4G csq=19 carrier=CHINA MOBILE
I (7976) Application: [RF24] post-boot: Rf24UplinkService + multiplex + audio_source hooks (SPI/RX 仍由 OnAudioChannelOpened bringup)
I (7976) Application: [RF24] post-boot: Rf24UplinkService + multiplex + audio_source hooks (SPI/RX still brought up by OnAudioChannelOpened)
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x1b (SPI_FAST_FLASH_BOOT)
Saved PC:0x40379a0b
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x548
load:0x403c8700,len:0xc3c
load:0x403cb700,len:0x2e70
entry 0x403c8908
I (40) octal_psram: vendor id : 0x0d (AP)
I (40) octal_psram: dev id : 0x02 (generation 3)
I (40) octal_psram: density : 0x03 (64 Mbit)
I (40) octal_psram: densité : 0x03 (64 Mbit)
I (42) octal_psram: good-die : 0x01 (Pass)
I (46) octal_psram: Latency : 0x01 (Fixed)
I (51) octal_psram: VCC : 0x01 (3V)
I (55) octal_psram: SRF : 0x01 (Fast Refresh)
I (59) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (64) octal_psram: BurstLen : 0x01 (32 Byte)
I (64) octal_psram: BurstLen : 0x01 (32 Bytes)
I (69) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (74) octal_psram: DriveStrength: 0x00 (1/1)
I (78) esp_psram: Found 8MB PSRAM device
I (81) esp_psram: Speed: 40MHz
I (81) esp_psram: Velocidad: 40MHz
I (84) cpu_start: Multicore app
I (610) esp_psram: SPI SRAM memory test OK
I (618) cpu_start: Pro cpu start user code
I (619) cpu_start: cpu freq: 240000000 Hz
I (619) app_init: Application information:
I (619) app_init: Project name: xiaotian
I (623) app_init: App version: 1.9.5.2
I (627) app_init: Compile time: May 8 2026 16:40:46
I (632) app_init: ELF file SHA256: e280de576...
I (636) app_init: ESP-IDF: v5.5.1-dirty
I (640) efuse_init: Min chip rev: v0.0
I (644) efuse_init: Max chip rev: v0.99
I (648) efuse_init: Chip rev: v0.2
I (652) heap_init: Initializing. RAM available for dynamic allocation:
I (658) heap_init: At 3FCB4C80 len 00034A90 (210 KiB): RAM
I (663) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (668) heap_init: At 600FE060 len 00001F78 (7 KiB): RTCRAM
I (674) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (681) spi_flash: detected chip: winbond
I (681) spi_flash: chip detektyer: winbond
I (684) spi_flash: flash io: qio
I (688) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (688) sleep GPIO: Configure to isolate all GPIO pins in sleep state
I (693) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (693) sleep GPIO: Aktivieren automatischer Schaltung der GPIO-Schlafkonfiguration
I (700) main_task: Started on CPU0
I (700) main task: Started on CPU0
I (730) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (730) esp_psram: Reserve 32K of internal memory for DMA/internal allocations
I (730) main_task: Calling app_main()
I (730) main task: Calling app_main()
I (730) main: PSRAM heap (MALLOC_CAP_SPIRAM): total=8388608 free=8386308
I (740) main: esp_reset_reason() raw=6
I (740) main: Last reset reason: 6 (TASK_WDT)
I (750) main: [NVS] nvs_flash_init OK (ESP_OK)
I (750) main: Starting in normal mode.
I (750) Board: UUID=948f6ddf-9680-43af-a117-6a7fb601516a SKU=hibiki_card_wifi
I (760) DualNetworkBoard: Initialize ML307 board
I (760) Board: UUID=948f6ddf-9680-43af-a117-6a7fb601516a SKU=hibiki_card_wifi
I (770) button: IoT Button Version: 4.1.6
I (770) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: start
I (860) HibikiWiFiBoard: [init] [order ①] I2C bus (i2c_new_master_bus once per port; legacy Wire only once/port)
I (860) HibikiWiFiBoard: [init] Arduino-style pre-delay 75 ms (power rails / bus settle)
I (860) HibikiWiFiBoard: [init] Arduino-style pre-delay 75 ms (power rails/bus settle)
I (940) HibikiWiFiBoard: [i2c-bus] before wire-prep: SDA(GPIO1)=1 SCL(GPIO2)=1 → Dual-line high (electrical idle, not required)
I (940) HibikiWiFiBoard: [i2c-wire-prep] skip i2c_driver_delete (HIBIKI_WIFI_I2C_PREP_CALL_LEGACY_DRIVER_DELETE=0)
I (950) HibikiWiFiBoard: [i2c-wire-prep] skip GPIO OD recover (HIBIKI_WIFI_I2C_PREP_GPIO_OD_RECOVER=0)
I (950) HibikiWiFiBoard: [init] skip legacy Wire simulate (HIBIKI_WIFI_I2C_LEGACY_WIRE_SIMULATE=0)

🔧 Problem Description
When PSRAM is enabled in sdkconfig (CONFIG_SPIRAM=y), the system frequently crashes during the initialization of certain peripherals during startup, triggering the watchdog and causing continuous restarts. The affected peripherals include:
* SD card (accessed via SDMMC or SPI mode)
* Reading large files from external Flash
* LCD display driver (via SPI interface, not yet used yet, but planned to use)

Note: With PSRAM disabled, all the above peripherals can work individually or collaboratively; however, once PSRAM is enabled, a crash will occur during the first I/O operation (such as sdmmc_card_init(), f_open(), or LCD register write) even if only one peripheral (e.g., just mounting the SD card) is initialized.
🖥️ Hardware Environment
* Main control chip: ESP32-S3R8 ( 8 MB Octal PSRAM)
* PCB Design: Fully custom design (non-official development board)
* Power Supply: External 5V/2A regulated power supply, decoupling capacitors are configured near all key chips
⚙️ Pin Assignment (Key Interfaces)

Function / Pins Used
Octal PSRAM Dedicated Octal SPI Interface (Default Pins: SPICLK, SPICS0, SPIQ, SPID, SPIHD, SPIWP)
SD Card Uses SDMMC Interface:
MTCK (CMD)、MTDO (D0)、MTDI (CLK),
MTCK (CMD)、MTDO (D0)、MTDI (CLK),
At the same time, GPIO45 is also connected to TF_CLK — there may be a conflict
SPI peripherals (LCD/nRF24) share the SPI bus:
SPICLK、SPICS0(LCD 片选)、SPIQ (MOSI)、SPID (MISO)
SPICLK、SPICS0 (LCD chip select)、SPIQ (MOSI)、SPID (MISO)
nRF24L01 GPIO5 (CS)、GPIO6 (SCK)、GPIO7 (MOSI)、GPIO8 (MISO)
nRF24L01 GPIO5 (CS), GPIO6 (SCK), GPIO7 (MOSI), GPIO8 (MISO)
Other I²C (GPIO1/2), I²S (GPIO12–14, 38), DVP Camera (GPIO3,4,17–21, etc.)
⚠️ Key concern: The SD card clock signal TF_CLK is connected to both MTDI and GPIO45 simultaneously, which may violate the pin multiplexing rules of ESP32-S3, potentially causing undefined behavior.
📦 Software environment
* ESP-IDF version: v5.5.1 (Official release)
* PSRAM configuration: Octal mode, 80 MHz (ESP32-S3R8 default)
* Compilation options: GCC, optimization level -Os
* Watchdog: Task Watchdog is enabled (default)
🧪 Troubleshooting steps attempted
1. Verify PSRAM is correctly recognized: esp_spiram_get_size() returns 8 MB.
2. Test each peripheral + PSRAM individually → All crash during initialization or first I/O.
3. Disable PSRAM → All peripherals run stably without issues.
4. Lower SPI clock frequency (LCD/nRF24 reduced to 1 MHz) → Problem still exists.
5. Monitor power rails with oscilloscope → No obvious voltage drop during crashes.
6. Check strapping pin usage: GPIO0, GPIO45, GPIO46 are used, but configured correctly after startup.
❓ Specific technical questions
1. SPI bus resource conflict: Is the arbitration deadlock triggered when PSRAM, LCD, and SD card (if mistakenly connected to SPI) are caused to share internal bus or DMA resources during PSRAM activation?
2. Known issues in IDF: Does ESP-IDF v5.5.1 have cache consistency or DMA issues related to concurrent access of PSRAM + external Flash/SD card?
3. Pin configuration legality: Does connecting TF_CLK to both MTDI and GPIO45 violate the pinmux rules of ESP32-S3? Would this cause internal signal conflicts?
Attachments
WechatIMG1428.jpg
WechatIMG1428.jpg (284.02 KiB) Viewed 160 times

Sprite
Espressif staff
Espressif staff
Posts: 10612
Joined: Thu Nov 26, 2015 4:08 am

Re: Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby Sprite » Sun May 10, 2026 5:01 am

Hm, there's nothing obvious wrong with the setup you describe. Can you post the stack dump of one of these crashes? Also, can you reproduce this on multiple boards (to rule out e.g. a bad component or soldering issue)?

MicroController
Posts: 2669
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby MicroController » Sun May 10, 2026 8:43 am

Those SPI pins (SPICSx, SPICLK, SPID,...) are connected to flash and/or PSRAM and should not be connected to anything else.

ESP32-S3 datasheet, "2.6 Pin Mapping Between Chip and Flash/PSRAM":
Notice: Do not use the pins connected to in-package flash/PSRAM for any other purposes.

SPICS1 is the PSRAM's /CE pin, so messing with it can easily break communication between the ESP and the PSRAM.

Carl-Ge1234
Posts: 6
Joined: Fri May 08, 2026 8:39 am

Re: Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby Carl-Ge1234 » Mon May 11, 2026 2:17 am

Thanks for the reply. However, there's another similar project which uses those SPI pins as the FLASH model, and it worked fine, that's also confused me a lot. Do you have any other suggestion except those ones?
Those SPI pins (SPICSx, SPICLK, SPID,...) are connected to flash and/or PSRAM and should not be connected to anything else.

ESP32-S3 datasheet, "2.6 Pin Mapping Between Chip and Flash/PSRAM":
Notice: Do not use the pins connected to in-package flash/PSRAM for any other purposes.

SPICS1 is the PSRAM's /CE pin, so messing with it can easily break communication between the ESP and the PSRAM.

Carl-Ge1234
Posts: 6
Joined: Fri May 08, 2026 8:39 am

Re: Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby Carl-Ge1234 » Mon May 11, 2026 6:23 am

Hello, Thanks for your answer. the application is actually stucked, and a few moment later, it restarted, no specific crash indeed.
Hm, there's nothing obvious wrong with the setup you describe. Can you post the stack dump of one of these crashes? Also, can you reproduce this on multiple boards (to rule out e.g. a bad component or soldering issue)?

Carl-Ge1234
Posts: 6
Joined: Fri May 08, 2026 8:39 am

Re: Help: In my esp32s3r8 with PSRAM enabled, my system crashes for no reason

Postby Carl-Ge1234 » Tue May 12, 2026 3:32 am

Here's another log during starting the system at loading a 3Mb's file from flash( stucked, and rebooting later on),Log:..........................................................................................................��.HK��ESP_OK
I (746) HibikiWiFiBoard: Scanning I2C bus (7-bit addresses 0x08 .. 0x77) ...
I (756) HibikiWiFiBoard: Found device at 0x49
I (756) HibikiWiFiBoard: Found device at 0x55
I (766) HibikiWiFiBoard: I2C scan finished, 2 device(s) responded.
I (766) HibikiWiFiBoard: [init] InitializeI2c_ArduinoStyle OK handle=0x3fcecd7c port=0
W (776) HibikiWiFiBoard: [init] [order ②] IO expander disabled (HIBIKI_IOEXP_NONE), skip PCA9557/TCA9555 init
I (786) HibikiWiFiBoard: [init] [order ②b] BatteryPower (AW32001 + BQ27220)

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!

AW32001 exit shipping mode faild!
I (1796) BatteryPower: BatteryPowerManager init OK (AW32001@0x49, BQ27220@0x55)
I (1796) HibikiWiFiBoard: [init] [order ③] AudioCodec (ES7210/ES8311 初始化槽位)
I (1796) HibikiWiFiBoard: [init] Use CustomAudioCodec (Es7210OnlyAudioCodec) for hang diagnosis
I (1806) Es7210Codec: [ES7210-INIT] ctor_enter (port=0)
I (1806) Es7210Codec: Es7210OnlyAudioCodec ctor ready (deferred hw init, mic_selected=0x01 count=1)
I (1816) HibikiWiFiBoard: [init] CustomAudioCodec ctor: Es7210OnlyAudioCodec (V101 ES7210 path)
I (1866) HibikiWiFiBoard: [init] [order ③b] ES7210 PreinitMicrophoneHardware (before SPI/LCD/buttons)
I (1866) Es7210Codec: [ES7210-INIT] PreinitMicrophoneHardware (board early, before Application::Start)
W (1866) Es7210Codec: ES7210 I2C probe NACK (7-bit 0x41) attempt 1/24: ESP_ERR_NOT_FOUND
W (1936) Es7210Codec: ES7210 I2C probe OK at 7-bit 0x41 after 3 attempt(s)
I (1936) Es7210Codec: [ES7210-INIT] before_CreateDuplexChannels_rx_only (port=0)
I (1936) Es7210Codec: [ES7210-INIT] CreateDuplexChannels_enter (port=0)
I (1946) Es7210Codec: [ES7210-INIT] before_i2s_new_channel_rx_only (no esp_pm_lock) (port=0)
Es7210: i2s_new_channel enter id=0 dma_desc=6
Es7210: i2s_new_channel leave ret=0 rx=0x3fced654
I (1956) Es7210Codec: [ES7210-INIT] before_i2s_channel_init_tdm_mode_rx (port=0)
I (1966) Es7210Codec: ES7210 I2S: RX TDM channel created
I (1966) Es7210Codec: [ES7210-INIT] before_audio_codec_new_i2c_ctrl_es7210 (port=0)
I (2006) Es7210Codec: [ES7210-INIT] before_es7210_codec_new (port=0)
I (2006) ES7210: Work in Slave mode
I (2006) ES7210: Enable ES7210_INPUT_MIC1
I (2016) Es7210Codec: [ES7210-INIT] before_esp_codec_dev_new_input (port=0)
I (2016) Es7210Codec: Es7210OnlyAudioCodec hw initialized (ES7210 TDM in, no ES8311)
I (2016) HibikiWiFiBoard: [init] InitializeButtons: enter
I (2026) HibikiWiFiBoard: [init] InitializeButtons: leave
I (2026) HibikiWiFiBoard: [init] ctor: CONFIG_USE_CAMERA off, skip camera
I (2036) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: done (before RF24 bridge)
I (2046) HibikiWiFiBoard: [init] StartRf24AudioBridge
I (2046) RF24Bridge: RF24 bridge disabled by Kconfig
I (2056) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: end
I (2056) BoardVariant: [VARIANT] board=ml307 hw_rev=20260309-v101 batch=p0 batch_src=build
I (2066) Application: STATE: unknown -> starting
I (2066) Display: Power management not supported
W (2076) Application: [STARTUP-WDT] relax TWDT to 120s for audio+rf24 task init
I (2076) AudioService: AudioService::Initialize begin codec=0x3fced4dc
I (2086) HibikiWiFiBoard: [init] ES7210: EnableInput on startup task (before audio_input)
I (2096) I2S_IF: channel mode 2 bits:16/16 channel:2 mask:3
I (2096) I2S_IF: TDM Mode 0 bits:16/16 channel:2 sample_rate:24000 mask:3
I (2106) ES7210: Bits 16
I (2116) ES7210: Enable ES7210_INPUT_MIC1
I (2126) ES7210: Unmuted
I (2126) Adev_Codec: Open codec device OK
I (2126) Es7210Codec: Set input enable to true (ES7210: RX enabled by esp_codec_dev, no duplicate i2s_channel_enable)
I (2126) HibikiWiFiBoard: Audio codec started: ES7210 input enabled
I (2136) AudioCodec: Set output enable to true
I (2136) AudioService: AudioService::Initialize after codec_->Start
I (2146) AudioService: AudioService::Initialize lazy-opus-decoder (skip now)
I (2156) AudioService: AudioService::Initialize lazy-opus-encoder (skip now)
I (2156) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (2166) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (2176) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (2186) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (2196) AudioService: AudioService::Initialize after audio_processor
I (2196) AudioService: AudioService::Initialize after wake_word component
I (2206) AudioService: [WW-STATE] ww_init task started (reason=preload core=0 arm_after_ready=0)
I (2216) AudioService: [WW-STATE] ww_init begin arm_after_ready=0 suspend_modem_uart=1
I (2226) AudioService: WakeWord isolate: TWDT 60s (no idle monitor) for multinet load
I (2226) AudioService: WakeWord isolate: AFE mode — suspend audio_input+output, 30ms settle
I (2276) AudioService: WakeWord isolate: 50ms drain after peer suspend (before I2S close)
I (2326) Es7210Codec: SR model load: suspend I2S RX (esp_codec_dev_close)
I (2326) AudioService: WakeWord isolate: 500ms settle after I2S close for AFE alloc
I (2826) MODEL_LOADER: The storage free size is 22208 KB
I (2826) MODEL_LOADER: The partition size is 960 KB
I (2826) MODEL_LOADER: Successfully load srmodels
I (2826) AfeWakeWord: Model 0: wn9_nihaoxiaozhi_tts
I (2826) AFE_CONFIG: Set WakeNet Model: wn9_nihaoxiaozhi_tts
I (2836) AfeWakeWord: AFE: offload esp_afe_handle_from_config + create_from_config to worker
AFE: SpawnAfeCreateWorker enter
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x403799eb
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x548
load:0x403c8700,len:0xc3c
load:0x403cb700,len:0x2e70
entry 0x403c8908
I (39) octal_psram: vendor id : 0x0d (AP)
I (39) octal_psram: dev id : 0x02 (generation 3)
I (39) octal_psram: density : 0x03 (64 Mbit)
I (41) octal_psram: good-die : 0x01 (Pass)
I (45) octal_psram: Latency : 0x01 (Fixed)
I (49) octal_psram: VCC : 0x01 (3V)
I (53) octal_psram: SRF : 0x01 (Fast Refresh)
I (58) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (63) octal_psram: BurstLen : 0x01 (32 Byte)
I (67) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (73) octal_psram: DriveStrength: 0x00 (1/1)
I (77) MSPI Timing: PSRAM timing tuning index: 5
I (81) esp_psram: Found 8MB PSRAM device
I (85) esp_psram: Speed: 80MHz
I (87) cpu_start: Multicore app
I (380) esp_psram: SPI SRAM memory test OK
I (389) cpu_start: Pro cpu start user code
I (389) cpu_start: cpu freq: 240000000 Hz
I (389) app_init: Application information:
I (389) app_init: Project name: xiaotian
I (393) app_init: App version: 1.9.5.2
I (397) app_init: Compile time: May 12 2026 10:57:45
I (402) app_init: ELF file SHA256: ba258ab3f...
I (406) app_init: ESP-IDF: v5.5.1-dirty
I (411) efuse_init: Min chip rev: v0.0
I (415) efuse_init: Max chip rev: v0.99
I (418) efuse_init: Chip rev: v0.2
I (422) heap_init: Initializing. RAM available for dynamic allocation:
I (429) heap_init: At 3FCACE78 len 0003C898 (242 KiB): RAM
I (434) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (439) heap_init: At 600FE060 len 00001F78 (7 KiB): RTCRAM
I (444) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (451) spi_flash: detected chip: winbond
I (454) spi_flash: flash io: qio
I (458) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (464) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (471) main_task: Started on CPU0
I (501) esp_psram: Reserving pool of 64K of internal memory for DMA/internal allocations
I (501) main_task: Calling app_main()
I (501) main: PSRAM heap (MALLOC_CAP_SPIRAM): total=8388608 free=8386308
I (511) main: esp_reset_reason() raw=5
I (511) main: 上次复位原因: 5 (INT_WDT)
I (521) main: 常规模式启动。
I (521) Board: UUID=27fe1027-c809-43ba-8b46-6bf45f665e90 SKU=hibiki_card_wifi
I (521) DualNetworkBoard: Initialize ML307 board
I (531) Board: UUID=27fe1027-c809-43ba-8b46-6bf45f665e90 SKU=hibiki_card_wifi
I (541) button: IoT Button Version: 4.1.6
I (541) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: start
I (621) HibikiWiFiBoard: [init] [order ①] I2C bus (i2c_new_master_bus once per port; legacy Wire 仅一次/端口)
I (621) HibikiWiFiBoard: [init] InitializeI2c_ArduinoStyle start (宽松:无 bus idle / 无「必须双高」门槛)
I (621) HibikiWiFiBoard: [init] Arduino-style pre-delay 75 ms (power rails / bus settle)
I (701) HibikiWiFiBoard: [i2c-bus] before wire-prep: SDA(GPIO1)=1 SCL(GPIO2)=1 → 双线高(电气空闲,非必需)
I (701) HibikiWiFiBoard: [i2c-wire-prep] skip i2c_driver_delete (HIBIKI_WIFI_I2C_PREP_CALL_LEGACY_DRIVER_DELETE=0)
I (711) HibikiWiFiBoard: [i2c-wire-prep] skip GPIO OD recover (HIBIKI_WIFI_I2C_PREP_GPIO_OD_RECOVER=0)
I (711) HibikiWiFiBoard: [init] skip legacy Wire simulate (HIBIKI_WIFI_I2C_LEGACY_WIRE_SIMULATE=0)
I (721) HibikiWiFiBoard: [i2c-bus] after wire-prep: SDA(GPIO1)=1 SCL(GPIO2)=1 → 双线高(电气空闲,非必需)
I (731) HibikiWiFiBoard: [init] i2c_new_master_bus attempt 1/3 port=0 sda=1 scl=2 int_pullup=1
I (741) HibikiWiFiBoard: [init] i2c_new_master_bus -> ESP_OK
I (751) HibikiWiFiBoard: Scanning I2C bus (7-bit addresses 0x08 .. 0x77) ...
I (761) HibikiWiFiBoard: Found device at 0x41
I (761) HibikiWiFiBoard: Found device at 0x49
I (761) HibikiWiFiBoard: Found device at 0x55
I (771) HibikiWiFiBoard: I2C scan finished, 3 device(s) responded.
I (771) HibikiWiFiBoard: [init] InitializeI2c_ArduinoStyle OK handle=0x3fcecd7c port=0
W (781) HibikiWiFiBoard: [init] [order ②] IO expander disabled (HIBIKI_IOEXP_NONE), skip PCA9557/TCA9555 init
I (791) HibikiWiFiBoard: [init] [order ②b] BatteryPower (AW32001 + BQ27220)
I (801) BatteryPower: BatteryPowerManager init OK (AW32001@0x49, BQ27220@0x55)
I (801) HibikiWiFiBoard: [init] [order ③] AudioCodec (ES7210/ES8311 初始化槽位)
I (811) HibikiWiFiBoard: [init] Use CustomAudioCodec (Es7210OnlyAudioCodec) for hang diagnosis
I (821) Es7210Codec: [ES7210-INIT] ctor_enter (port=0)
I (821) Es7210Codec: Es7210OnlyAudioCodec ctor ready (deferred hw init, mic_selected=0x01 count=1)
I (831) HibikiWiFiBoard: [init] CustomAudioCodec ctor: Es7210OnlyAudioCodec (V101 ES7210 path)
I (881) HibikiWiFiBoard: [init] [order ③b] ES7210 PreinitMicrophoneHardware (before SPI/LCD/buttons)
I (881) Es7210Codec: [ES7210-INIT] PreinitMicrophoneHardware (board early, before Application::Start)
I (881) Es7210Codec: [ES7210-INIT] before_CreateDuplexChannels_rx_only (port=0)
I (891) Es7210Codec: [ES7210-INIT] CreateDuplexChannels_enter (port=0)
I (911) Es7210Codec: [ES7210-INIT] before_i2s_new_channel_rx_only (no esp_pm_lock) (port=0)
Es7210: i2s_new_channel enter id=0 dma_desc=6
Es7210: i2s_new_channel leave ret=0 rx=0x3fced654
I (911) Es7210Codec: [ES7210-INIT] before_i2s_channel_init_tdm_mode_rx (port=0)
I (921) Es7210Codec: ES7210 I2S: RX TDM channel created
I (921) Es7210Codec: [ES7210-INIT] before_audio_codec_new_i2c_ctrl_es7210 (port=0)
I (961) Es7210Codec: [ES7210-INIT] before_es7210_codec_new (port=0)
I (961) ES7210: Work in Slave mode
I (961) ES7210: Enable ES7210_INPUT_MIC1
I (971) Es7210Codec: [ES7210-INIT] before_esp_codec_dev_new_input (port=0)
I (971) Es7210Codec: Es7210OnlyAudioCodec hw initialized (ES7210 TDM in, no ES8311)
I (971) HibikiWiFiBoard: [init] InitializeButtons: enter
I (981) HibikiWiFiBoard: [init] InitializeButtons: leave
I (981) HibikiWiFiBoard: [init] ctor: CONFIG_USE_CAMERA off, skip camera
I (991) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: done (before RF24 bridge)
I (1001) HibikiWiFiBoard: [init] StartRf24AudioBridge
I (1001) RF24Bridge: RF24 bridge disabled by Kconfig
I (1001) HibikiWiFiBoard: [init] HibikiWiFiBoard ctor: end
I (1011) BoardVariant: [VARIANT] board=ml307 hw_rev=20260309-v101 batch=p0 batch_src=build
I (1021) Application: STATE: unknown -> starting
I (1021) Display: Power management not supported
W (1031) Application: [STARTUP-WDT] relax TWDT to 120s for audio+rf24 task init
I (1031) AudioService: AudioService::Initialize begin codec=0x3fced4dc
I (1041) HibikiWiFiBoard: [init] ES7210: EnableInput on startup task (before audio_input)
I (1051) I2S_IF: channel mode 2 bits:16/16 channel:2 mask:3
I (1051) I2S_IF: TDM Mode 0 bits:16/16 channel:2 sample_rate:24000 mask:3
I (1061) ES7210: Bits 16
I (1071) ES7210: Enable ES7210_INPUT_MIC1
I (1081) ES7210: Unmuted
I (1081) Adev_Codec: Open codec device OK
I (1081) Es7210Codec: Set input enable to true (ES7210: RX enabled by esp_codec_dev, no duplicate i2s_channel_enable)
I (1081) HibikiWiFiBoard: Audio codec started: ES7210 input enabled
I (1091) AudioCodec: Set output enable to true
I (1091) AudioService: AudioService::Initialize after codec_->Start
I (1101) AudioService: AudioService::Initialize lazy-opus-decoder (skip now)
I (1101) AudioService: AudioService::Initialize lazy-opus-encoder (skip now)
I (1111) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (1121) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (1131) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (1141) OpusResampler: Resampler configured with input sample rate 24000 and output sample rate 16000
I (1151) AudioService: AudioService::Initialize after audio_processor
I (1151) AudioService: AudioService::Initialize after wake_word component
I (1161) AudioService: [WW-STATE] ww_init task started (reason=preload core=0 arm_after_ready=0)
I (1171) AudioService: [WW-STATE] ww_init begin arm_after_ready=0 suspend_modem_uart=1
I (1181) AudioService: WakeWord isolate: TWDT 60s (no idle monitor) for multinet load
I (1181) AudioService: WakeWord isolate: AFE mode — suspend audio_input+output, 30ms settle
I (1231) AudioService: WakeWord isolate: 50ms drain after peer suspend (before I2S close)
I (1281) Es7210Codec: SR model load: suspend I2S RX (esp_codec_dev_close)
I (1281) AudioService: WakeWord isolate: 500ms settle after I2S close for AFE alloc
I (1781) MODEL_LOADER: The storage free size is 22208 KB
I (1781) MODEL_LOADER: The partition size is 960 KB
I (1781) MODEL_LOADER: Successfully load srmodels
I (1781) AfeWakeWord: Model 0: wn9_nihaoxiaozhi_tts
I (1781) AFE_CONFIG: Set WakeNet Model: wn9_nihaoxiaozhi_tts
I (1791) AfeWakeWord: AFE: offload esp_afe_handle_from_config + create_from_config to worker
AFE: SpawnAfeCreateWorker enter

Who is online

Users browsing this forum: Baidu [Spider], GPTBot, PerplexityBot, Semrush [Bot] and 1 guest