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

pstorage Store Crashing with FreeRTOS

I am trying to get the pstorage module to work with our application and FreeRTOS. At the moment I keep crashing on port_cmsis::prvTaskExitError().

The pstorage documentation here SDK Doc lists several limitations a couple of which I feel maybe the cause of my problem.

  • SoftDevice and the scheduler must be initialized before the Persistent Storage Module
  • Power off is not handled by the module

In my implementation the SoftDevice is initialized buy the scheduler isn't since I am using FreeRTOS. What does the start "Power Off" mean exactly? I am sleeping the processor using tickless idle.

Thanks, Darren

Related