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

What causes NRF_ERROR_INTERNAL pstorage_clear callback

Using nrf51822, Softdevice S110 V8.0 with SDK V8.0.

Sometimes after attempting to erase a pstorage page with pstorage_clear the firmware receives the NRF_ERROR_INTERNAL status code in the pstorage callback. Sometimes this occurs around the time that Bluetooth connections are changing state.

What is the recommended recovery method from this error condition? Is it expected that the application should just try the operation again, or is this an indication of a bigger problem?

Parents
  • This means that the softdevice was not able to allocate a time slot (22.3 ms) for the flash operation. This could happen if there is continuous BLE activity and the softdevice has reserved next cycle future timeslots to this BLE activity.

    You do not need to recover from it, it just means that the operation the failure is from the softdevice and it couldn't start clear operation.

Reply
  • This means that the softdevice was not able to allocate a time slot (22.3 ms) for the flash operation. This could happen if there is continuous BLE activity and the softdevice has reserved next cycle future timeslots to this BLE activity.

    You do not need to recover from it, it just means that the operation the failure is from the softdevice and it couldn't start clear operation.

Children
Related