Failed to commissioning the Matter device with USAGE FAULT

Hi there,
I got a problem with the Matter project.
I'm trying to achieve a Contact Sensor(Matter over thread device) with the soc nrf52840, but I failed in the commissioning stage, I got a "USAGE FAULT" like the following:

[00:00:25.372,955] <err> os: ***** USAGE FAULT *****
[00:00:25.372,985] <err> os: Illegal load of EXC_RETURN into PC
[00:00:25.372,985] <err> os: r0/a1: 0x00333330 r1/a2: 0x2002981c r2/a3: 0x00000000
[00:00:25.373,016] <err> os: r3/a4: 0x32360002 r12/ip: 0x00303030 r14/lr: 0x00000081
[00:00:25.373,016] <err> os: xpsr: 0x00000000
[00:00:25.373,016] <err> os: Faulting instruction address (r15/pc): 0x20000cc4
[00:00:25.373,077] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:25.373,107] <err> os: Current thread: 0x20008260 (ot_radio_workq)
[00:00:26.101,348] <err> os: Halting system

Is there any way I can deal with this problem?
Thanks!
Parents
  • Hi, 

    What NCS version are you using?

    Could you elaborate in more detail on the commissioning stage? How do you commission the device?

    If you convert the decimal numbers to hex, specifically the contents of LR and PC, you should be able to do a lookup of the addresses using arm-none-eabi-addr2line:

    arm-none-eabi-addr2line -e my-build-folder\zephyr\zephyr.elf 0x20000cc4

    arm-none-eabi-addr2line -e my-build-folder\zephyr\zephyr.elf 0x00000081

    Could you post the output of the above?

    Regards,
    Amanda H.

Reply
  • Hi, 

    What NCS version are you using?

    Could you elaborate in more detail on the commissioning stage? How do you commission the device?

    If you convert the decimal numbers to hex, specifically the contents of LR and PC, you should be able to do a lookup of the addresses using arm-none-eabi-addr2line:

    arm-none-eabi-addr2line -e my-build-folder\zephyr\zephyr.elf 0x20000cc4

    arm-none-eabi-addr2line -e my-build-folder\zephyr\zephyr.elf 0x00000081

    Could you post the output of the above?

    Regards,
    Amanda H.

Children
Related