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

SoftDevice task not created

Here is a snippet of my debug log:

nrf_sdh_freertos: Creating a SoftDevice task. nrf_sdh_freertos: SoftDevice task not created. app: ERROR 4 [NRF_ERROR_NO_MEM] at ........\Libraries\Nordic\nRF5x\components\softdevice\common\nrf_sdh_freertos.c:108

This occurs after I add a single Task on top of the HRS_FreeRTOS example. see the following link for the same issue reported by another user.

link text

I am using nRF5_SDK_14.2.0_17b948a

Parents Reply
  • If number of tasks created between your old version of application is exactly same and if the FreeRTOS version you used before and now is the same and if you use same dynamic allocation scheme (heap1.c, heap2.c or heap4.c) then I doubt that the heap requirement of your application would change. The heap is only used by freeRTOS kernel for allocating the tasks data structures. that should not change between the same version of freeRTOS. I am almost certain that some configuration has changed in your application that is needing more heap (if all above are same, then your application must be requesting dynamic memory and that need might have changed)

Children
No Data
Related