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

Unknown error code (0xdeadbeef) - Thread CoAP application

Hi,

I' writing an app based on ble_thread_dynamic_template with added CoAP utils, but with a few changes. Program works fine, I am able to communicate over CoAP,  but after some time I get the deadbeef error. I tried to debug and it seems to come from thread timer (?), but I'm not sure, I will appreciate any bit of advice. I attach screen from debug session.

Parents Reply
  • I investigated it once again and found out that previously I checked current openthread version, not the one used in SDK for Thread 0.11 (commit a89eb887). In this commit line 259 in nrf_raal_softdevice.c looks like that:

        // Adjust RTC0 ticks to TIMER0 resolution. RTC0 works with 32768kHz so first
        // multiply with 10^6 (microseconds) and divide by 32768Hz (2^15) to get microseconds.
        rtc_ticks = DIVIDE_AND_CEIL((rtc_ticks * US_PER_S), 32768);
     

Children
Related