Page 1 of 1

WiFi manager

Posted: Tue Aug 02, 2022 8:19 am
by Atelier R2D2
Hello,

I have an ESP32-WROOM-32UE. I have a big program on the ESP. And it worked correctly last week. Today I upload the sketch and the watchdog is trigged -> the uc reboot and do it in a loop

The problem appear when I trying to connect the esp to the WiFi. I use the WiFiManager.h library [https://github.com/tzapu/WiFiManager]


I have read on the internet that interrupt can make trouble with this library. I write below the backtrace if it's usefull

09:11:24.609 -> Current step : 3200
09:11:34.781 -> E (12021) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
09:11:34.781 -> E (12021) task_wdt: - IDLE0 (CPU 0)
09:11:34.781 -> E (12021) task_wdt: Tasks currently running:
09:11:34.781 -> E (12021) task_wdt: CPU 0: wifi
09:11:34.781 -> E (12021) task_wdt: CPU 1: IDLE1
09:11:34.781 -> E (12021) task_wdt: Aborting.
09:11:34.781 -> abort() was called at PC 0x4016e508 on core 0
09:11:34.781 ->
09:11:34.781 -> ELF file SHA256: 0000000000000000
09:11:34.781 ->
09:11:34.781 -> Backtrace: 0x400896e4:0x3ffd29d0 0x40089961:0x3ffd29f0 0x4016e508:0x3ffd2a10 0x40087dc1:0x3ffd2a30 0x4016b924:0x3ffb53f0 0x4016b979:0x3ffb5410 0x4016bd13:0x3ffb5430 0x4016bf47:0x3ffb5470 0x40168c91:0x3ffb5500 0x40168ffb:0x3ffb5580 0x40169c1c:0x3ffb55c0 0x40169f99:0x3ffb5760 0x4016ab6a:0x3ffb5780 0x4016ff85:0x3ffb57b0 0x40170226:0x3ffb57e0 0x400fc80c:0x3ffb5810 0x400fc8d9:0x3ffb5830 0x400fcb68:0x3ffb5850 0x400f9a6e:0x3ffb5870 0x40122e82:0x3ffb5890 0x4008a972:0x3ffb58c0
09:11:34.781 ->
09:11:34.781 -> Rebooting...
09:11:35.478 -> Page : 0
09:11:35.478 -> Current step : 1
09:11:35.478 -> Wake up - 3_Oblo_librairies_R2D2_V0.7

Decoding stack results
0x400896e4: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 156
0x40089961: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 171
0x4016e508: task_wdt_isr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/task_wdt.c line 174
0x40085f81: esp_dport_access_int_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/dport_access.c line 206
0x4016b979: ram_dc_iq_est at phy_chip_v7_cal.c line 573
0x4016bd13: rxdc_est_min at phy_chip_v7_cal.c line 692
0x4016bf47: pbus_rx_dco_cal_1step at phy_chip_v7_cal.c line 750
0x40168c91: set_rx_gain_cal_dc at phy_chip_v7.c line 564
0x40168ffb: set_rx_gain_testchip_70 at phy_chip_v7.c line 760
0x40169c1c: set_rx_gain_table at phy_chip_v7.c line 2600
0x40169f99: bb_init at phy_chip_v7.c line 2788
0x4016ab6a: register_chipv7_phy at phy_chip_v7.c line 3780
0x4016ff85: esp_phy_rf_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/phy_init.c line 180
0x40170226: esp_phy_load_cal_and_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/phy_init.c line 673
0x4008a972: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/freertos/port.c line 143