zb_nrf52840_abort function

Hello, I developed for my customer, a ZigBee coordinator in last 2019, using nRF5 SDK for Thread and Zigbee v3.2.0.
Now I'm debugging to add one new feature, but some time, during debug, the program stops into zb_nrf52840_abort.

What are the possible causes? How can I trace what is happened?
Thanks for help

Abele

Parents Reply Children
  • Actually, looking at zb_nrf52840_internal.h, you can see that NRF_ERR_CHECK()'s definition is dependent on whether or not DEBUG_NRF or DEBUG_NRF_USER is defined. Try adding either of these as a preprocessor definition, and check if the ASSERT() will print something in the log. At least you should be able to put a breakpoint in ASSERT() -> assert_nrf_callback() -> app_error_fault_handler() on line 51 in nrf_assert.c, to monitor the line num and file_name that triggered the check.

    Best regards,

    Edvin

Related