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

Alternative to use sd_flash_page_erase using FDS

Hi there,

On my project I was working using sd_flash_xxx functions to write the whole flash pages or erase it, so I added peer manager to my project and I had to switch my functions from sd_flash_xxx to FDS, because I was getting hangs on my code when using sd_flash.

Are there a sd_flash_page_erase equivalent using FDS?

How can I select the address to write or erase using FDS functions?

and What is the max number of pages I can use? can I use 40 pages? I was using 40 writing/erasing about 40 flash pages using sd_flash_xxx functions.

Thanks

Arepa

Parents
  • I don't see why ble_advertising_on_sys_evt() has anything to do with fstorage.

    What I mean with ble_app_hrs is to edit that example and add your code in. The code should be basically what described in the code snipets here.

    You should have a look at the fstorage_test() in the fstorage simple example here.

    Please try to put it into ble_app_hrs or any example in the SDK.

    If you still have problem, please zip your project and add it into the question so we can have a look.

Reply
  • I don't see why ble_advertising_on_sys_evt() has anything to do with fstorage.

    What I mean with ble_app_hrs is to edit that example and add your code in. The code should be basically what described in the code snipets here.

    You should have a look at the fstorage_test() in the fstorage simple example here.

    Please try to put it into ble_app_hrs or any example in the SDK.

    If you still have problem, please zip your project and add it into the question so we can have a look.

Children
No Data
Related