Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF_DFU_IN_APP problem when MBR not initialized

I am building an app that includes background DFU in the app.  My app is based on the freertos example.

I am having problems during nrf_dfu_settings_write due to the checks in settings_forbidden_parts_equal_to_backup.  The checks appear to be copying data from an uninitialized region of flash for the comparision.  I suspect this means the MBR is not iniatilized.   

When and how does the MBR normally get initialized?   

The settings_forbidden_parts_equal_to_backup was added in more recent SDK's and did not exist in SDK 15.0.0.  What is the purpose of the check?

Related