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
  • There must be more than these two lines that are printed?

    <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)

     

    In your prj.conf, this is too low:

    CONFIG_HEAP_MEM_POOL_SIZE=15600

     

    This should be higher to accommodate for a higher number of returned SSID's. Our samples use around 40k, but you can also adjust CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT if you want to limit the amount of returned SSID's.

     

    Also, instead of using a fixed size for the net stack (CONFIG_NET_BUF_FIXED_DATA_SIZE=y), you can instead try the option CONFIG_NET_BUF_VARIABLE_DATA_SIZE, which will help you if you're running out of RAM.

     

    Kind regards,

    Håkon

Children
Related