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

Data storage

Hello , I want to save some data,even thought there is no power.eg. device name ,baudrate.I have try to use flash write example.How can i read or write data from a memory address .

Parents
  • Hi,

    We recommend using the FDS library for storing data to flash. FDS works both with and without the SoftDevice.

    The Flash Data Storage (FDS) module is a minimalistic file system for the flash storage on the chip that minimizes the risk of data corruption and simplifies your interaction with the persistent storage.

    See the Usage section for code snippets that show the typical usage of Flash Data Storage in an application.

    In SDK 14.1 we also have a usage example of this library(Flash Data Storage Example)

    You can find the source code and the project file of the example in the following folder:

    <SDK_14.1_InstallFolder>\examples\peripheral\flash_fds
    
Reply
  • Hi,

    We recommend using the FDS library for storing data to flash. FDS works both with and without the SoftDevice.

    The Flash Data Storage (FDS) module is a minimalistic file system for the flash storage on the chip that minimizes the risk of data corruption and simplifies your interaction with the persistent storage.

    See the Usage section for code snippets that show the typical usage of Flash Data Storage in an application.

    In SDK 14.1 we also have a usage example of this library(Flash Data Storage Example)

    You can find the source code and the project file of the example in the following folder:

    <SDK_14.1_InstallFolder>\examples\peripheral\flash_fds
    
Children
No Data
Related