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

  • Hello Øyvind,

    Firstly, thanks for your rapidity !

    What version of the nRF5340DK are you running?

    I am runing on a nRF5340-PDK, the chip ref is : NRF5340 QKAAAB 1940AG, and on VS Code it appears as : NRF5340_xxAA_ENGA.

    Did I answer you question properly ?

    Did you change anything in the lock sample?

    No I build and flash it as it is given by the samples.

    Did you try to erase board before programming the device?

    Yes. Moreover, I am forced to when the board is in a reset loop because it is the only way to retreive it.

    Thanks again !

    Kind regards,

    Sulian

  • Hello Sulian, 

    Sulian said:
    I am runing on a nRF5340-PDK,

    The nRF5340PDK is unfortunately no longer supported by the nRF Connect SDK. See Working with nRF5340 DK for more information.

    The nRF5340 PDK has been deprecated with the introduction of the production-level nRF5340 DK. To determine if you have a PDK or DK, check the version number on the sticker on your kit. If the version is 0.11.0 or higher, the kit is an nRF5340 DK.

    See the nRF Connect SDK v1.4.0 documentation for the last release supporting the nRF5340 PDK.

    Kind regards,
    Øyvind

  • Hello ,

    Thank you for your help !

    I know now what is my problem. So i'll order the rights boards to continue.

    I would have problably been stuck for a while without your help because i wasn't suspecting my board compatibility at all.

    Thanks again !

    Kinds regards,

    Sulian

Reply Children
No Data
Related