Hello,
I cannot get any WiFi sample to work on my nRF7002-DK.
I first attempted to follow the Get started example
I flashed the Precompiled Wi-Fi Provisioning Service sample with the programmer from nRf Connect (v4.2.1 linux)
And installed the mobile provisioning app (Android).
But I couldn't provision the DK, I got the error "Scanning error".
I performed the same process again to capture the logs, which was:
nrf_wifi_fw_load: nrf_wifi_fmac_fw_load failed [00:00:15.183,410] <err> wifi_nrf: nrf_wifi_hal_fw_chk_boot: Boot_sig check failed for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x88888888 [00:00:15.183,471] <err> wifi_nrf: nrf_wifi_fmac_fw_load: LMAC ROM boot check failed [00:00:15.187,744] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fw_load failed [00:00:15.187,774] <err> wifi_nrf: nrf_wifi_if_init_zep: nrf_wifi_fmac_dev_add_zep failed [00:00:15.187,927] <err> wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: <unknown> [00:00:15.191,772] <inf> fs_nvs: 2 Sectors of 4096 bytes [00:00:15.191,802] <inf> fs_nvs: alloc wra: 0, fe8 [00:00:15.191,802] <inf> fs_nvs: data wra: 0, 0 *** Booting nRF Connect SDK v2.5.0-rc2 *** [00:00:15.191,955] <inf> net_config: Initializing network [00:00:15.191,955] <inf> net_config: Waiting interface 1 (0x20001570) to be up... [00:00:45.192,779] <inf> net_config: IPv4 address: 192.165.100.150 [00:00:45.192,840] <inf> net_config: Running dhcpv4 client... [00:00:45.193,054] <err> net_config: Timeout while waiting network interface [00:00:45.193,054] <err> net_config: Network initialization failed (-115) [00:00:46.205,505] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002) [00:00:46.205,535] <inf> bt_hci_core: HW Variant: nRF53x (0x0003) [00:00:46.205,566] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 197.47763 Build 2370639017 [00:00:46.207,519] <inf> bt_hci_core: Identity: D0:10:3C:FA:56:2B (random) [00:00:46.207,550] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x2102, manufacturer 0x0059 [00:00:46.207,580] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0x2102 Bluetooth initialized. Wi-Fi provisioning service starts successfully. BT Advertising successfully started. [00:00:46.209,777] <err> net_sock: invalid access on sock 536946080 by thread 0x200034f8 BT Connected: 74:13:B0:2B:83:6D (random)BT pairing completed: 74:13:B0:2B:83:6D (random), bonded: 0 BT Security changed: 74:13:B0:2B:83:6D (random) level 2. [00:00:58.873,077] <inf> wifi_prov: Wi-Fi Provisioning service - control point: indications enabled [00:00:59.053,161] <inf> wifi_prov: Wi-Fi Provisioning service - data out: notifications enabled [00:00:59.506,866] <inf> wifi_prov: Start parsing... [00:00:59.506,866] <inf> wifi_prov: GET_STATUS received... [00:01:06.526,672] <inf> wifi_prov: Start parsing... [00:01:06.526,702] <inf> wifi_prov: Start_Scan received... [00:01:06.526,733] <err> wifi_nrf: nrf_wifi_disp_scan_zep: Interface not UP
I observed the same 5 log lines at every boot whatever sample I try on the DK:
nrf_wifi_fw_load: nrf_wifi_fmac_fw_load failed [00:00:14.385,223] <err> wifi_nrf: nrf_wifi_hal_fw_chk_boot: Boot_sig check failed for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x88888888 [00:00:14.385,284] <err> wifi_nrf: nrf_wifi_fmac_fw_load: LMAC ROM boot check failed [00:00:14.389,526] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fw_load failed [00:00:14.389,556] <err> wifi_nrf: nrf_wifi_drv_main_zep: nrf_wifi_fmac_dev_add_zep failed
After doing some research, I found this post detailing a similar issue but with no apparent solution.
It led me to this 2nd post talking about the need to set a MAC address in OTP memory (which I find strange given the fact that none of the getting started doc for the DK mentions it).
I attempted to perform this by flashing the "Wi-Fi radio test sample". But any OTP commands I attempt fails.
For example simply attempting to get the OTP status:
uart:~$ wifi_radio_ficr_prog otp_get_status FAILED reading otp memory...... [00:08:04.314,392] <err> otp_prog: OTP is not ready [00:08:04.314,422] <err> otp_prog: err in otp ready poll
I also attempted the alternative method to set the MAC from the doc.
But setting a MAC with "net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS..." I get the errors:
[00:00:15.066,497] <err> wifi_nrf: umac_cmd_cfg: UMAC buff config not yet done(15) [00:00:15.066,528] <err> wifi_nrf: nrf_wifi_fmac_add_vif: NRF_WIFI_UMAC_CMD_NEW_INTERFACE failed [00:00:15.066,589] <err> wifi_nrf: nrf_wifi_if_start_zep: FMAC returned invalid interface index
(all samples where build with the nrf SDK v2.5.0)
At this point I'm wondering if I in fact have a defective DK.
Any suggestions ?
Thanks!
PCB information from the sticker:
PCA10143
1.0.2
2023.17
1050750798