ESP32: interrupt wdt timeout in classic bt.
Posted: Wed Jul 17, 2019 2:28 am
OS: windows
Device: TTGO ESP32-Micro ESP32-PICO-D4 ESP-32-PICO WIFI wireless Module Bluetooth Development Board
Scenario: BLE, and Classic Bluetooth Coexist. Phone 1 connected via BLE. Messages are sent between Phone1 and esp32. Phone 2 connects via Bluetooth(using audio profile). When Phone 2 connects, the following crash log occurs. Not 100% reproducible.
IDF: 3.2.2, and 3.2
Device: TTGO ESP32-Micro ESP32-PICO-D4 ESP-32-PICO WIFI wireless Module Bluetooth Development Board
Scenario: BLE, and Classic Bluetooth Coexist. Phone 1 connected via BLE. Messages are sent between Phone1 and esp32. Phone 2 connects via Bluetooth(using audio profile). When Phone 2 connects, the following crash log occurs. Not 100% reproducible.
IDF: 3.2.2, and 3.2
Code: Select all
ASSERT_PARAM(131072 0), in rwbt.c at line 311
Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1)
Core 1 register dump:
PC : 0x4008697a PS : 0x00060034 A0 : 0x8008ae10 A1 : 0x3ffbe8b0
0x4008697a: r_assert_param at ??:?
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x60008054
A6 : 0x3ffbdcdc A7 : 0x60008050 A8 : 0x80086975 A9 : 0x3ffbe890
A10 : 0x00000004 A11 : 0x00000000 A12 : 0x6000804c A13 : 0xffffffff
A14 : 0x00000000 A15 : 0xfffffffc SAR : 0x00000004 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x400868ad LEND : 0x400868b4 LCOUNT : 0x00000000
0x400868ad: r_assert_param at ??:?
0x400868b4: r_assert_param at ??:?
Core 1 was running in ISR context:
EPC1 : 0x4014d40e EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008697a
0x4014d40e: esp_pm_impl_waiti at esp-idf-v3.2.2/components/esp32/pm_esp32.c:487
0x4008697a: r_assert_param at ??:?
Backtrace: 0x4008697a:0x3ffbe8b0 0x4008ae0d:0x3ffbe8d0 0x4008b21b:0x3ffbe8f0 0x40084c79:0x3ffbe910 0x4014d40b:0x3ffbd800 0x400d2b57:0x3ffbd820 0x4008d23d:0x3ffbd840
0x4008697a: r_assert_param at ??:?
0x4008ae0d: r_rwbt_isr at ??:?
0x4008b21b: r_rwbtdm_isr_wrapper at intc.c:?
0x40084c79: _xt_lowint1 at esp-idf-v3.2.2/components/freertos/xtensa_vectors.S:1154
0x4014d40b: esp_pm_impl_waiti at esp-idf-v3.2.2/components/esp32/pm_esp32.c:487
0x400d2b57: esp_vApplicationIdleHook at esp-idf-v3.2.2/components/esp32/freertos_hooks.c:86
0x4008d23d: prvIdleTask at esp-idf-v3.2.2/components/freertos/tasks.c:4721
Core 0 register dump:
PC : 0x4014d40e PS : 0x00060134 A0 : 0x800d2b5a A1 : 0x3ffbc690
0x4014d40e: esp_pm_impl_waiti at esp-idf-v3.2.2/components/esp32/pm_esp32.c:487
A2 : 0x00000000 A3 : 0x3ffcde58 A4 : 0x8008dd64 A5 : 0x3ffbc5c0
A6 : 0x00000003 A7 : 0x00060023 A8 : 0x800d1e16 A9 : 0x3ffbc660
A10 : 0x00000000 A11 : 0x3ffbed2c A12 : 0x8008e24b A13 : 0x3ffbe2a0
A14 : 0x00000003 A15 : 0x00060023 SAR : 0x00000000 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x4014d40e:0x3ffbc690 0x400d2b57:0x3ffbc6b0 0x4008d23d:0x3ffbc6d0
0x4014d40e: esp_pm_impl_waiti at esp-idf-v3.2.2/components/esp32/pm_esp32.c:487
0x400d2b57: esp_vApplicationIdleHook at esp-idf-v3.2.2/components/esp32/freertos_hooks.c:86
0x4008d23d: prvIdleTask at esp-idf-v3.2.2/components/freertos/tasks.c:4721