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

Using Flash Data Storage library with nrf52840+external memory (connected through the QSPI) as backend

Hi,

I want to use Flash Data Storage library  to operate with data on external memory, connected through QSPI. So, as I see in this thread it should be possible, but for me not very clear, how I can start to impement it? What can be a starting point? I'm using SDK17, nrf52840-DK.

Thank you in advance.

Parents
  • Hello,

    If you want to use the FDS library with qspi you need to write a new backend for the FDS.

    There already is a softdevice backend and a non-softdevice backend. You can see how they are implemented if you compare the examples:

    SDK\examples\peripheral\flash_fds\pca10056\s140

    vs

    SDK\examples\peripheral\flash_fds\pca10056\blank

    The discussion in the thread that you linked to doesn't really conclude by using the FDS library at all, so that is probably also an option.

    Best regards,

    Edvin

  • So, it seems that I almost successfully wrote own QSPI backend  for Fstorage library and rewrite sone functions in Flash Data Storage library. Now, all my code that I used for storing/removing records on internal flash works on external Flash.

    Unfortunately there is a trable with Peer Manager, it can't successfully store data on the external flash... So, at least on current implementation bonding functionality doesn't work... 

Reply
  • So, it seems that I almost successfully wrote own QSPI backend  for Fstorage library and rewrite sone functions in Flash Data Storage library. Now, all my code that I used for storing/removing records on internal flash works on external Flash.

    Unfortunately there is a trable with Peer Manager, it can't successfully store data on the external flash... So, at least on current implementation bonding functionality doesn't work... 

Children
Related