nRF7002-DK Network Core Image

I wanted to run the wifi sta example on the nRF7002-DK and I accidentally flashed a random zephyr image to the network core of the nRF5340. Which binary should I flash to the network core to make the example work again?

Parents
  • Hello,

    I believe simply flashing the sample again should do the trick. Have you tried that? VSC for instance flashes both cores, though I guess it would depend on how you are flashing it.

    Regards,

    Elfving

  • Yes I tried flashing the example again with VCS but the two LEDs that usually indicate the connection status do not blink at all and I always get the following output: 

    [00:00:02.743,865] [0m<inf> sta: Connection requested[0m
    Status: successful
    ==================
    State: DISCONNECTED
    Status: successful
    ==================
    State: DISCONNECTED
    [00:00:32.760,101] [0m<inf> wpa_supp: wlan0: CTRL-EVENT-DSCP-POLICY clear_all[0m
    [00:00:32.760,162] [0m<inf> sta: Disconnection request done (0)[0m
    [00:00:32.765,441] [0m<inf> sta: Disconnect requested[0m
    [00:00:32.775,512] [0m<inf> sta: Disconnected[0m

    I also tried it from the commandline and I always flashed the example without modifications. So when I use VCS and use the nrf7002dk_nrf5340_cpuapp as the configured board it will always also flash the network core?

    What I did that got me into the situation is to flash a random binary with JLINK and the device option:

    -device nRF5340_xxAA_NET

    After this the device stopped functioning correctly.

  • Does it help recovering the device first, using "nrfjprog --recover"? Are you able to run more basic applications on it, like hello world or blinky without a problem?

    Regards,

    Elfving

  • I tried it but unfortunately it did not change anything. I flashed the scan example and that works without problems (however LEDs still off). But I am still unable to connect to any wifi. My guess is that the chip runs correctly but I have problems with the sta example. When I changed the ssid and the password in the proj.conf but I cant seem to get connected.

  • I was able to make it work by setting the key management in the prj.conf

    CONFIG_STA_KEY_MGMT_WPA2=y

    The example works now as expected, however the LEDs do still not blink (so I guess the network core still has not the factory image flashed to it?) . But this is a minor issue.

Reply Children
No Data
Related