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

FDS Documentation?

Is there anywhere I can find some high level documentation on the FDS module? I'm going thru the API documentation but it provides very little insight into how to best setup an FDS. For example: -How to best organize data into Records? -How to best organize using Files? -What to do you you want to saving small bits of data once a second? Should these be different records, or accumulate before placing in a record?

  • Recommended segmentation for a record to account for the overhead of creating one?

Thanks guys

Parents
  • Documentation here.

    If you are just going to store it doesn't matter that much, other than having more records will lead to more overhead.

    But every time you do an update the complete record will be written to flash. And you will more quickly fill up the flash with garbage records, which means you will have to do garbage collection more often, which means you will have to do erases more often, and so on.

    I guess it also depends if you want to use the FDS to organize your data, or you would like to do that in your own way.

Reply
  • Documentation here.

    If you are just going to store it doesn't matter that much, other than having more records will lead to more overhead.

    But every time you do an update the complete record will be written to flash. And you will more quickly fill up the flash with garbage records, which means you will have to do garbage collection more often, which means you will have to do erases more often, and so on.

    I guess it also depends if you want to use the FDS to organize your data, or you would like to do that in your own way.

Children
No Data
Related