Hi everyone,
My hw/sw configuration:
- nRF52840
- sdk 15.0.0
- softdevice: s140_nrf52_6.0.0
- bootloader + softdevice + application
We're in production stage and we're encountered some problems with the data stored in FDS area.
In particular, in some products fds_init() function return FDS_ERR_NO_PAGES error.
Below, the FDS initialization function:
bool int_flash_init(void){
ret_code_t ret = FDS_SUCCESS;
ret = fds_register(fds_evt_handler);
if (ret != FDS_SUCCESS)
{
NRF_LOG_ERROR("Registering of the FDS event handler has failed.");
return false;
}
ret = fds_init();
if (ret != FDS_SUCCESS)
{
NRF_LOG_ERROR("FDS handle init error = 0x%x", ret);
return false;
}
return true;
}
I try to read the memory area using "nrfjprog --memrd" command and the memory content is not corrupted. The data are valid but the fds_init return error.
Please, could you help me?
Could you suggest me a "workaround" to correctly initialize the FDS area? I don't want and I can't erase the memory otherwise the product will lost important configuration data.
Thanks