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

nrf_fstorage_write not working sometime

I am using proximity profile in sdk15 with softdevice 6.0.0 . I added flash write, writing continuously some data to flash. But it working sometimes only.    

  • Using the Flash Storage Module with the SoftDevice may cause some issues. When the softdevice is used, the nrf_storage_sd backend is used, which interfaces with the SoftDevice flash memory API. In this way, the flash memory operations are scheduled, and can be safely executed simultaneous with Bluetooth Low Energy connections. 

    However to your question. The SoftDevice Specification says the following:

    "The probability of successfully accessing the flash memory decreases with increasing scheduler activity (i.e. radio activity and timeslot activity)."

    My assumption is that your problem is due to this, but the Flash Storage Module in the infocenter presents some solutions:

    It is difficult to specifically say what is causing the error when I don't have your code, but hopefully the suggestions above will help you find it out.

    Best regards, Simon

Related