Zephyr Project Startup Hardfault using the Matter LightBulb example.

I have been attempting to load a board we manufactured with the Matter Lightbulb example. The code loads and starts to function but I immediately get the following Hard fault.

Some background. This board is simply the nrf52840, with the same LEDs and two of the buttons form the nrf52840-DK board. 
We do not have the 32Khz crystal (which was a problem for me initially to get the code to start). Has anyone seen the code simply fail like this? Any thoughts on why the code would start up and then fault like this. I had single stepped through most of the init function for the main class, so I know it is executing code.

Are there specific hardware requirements when using matter? For example, is it 100% necessary that the design has the 32Khz crystal attached?  Does the device need to use the switching power supplies? 

Thanks for any advice. I realize this question is hard to answer. 

Parents
  • Hello,

    I had single stepped through most of the init function for the main class, so I know it is executing code.

    Does this hardfault trigger at a particular line of code during the initialization? If so, where?

    This board is simply the nrf52840, with the same LEDs and two of the buttons form the nrf52840-DK board. 
    We do not have the 32Khz crystal (which was a problem for me initially to get the code to start). Has anyone seen the code simply fail like this?

    Are you able to successfully run other examples from the SDK on your board, such as the hello_world from Zephyr (to verify that your toolchain and debugger is functioning as it should), or any of the BLE applications (to verify that the rest of your hardware is functioning as expected)?

    This board is simply the nrf52840, with the same LEDs and two of the buttons form the nrf52840-DK board. 

    Have you made your own board files for this board, and used this instead of the nRF52840 DK board files as the build target for the Matter lightbulb application?

    Best regards,
    Karl

  • Are you able to successfully run other examples from the SDK on your board, such as the hello_world from Zephyr (to verify that your toolchain and debugger is functioning as it should), or any of the BLE applications (to verify that the rest of your hardware is functioning as expected)?

    Just to be complete, I did run a zephyr blinky example. The SAME hex file ran properly on both our board AND the nrf52840-DK. It's a primitive program, so it that isn't much an example of similarity, other than the base zephyr kernel functioning. Still haven't tried a different radio program yet (though I would love to play with ESB again, I know it isn't the same).

    Have you made your own board files for this board, and used this instead of the nRF52840 DK board files as the build target for the Matter lightbulb application?

    I did create some board files specific to our board. Checking them again.

Reply
  • Are you able to successfully run other examples from the SDK on your board, such as the hello_world from Zephyr (to verify that your toolchain and debugger is functioning as it should), or any of the BLE applications (to verify that the rest of your hardware is functioning as expected)?

    Just to be complete, I did run a zephyr blinky example. The SAME hex file ran properly on both our board AND the nrf52840-DK. It's a primitive program, so it that isn't much an example of similarity, other than the base zephyr kernel functioning. Still haven't tried a different radio program yet (though I would love to play with ESB again, I know it isn't the same).

    Have you made your own board files for this board, and used this instead of the nRF52840 DK board files as the build target for the Matter lightbulb application?

    I did create some board files specific to our board. Checking them again.

Children
No Data
Related