WiFi not able to connect due to MCUBOOT

Hello,

I am working on a custom board with my own custom project/application. I have recently done porting from ncs v2.7.0 to v3.0.2

I was able to initialise the wifi driver and get it connected to the given credentials(ssid and password) with Mcuboot for application core in ncs v2.7.0.
I was able to initialise the wifi driver and get it connected to the given credentials(ssid and password) without enabling Mcuboot in ncs v3.0.2 after porting.

*** But 
After enabling MCUBOOT for either just app core or for both app & net core, it is not able to connect to the given credentials after driver initialisation being successful. I have followed nordic dev academy for developing my application code. 

Here's the error message from the app core due to which the connection is not happening: 

<err> wifi_nrf: nrf_wifi_wpa_supp_scan_abort: nrf_wifi_wpa_supp_scan_abort: Timedout waiting for scan abort response, ret = -11
<err> wifi_interface: wifi_mgmt_event_handler: WIFI connect failed (-116 - Unknown)



I am already late in terms of delivering the product as a department and we need to do make this work ASAP so a sooner reply would be highly appreciated! Refer to the attachments if needed.

Feel free to ask any doubts/questions. Thankyou.

21551.prj.conf1680.nrf5340dk_nrf5340_cpuapp_ns.overlay


 

Parents Reply
  • Just these 2 lines are relevant, rest come from my application logic which are as follows:


    CONFIG_HEAP_MEM_POOL_SIZE=15600 is set but anyway it gets set to 41440 as 

    CONFIG_HEAP_MEM_POOL_IGNORE_MIN is set to n.

    In the setup without MCUBOOT, I set CONFIG_NET_BUF_FIXED_DATA_SIZE=y and also all the prj.conf including the heap allocation options were exactly same except the mcuboot options.

    Definitely I can have it variable if needed but what I meant was that is not an issue in my understanding, let me know if I'm wrong.
Children
Related