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

Starting and Ending address of user flash in FDS and Fstorage

Hi,

I am not getting the exact starting and ending address of user flash storage like other controllers, How we can find that while using FDS and Fstorage and also i want to know more about the difference between Fstorage and FDS.

Thanks!

Parents
  • Hey, 

    The location of flash used for fstorage instance is defined in NRF_FSTORAGE_DEF() call (start_addr and end_addr). It described here.

    The fds module use the fstorage module as the backend to interface with the flash. fds module choose the location of fstorage in flash_bounds_set() function. It's located at the bottom of the flash (right under the bootloader).

    The main difference between fds and fstorage is that fds is a file system where the record, file is defined. Where the fstorage managing the flash, writing, reading directly to flash. The fds uses the fstorage to read/write/erase into flash. Have a look at the documentation: infocenter.nordicsemi.com/.../lib_fds.html

Reply
  • Hey, 

    The location of flash used for fstorage instance is defined in NRF_FSTORAGE_DEF() call (start_addr and end_addr). It described here.

    The fds module use the fstorage module as the backend to interface with the flash. fds module choose the location of fstorage in flash_bounds_set() function. It's located at the bottom of the flash (right under the bootloader).

    The main difference between fds and fstorage is that fds is a file system where the record, file is defined. Where the fstorage managing the flash, writing, reading directly to flash. The fds uses the fstorage to read/write/erase into flash. Have a look at the documentation: infocenter.nordicsemi.com/.../lib_fds.html

Children
No Data
Related