nRF52840(PCA10056DK) ZigBee examples keep rebooting with ZBOSS Error

Hi,

I am facing a very similar issue like this post.  nRF52840 ZigBee examples keep rebooting with ZBOSS Error 

But I am running DK not PDK. And the stack trace shows the error may be from zb_nvram_load()

All the Zigbee examples have the same error. I have tried both NCS V2.2.0 and 2.1.0  and they are not working. The weird thing is the development environment was working fine. Just all of the sudden, enabling Zigbee will reboot the system.

Thanks in advance.

Parents Reply Children
  • Our test engineer found out that switching the power off and on frequently can reproduce this issue.

    HW: PCA10056

    SW: NCS 2.1.0, Zigbee "light switch" example

    Zigbee stack reads NVRAM to get connection information while starting. We guess powering off while the stack is accessing NVRAM may cause data to crash. and If the data in NVRAM is messed up, it will fire a fatal error. 

    So, what is the best way to handle this case?

    many thanks,

  • Hi, 

    Please read and provide the flash memory content or at least the part that ZBOSS NVRAM is stored in - this should allow us to get some sense of what exactly is wrong with the ZBOSS persistent data. Also, it could be useful to get some ZBOSS traces so we can see where in the code the ZBOSS assert was triggered. It seems to me that what it has achieved is forced flash corruption which wouldn't have a place in normal working conditions (Maybe I am wrong.) We are sure why the development environment is not causing issues but hopefully, an analysis of the device's NVRAM could give us an answer to this issue. 

    Regards,
    Amanda H.

Related