Connecting to Wi-Fi using the Wi-Fi shell

Hello,

i've been trying to do some exercices from the devAcademy on my nrf52840 DK but when i tried doing the "lesson_2_exercice_1" this is the result i get : 

[00:00:00.449,279] <inf> wifi_nrf: SPIM spi@4002f000: latency = 0

uart:~$ nrf_wifi_fw_load: nrf_wifi_fmac_fw_load failed
[00:00:11.209,075] <err> wifi_nrf: nrf_wifi_hal_fw_chk_boot: Boot_sig check faile d for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x0

[00:00:11.209,136] <err> wifi_nrf: nrf_wifi_fmac_fw_load: LMAC ROM boot check fai led

[00:00:11.213,348] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fw_load fa iled

[00:00:11.213,348] <err> wifi_nrf: nrf_wifi_if_init_zep: nrf_wifi_fmac_dev_add_ze p failed

[00:00:11.213,653] <err> wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: <u nknown>

[00:00:11.218,566] <inf> fs_nvs: 8 Sectors of 4096 bytes
[00:00:11.218,597] <inf> fs_nvs: alloc wra: 0, fe8
[00:00:11.218,597] <inf> fs_nvs: data wra: 0, 0
*** Booting nRF Connect SDK v2.5.2 ***
Starting nrf52840dk_nrf52840 with CPU frequency: 64 MHz
[00:00:11.219,055] <inf> wpa_supp: Successfully initialized wpa_supplicant

and when i type the "wifi scan" command nothing happens, even tho i followed the mentioned steps in the exercice

Parents
  • Hi,

     

    [00:00:11.209,075] <err> wifi_nrf: nrf_wifi_hal_fw_chk_boot: Boot_sig check faile d for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x0

    This indicate that the firmware is unable to communicate with the nRF7002.

    Can you share how you build/configure? I assume you're using a nRF7002-EK mounted on the nRF52840-DK?

     

    Kind regards,

    Håkon

  • Hi, thank you for your response,

    yes indeed i'm using a nrf7002ek with my nrf52840DK, attached are the build/config files and parameters i used.

    I also tried to build it adding the nrf7002.overlay and still got the same results.

    Kind regard,

    7635.prj.conf

    #
    # Copyright (c) 2022 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    cmake_minimum_required(VERSION 3.20.0)
    
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    project(nrf_wifi_shell)
    
    target_sources(app PRIVATE src/main.c)
    

  • also when the "wifi scan" command finally executes this is the result i get

  • Thanks for the configuration files.

    I tried your prj.conf in the "wififund_less2_exer1_solution" sample, and it ran as expected on my nRF52840-DK + nRF7002EK:

    [00:00:00.282,501] <inf> wifi_nrf_bus: SPIM spi@4002f000: freq = 8 MHz
    [00:00:00.282,531] <inf> wifi_nrf_bus: SPIM spi@4002f000: latency = 0
    [00:00:00.527,770] <inf> fs_nvs: 8 Sectors of 4096 bytes
    [00:00:00.527,801] <inf> fs_nvs: alloc wra: 0, fe8
    [00:00:00.527,801] <inf> fs_nvs: data wra: 0, 0
    *** Booting nRF Connect SDK v3.5.99-ncs1 ***
    Starting nrf52840dk_nrf52840 with CPU frequency: 64 MHz
    [00:00:00.528,320] <inf> wpa_supp: Successfully initialized wpa_supplicant
    uart:~$ wifi scan
    Scan requested
    
    Num  | SSID                             (len) | Chan (Band)   | RSSI | Security        | BSSID             | MFP   
    .... Long list of SSID's

    Tested it with both ncs v2.5.2 and ncs v2.6.0.

     

    Could you try the solution sample and see if this runs as expected on your side?

     

    Kind regards,

    Håkon

  • Hello again, i still have the same problem, perhaps it's a hardware issue

  • Hi,

     

    Could you share a picture of how you mounted the EK?

    Does the nRF7002-EK LED light up?

     

    Kind regards,

    Håkon

  • i just got a new nrf7002ek and now it's working fine, apparently the first one i got was damaged

    Thank you for your help

    kind regard,

Reply Children
Related