This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ASSERTION FAILED at ral_fsm.c:318 - Can not even find this file

As the title descripes i get an error with a file name in it but i can not locate this file.

I am working with the 802.15.4 wireless uart example on a nRF52840 DK. I only get this error if i start inserting breakpoints, i can debug some lines and than suddenly this error.

The Call Stack looks like this:

app_error_fault_handler()
assert_nrf_callback()
RADIO_IRQHandler()

Maybe someone can help with this error. Are there more example or even a template for 802.15.4 or is this the only project i can build on?

Thank you soo much!

Parents
  • Hi,

    The SDK provides the 802.15.4 driver as a pre-compiled library which is why you can't see the source code when debugging. The source code is however available on GitHub if you are interested (link). 

    I assume the problem is that you get an assert in the driver because you are single stepping through the code. Only the CPU becomes halted when you hit a breakpoint; timers will keep running so the driver may detect that radio protocol timing requirements were not met as soon as you resume execution.  A workaround for this limitation is to use Monitor mode debugging (link).

  • I will try the Monitor Mode while debugging and give some feedback if it solved the problem.

    I could not locate the source code for the libary in the given repository. Is there to option to build the libary ourself?

    For example i tried locating the source for the mlme_start_req() function from mac_mlme_start.h, but i could not find it.

Reply Children
No Data
Related