NRF7002 w/ NRF9160 project crash

Hello,

We have a project with an nrf7002 and a nrf9160 as the host MCU on a custom board. However we find whenever we include CONFIG_NET_SOCKETS=y into project.conf we see a crash on wifi initialization. Any idea why this could be?

We are using NCS v2.5.2. This is the log from the crash after wifi initialization:


Modem init

Using MAC: F6:CE:36:00:00:01
[00:00:18.830,963] <inf> WiFi: OTP not programmed, proceeding with local MAC: <unknown>
[00:00:18.831,420] <err> os: ***** USAGE FAULT *****
[00:00:18.831,787] <err> os: Unaligned memory access
[00:00:18.832,183] <err> os: r0/a1: 0xffffffff r1/a2: 0x2003c71c r2/a3: 0x00000000
[00:00:18.832,763] <err> os: r3/a4: 0x00000000 r12/ip: 0x000006bb r14/lr: 0x00072779
[00:00:18.833,282] <err> os: xpsr: 0x61000000
[00:00:18.833,679] <err> os: Faulting instruction address (r15/pc): 0x0004eb74
[00:00:18.834,167] <err> os: >>> ZEPHYR FATAL ERROR 31: Unknown error on CPU 0
[00:00:18.834,686] <err> os: Current thread: 0x2000ce98 (main)
[00:00:18.845,184] <err> fatal_error: Resetting system

Thanks,

RJ

Parents
  • Hi

    I think this is because 00-00-00-00-00-04 is not a valid MAC address. Is there a reason you're setting this address specifically? 

    If you make up your own MAC address, you're supposed to set the 2's place bit (the "locally administered" bit) in the first byte, to differentiate it from a guaranteed globally unique MAC address. Usually the first three bytes a unicast MAC address is an "Organizationally Unique Identifier" (OUI) that the IEEE assigned to the manufacturer of your Ethernet device. Manufacturers are required to make sure they keep the last 3 bytes unique

    Best regards,

    Simon

  • That is not what we chose, somehow it came out that way. But it’s not working with the first MAC address either. What two MAC addresses would you like us to test with?

Reply Children
Related