BLE mesh getting unprovisioned state after reset STM32WB
Hi,
I am working with BLE_MeshLightingDemo. I have a problem with provisioning because device getting unprovisioned state after reset.
It is strange because if I flash example BLE_MeshLIghtingDemo without modifying it everything works well. And next if I flash code "BLE_MeshLIghtingDemo+my added code" it works well too.
Problem appears when my own program is flashed on the clear STM32WB, provisioning process is success but after reset the device getting unprovisioned state.
What I determined is that at 0x0807e000 and 0x0807f000 provisioning data is stored.
Those pages are clear and that is why after reset device getting unprovisioned state.
But my code does not touch those pages.
What can be the reason of this strange behavior?