nrf52833 report error: peer_manager_pds: Could not initialize flash storage. fds_init() returned 0x860A

I use DWM3001C chip,it has a nrf52833 mcu inside.when i call ble_init() in main.c.it report error: 

 peer_manager_pds: Could not initialize flash storage. fds_init() returned 0x860A.
 peer_manager: pm_init failed because pds_init() returned NRF_ERROR_STORAGE_FULL.
 app: Fatal error


it seens like flash full is not the real reason:

  text   data     bss     dec     hex filename

350864   1528 241960 594352   911b0 /Users/zhong/indoor-location-engine/Projects/QANI/FreeRTOS/DWM3001CDK/ses/Output/Common/Exe/DWM3001CDK-QANI-FreeRTOS.elf

can anyone help ?the code is open source:github.com/.../indoor-location-engine.git

Parents
  • Hi

    Please check out this case that seems to be the exact same issue as what you're seeing. As my colleague Amanda explains there:

    "You need to provide erased pages for the system to be able to setup. FDS requires fully erased pages, and it will not erase any unknown pages by itself. You can erase the flash pages before flashing the application, or you can use the NVMC driver. When FDS initializes the pages it will use, the pages will be tagged with a "magic word" that FDS recognizes."

    Best regards,

    Simon

Reply
  • Hi

    Please check out this case that seems to be the exact same issue as what you're seeing. As my colleague Amanda explains there:

    "You need to provide erased pages for the system to be able to setup. FDS requires fully erased pages, and it will not erase any unknown pages by itself. You can erase the flash pages before flashing the application, or you can use the NVMC driver. When FDS initializes the pages it will use, the pages will be tagged with a "magic word" that FDS recognizes."

    Best regards,

    Simon

Children
Related