We have a sudden problem with the flash_manager. The code stops at static uint32_t flash_area_build(flash_manager_t * p_manager), at line NRF_MESH_ASSERT(p_manager->config.p_area[i].metadata.page_index < i);
The system was working well for several day's. After a reboot, the system halts at the mentioned NRF_MESH_ASSERT.
I downloaded the memory area the p_manager.config.p_area is pointing to (0x000F0000)
The area is all 0xFF until 0x000F1000, There I can see settings we stored in flash.
In the debugger , I see the p_manager->config.p_area[i].metadata =
.metadata_len = 0x08
.entry_header_length = 0x04
.entry_len_length_bits = 0x10
.entry_type_length_bits = 0x10
.pages_in_area = 0x02
.page_index = 0x01
._padding = 0xffff
Any hints?