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

Flash Data Storage: Defining two Instances or flash segments

Hello,

We want to use the flash to store two types of information: application configuration settings (which should be protected during DFU) and temporary data (which can be erased during DFU). Since the bootloader sdk_config settings specifies a number of pages to protect during DFU, we will need to store the temporary data in a different flash segment from the application configuration setting. Is it possible to declare two different segments (or instances) of the Flash Data Storage; one for application data, and one for temporary data?

We have found an another user who also ran into this issue, but there was no resolution: https://devzone.nordicsemi.com/f/nordic-q-a/51225/using-fds-flash-storage-for-user-settings-as-well-as-for-dfu/205718#205718 

Thank you.

Parents
  • In our application, we will need to use a large amount of flash storage for the temporary data (about 400kB). However, if we were to reserve this flash region, we will not have enough flash space to perform dual-bank DFU - a very important feature from a customer usability point of view. As such, we will likely use the customer UICR registers for storing application configuration, and FDS for temporary data. We will take care to fully erase the FDS pages during a DFU.

    Thank you for your help.

Reply
  • In our application, we will need to use a large amount of flash storage for the temporary data (about 400kB). However, if we were to reserve this flash region, we will not have enough flash space to perform dual-bank DFU - a very important feature from a customer usability point of view. As such, we will likely use the customer UICR registers for storing application configuration, and FDS for temporary data. We will take care to fully erase the FDS pages during a DFU.

    Thank you for your help.

Children
Related