In our work requirement, we need both bluetooth and wifi to coexist, but it aborts when mconfig_blufi_init is triggered since we try to configure the device using blufi.
Debug Logs
I (2952) BTDM_INIT: BT controller compile version [e250020]
I (2966) coexist: [2000505] Error! Should enable WiFi modem sleep when both WiFi and Bluetooth a
abort() was called at PC 0x400f6d9e on core 0
0x400f6d9e: coex_init at ??:?
Backtrace:0x4008e0af:0x3ffbc230 0x4008e74d:0x3ffbc250 0x40095526:0x3ffbc270 0x400f6d9e:0x3ffbc2e0 0x400d2324:0x3ffbc300 0x400d2581:0x3ffbc330 0x40178026:0x3ffbc360 0x4013c26b:0x3ffbc380 0x40130169:0x3ffbc3e0 0x4013061d:0x3ffbc460 0x4012f958:0x3ffbc6b0 0x400d04ee:0x3ffbc6f0 0x40090749:0x3ffbc720
0x4008e0af: panic_abort at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/esp_system/panic.c:330
0x4008e74d: esp_system_abort at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/esp_system/system_api.c:106
0x40095526: abort at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/newlib/abort.c:46
0x400f6d9e: coex_init at ??:?
0x400d2324: esp_phy_rf_init at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/esp_wifi/src/phy_init.c:279
0x400d2581: esp_phy_load_cal_and_init at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/esp_wifi/src/phy_init.c:766
0x40178026: esp_bt_controller_enable at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/bt/controller/bt.c:1376
0x4013c26b: mconfig_blufi_init at /home/nsimran/esp-mdf-1.0/esp-mdf/components/mconfig/mconfig_blufi.c:974
0x40130169: get_network_config at /home/nsimran/projects/gtdlabs/before-refactor/esp32-fw/main/confmall.c:203
0x4013061d: conf_blufi_start at /home/nsimran/projects/gtdlabs/before-refactor/esp32-fw/main/confmall.c:278
0x4012f958: app_main at /home/nsimran/projects/gtdlabs/before-refactor/esp32-fw/main/app.main.c:480
0x400d04ee: main_task at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/esp32/cpu_start.c:589
0x40090749: vPortTaskWrapper at /home/nsimran/esp-mdf-1.0/esp-mdf/esp-idf/components/freertos/xtensa/port.c:143
ELF file SHA256: 2362243423e005e4
Rebooting...
maybe that this error occur when you use your own sources on new branch( master), you can compare that.
this is reason: MDF_ERROR_ASSERT(esp_wifi_set_ps(WIFI_PS_NONE));
new one don't have this line
Environment
Problem Description
In our work requirement, we need both bluetooth and wifi to coexist, but it aborts when mconfig_blufi_init is triggered since we try to configure the device using blufi.
Debug Logs
sdkconfig.zip is the sdkconfig used.