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

Assertion failed in src/rem.c line 1371

SDK: 10.0.0

Softdevice: s110_nrf51_8.0.0

I'm working on migrating our application from SDK v9 to v10. I'm getting a softdevice assertion failure in src/rem.c line 1371 reproducably at a certain point during the application's startup. Could I have some details on what causes this particular assertion so I can debug further?

Thanks,

Mike

Parents
  • Hi,

    First I must ask why you are porting from SDK v9 to SDK v10. When you are first in the process of porting the code base, why not go all the way to the newest SDK release supporting the nRF51 series, namely nRF5 SDK v12.3.0?

    I am also curious how you got the file name and line number for the SoftDevice assert. Usually all we get reported is the pc for the assert. I am not aware of any publicly available assert tables or elf files, but I might be wrong of course.

    The assert happens if the SoftDevice receives a TIMER0 event at a point where it is not expecting to get one. It is often seen if you are using the timeslot API and timer0, for instance if the interrupt on timer0 is not cleared before returning from the timeslot.

    Regards,
    Terje

  • We're not actually using TIMER0 in our application at all and we've got `#define TIMER0_ENABLED 0` in nrf_drv_config.h. Given that, do you have any other ideas for how this could happen?

Reply Children
Related