Hi everyone,
I'm currently following the "WiFi Fundamentals" course provided by Nordic, and I'm encountering issues with two specific exercises: l2_e3
and l4_e1
. Other exercises are working fine, but these two are giving me trouble.
To ensure I wasn't making any mistakes I used the solutions provided directly by Nordic (l2_e3_sol
and l4_e1_sol
.)
Additional Context
-
Board: nrf7002dk_nrf5340
-
IDE: Visual Studio Code with nRF Connect extension
-
SDK and toolchains : 3.0 but also try 2.91; 2.9; 2.8
What I've Tried
-
Reinstalled SDKs and toolchains.
-
Re-cloned the exercises from GitHub.
-
Reset the board (nrf7002dk_nrf5340).
-
Followed the exercise steps precisely.
Issue 1: l4_e1
- RAM Overflow
When trying to build l4_e1
, I consistently get the error: region 'RAM'
overflowed
. Here are the details:
Error Message
c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `noinit' will not fit in region `RAM' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM' overflowed by 2920 bytes
Issue 2: l2_e3
- Missing Header File and Flashing Issue
Initially, I encountered a missing header file error: fatal
error: zephyr/net/wifi_credentials.h: No such file or directory
. This issue seems to have resolved itself (which is not very reassuring, as I am afraid the problem might come back again.),
But now I'm facing a flashing issue. The message in the terminal is strange, as even though it indicates that the flash occurred, my 7002dk is reacting as if I hadn't flashed anything.
Error Message During Flashing
WARNING: Specifying runner options for multiple domains is experimental. If problems are experienced, please specify a single domain using '--domain <domain>' -- west flash: using runner nrfutil -- runners.nrfutil: reset after flashing requested -- runners.nrfutil: Flashing file: C:\Users\Stage\Documents\wifi-fund\l2\l2_e3_sol\build\merged_CPUNET.hex Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found -- runners.nrfutil: Board with serial number 1050769643 flashed successfully. -- west flash: using runner nrfutil -- runners.nrfutil: reset after flashing requested -- runners.nrfutil: Flashing file: C:\Users\Stage\Documents\wifi-fund\l2\l2_e3_sol\build\merged.hex Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device.exe not found -- runners.nrfutil: Board with serial number 1050769643 flashed successfully.
Workaround
I managed to flash the board manually using the JLink runner:
west flash --runner jlink
Request for Help
If anyone has encountered similar issues or has any insights on how to resolve my issue, please share your advice. Any help would be greatly appreciated!
Thank you!
Find attached a PDF of my ticket, which includes the complete error messages I encountered.