nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Matter issues with nRF5340

Hello,

I am experiencing issues with an nRF5340 DK. I would like to try the matter samples but every time I flash one of them, it results in fatal error and reseting loop.

I am using the VS Code nRF connect extensions and nRF Connect SDK v1.9.1.

The basic samples like blinky or button work well without any trouble, but every attemp with matter samples results in error.

What I do is :

Create a new application from sample and select one of the compatible Matter projects (for instance matter/lock).

Build it with the standard configuration (prj.conf with nrf5340dk_nrf5340_cpuapp as target board).

Then flash it on the board.

Once the board is flashed, the board enters in reseting loop with this error :

*** Booting Zephyt OS build v2.7.99-ncs1-1 ***
E: ***** BUS FAULT *****
E:   Precise data bus error
E:   BFAR Address: 0x50019600
E: r0/a1:  0x00009e86  r1/a2:  0xe000ed00  r2/a3:  0x50019000
E: r3/a4:  0x6e524635 r12/ip:  0x00000000 r14/lr:  0x00005c19
E:  xpsr:  0x69000000
E: Faulting instruction address (r15/pc): 0x0000047c
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20002280 (unknown)
*** Booting Zephyt OS build v2.7.99-ncs1-1 ***
E: ***** BUS FAULT *****
E:   Precise data bus error
E:   BFAR Address: 0x50019600
E: r0/a1:  0x00009e86  r1/a2:  0xe000ed00  r2/a3:  0x50019000
E: r3/a4:  0x6e524635 r12/ip:  0x00000000 r14/lr:  0x00005c19
E:  xpsr:  0x69000000
E: Faulting instruction address (r15/pc): 0x0000047c
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20002280 (unknown)
E: Resetting system

I understand that I am facing a bus fault error, but I can't figure it out.

As the error doesn't appear with the basic samples I suspected it to be linked with the thread part of the project. So I tried an OpenThread sample and I've got the same error.

So I really suspect the communiaction but I am not sure.

Every time, the code is unchanged as I just want to test the concept.

Does anyone have a idea ?

(Do you need more information ?)

Thanks in advance for any help !

Parents
  • Hello, 

    What version of the nRF5340DK are you running? I've tested the Lock sample and I'm not able to reproduce the issue on my side. 

    Did you change anything in the lock sample? Did you try to erase board before programming the device? E.g. hover over board in VS Code and click on "Erase board" (icon to the left of the three)

    Kind regards,
    Øyvind

Reply
  • Hello, 

    What version of the nRF5340DK are you running? I've tested the Lock sample and I'm not able to reproduce the issue on my side. 

    Did you change anything in the lock sample? Did you try to erase board before programming the device? E.g. hover over board in VS Code and click on "Erase board" (icon to the left of the three)

    Kind regards,
    Øyvind

Children
Related