hi
i am trying Light Switch Demo in Mesh SDK 2.0
I am using nRF52 4 Kits
on 1 Kit I downloaded Provisioner
on 1 Kit I downloaded Client
on 2 Kit I downloaded Server Applications
I am getting error app_error_weak.c, 95, Mesh assert at 0x0002E772 (:0)
hi
i am trying Light Switch Demo in Mesh SDK 2.0
I am using nRF52 4 Kits
on 1 Kit I downloaded Provisioner
on 1 Kit I downloaded Client
on 2 Kit I downloaded Server Applications
I am getting error app_error_weak.c, 95, Mesh assert at 0x0002E772 (:0)
Here is Full Error
0> <t: 0>, main.c, 550, ----- BLE Mesh Light Switch Provisioner Demo -----
0> <t: 0>, mesh_softdevice_init.c, 112, Initializing SoftDevice...
0> <t: 0>, mesh_softdevice_init.c, 77, Enabling BLE...
0> <t: 1>, mesh_softdevice_init.c, 88, Ram base: 0x200032C8
0> <t: 579>, app_error_weak.c, 95, Mesh assert at 0x0002E772 (:0)`
I am experiencing the same issue, I managed to find the assert responsible for that:
NRF_MESH_ASSERT(p_manager->config.p_area[i].metadata.pages_in_area == p_manager->config.page_count);
This assert is found in line 275 of flash manager.c. The example runs this line once, on the second run the assert fails. As stated on the comment above it, if the assert fails, that means the flash manager is trying to build in overlapping areas, but I don't know what should be done about this.
priya123, I erased all the flash in my board and reuploaded the provisioner example, everything worked!
alasknnj Eh ...it worked for me now
erased the flash 2 times then worked thank u