Page 1 of 1

ASSERT_ERR(evt->evt.conn.counter == evt->evt.conn.instant)

Posted: Thu Mar 28, 2019 4:02 pm
by plajjd
I have an ESP32-WROOM32 module talking BLE-GATT to an iPad, and ESP-NOW to several other ESP32 devices.

After letting the ESP32 run overnight (with active BLE connection to iPad, and one connected ESP-NOW device), we had the following error on serial console. (We are using IDF: v3.2-dev-1385-g129d32772)

This is for a commercial product, so we really would like to understand (and fix!) this error. I appreciate any help you can provide!

Code: Select all

ASSERT_ERR(evt->evt.conn.counter == evt->evt.conn.instant), in lld_evt.c at line 866
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40084685  PS      : 0x00060f34  A0      : 0x80086ec8  A1      : 0x3ffbe1f0
0x40084685: r_assert_err at ??:?

A2      : 0x00000001  A3      : 0x00000001  A4      : 0x00000000  A5      : 0x3ffbdc8c
A6      : 0x3ffb93cc  A7      : 0x3ffb8360  A8      : 0x80084680  A9      : 0x3ffbe1d0
A10     : 0x00000055  A11     : 0x00000055  A12     : 0x00000010  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x40084629  LEND    : 0x40084630  LCOUNT  : 0x00000000
0x40084629: r_assert_err at ??:?

0x40084630: r_assert_err at ??:?

Core 0 was running in ISR context:
EPC1    : 0x40009203  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40084685
0x40084685: r_assert_err at ??:?


Backtrace: 0x40084685:0x3ffbe1f0 0x40086ec5:0x3ffbe210 0x400865ae:0x3ffbe240 0x40087152:0x3ffbe260 0x40
08809a:0x3ffbe280 0x400891cb:0x3ffbe2a0 0x40082551:0x3ffbe2c0 0x40190663:0x00000000
0x40084685: r_assert_err at ??:?

0x40086ec5: r_lld_evt_restart at ??:?

0x400865ae: r_lld_evt_end at ??:?

0x40087152: r_lld_evt_end_isr at ??:?

0x4008809a: r_rwble_isr at ??:?

0x400891cb: r_rwbtdm_isr_wrapper at intc.c:?

0x40082551: _xt_lowint1 at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/freertos/
xtensa_vectors.S:1105

0x40190663: esp_pm_impl_waiti at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/esp
32/pm_esp32.c:474


Core 1 register dump:
PC      : 0x40190666  PS      : 0x00060a34  A0      : 0x800d34f5  A1      : 0x3ffbc330
0x40190666: esp_pm_impl_waiti at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/esp
32/pm_esp32.c:474

A2      : 0x00000000  A3      : 0x00000001  A4      : 0x00000001  A5      : 0x00000001
A6      : 0x00000003  A7      : 0x00060023  A8      : 0x80090b34  A9      : 0x3ffbc310
A10     : 0x3ffbd2e8  A11     : 0x40082e90  A12     : 0x00060020  A13     : 0x00000001
0x40082e90: _free_r at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/newlib/syscal
ls.c:41

A14     : 0x00060020  A15     : 0x3ffbd250  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace: 0x40190666:0x3ffbc330 0x400d34f2:0x3ffbc350 0x40091731:0x3ffbc370 0x40092309:0x3ffbc390
0x40190666: esp_pm_impl_waiti at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/esp
32/pm_esp32.c:474

0x400d34f2: esp_vApplicationIdleHook at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/compone
nts/esp32/freertos_hooks.c:86

0x40091731: prvIdleTask at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/freertos/
tasks.c:5056

0x40092309: vPortTaskWrapper at C:/Users/btate/repos/dash/msys32/home/btate/esp/esp-idf/components/free
rtos/port.c:403


Rebooting...