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

[FDS] Limited space for storing data in the flash

Hi,

I am trying to write some data into the flash of the nRF52832 SoC, but can only write around 5 kb of data. After that I will get an error of number 7, which should be related to FDS_ERR_NO_SPACE_IN_FLASH. (Definition is in pathto\SDK\components\libraries\fds\fds.h. The library I am using is Experimental: Flash Data Storage.) I am wondering:

  1. Is it normal that only 5 kB is left for storing data? (I know that the SoftDevice (S132) takes 112 kB, and Total ROM Size (Code + RO Data + RW Data) is 48.62kB in my case. What else could take up a large amount of flash?)
  2. Are there any tools for visualizing the flash usage dynamically?
  3. Could the problem be caused by storing the data in an inappropriate way? (Currently I use the same file ID but different record keys for the entries, which in my opinion is the easiest way of labeling the entries. I tried to re-group this set of data with two file IDs, but still got the same error code.)

Kind Regards

Related