flash_fds - pages_init returns FDS_ERROR_NO_PAGES

Hi ,

I am exploring the peripheral examples from the nRF5_SDK_17.1.0.

I am testing the example code "flash_fds" from the peripherals. I am able to compile the code without any error and load the program into nRF52832DK.

As soon as the program starts to debug, it gives me the above harfdfault.

The return value for init_opts = pages_init(); is 0x00. and it returns as FDS_ERR_NO_PAGES.

This further results into failure of fds_init(); with error code 34314.

Please let me know what's wrong with my set up in order to resolve this hardfault.

Parents Reply
  • Hi Nameem Maroof,

    I did not change anything. I am just running the example code as it is provided in the SDK.

    In the hard faullt log, before it reaches NRF_BREAKPOINT_COND, it prints the switch case NO_SWAP and returns the error code as FDS_ERR_NO_PAGES.
    This leads to further failure of fds_init();

    Please let me know what could be wrong with my configurations. I did not even make any changes in sdk_config.h

    Thanks,

    Mushtakh

Children
No Data
Related