Is it safe to use flashlog and fds together at same time? ( presently using SES and SDKv15.3.0 )
Is it safe to use flashlog and fds together at same time? ( presently using SES and SDKv15.3.0 )
Hi,
Yes, as long the flashlog and application data don't overwrite each other.
Best regards
Jared
Hi Jared,
How do we ensure that the flashlog and application data don't overwrite each other?
For example, in the definition for nrf_log_backend_flash_erase, we see:
nrf_fstorage_erase(&m_log_flash_fstorage, RUNTIME_START_ADDR, NRF_LOG_BACKEND_PAGES, NULL)
This seems to indicate that we clear flash pages starting from the runtime start address. However, I didn't see a way to specify which addresses the FDS will use.
Thanks for any clues!
Hi,
The FDS module sets the flash bounds in the function flash_bounds_set() in the file fds.c
Best regards
Jared