This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh SDK 0.9.1 on PCA10028 - Light Control Demo - Hard Fault

Post in reference to link

After flashing light control server or client app on PCA10028 app crashes with HARD FAULT.

Steps how I built the app:

Using freshly downloaded MESH SDK 0.9.1.

ble_mesh_v0.9.1-Alpha>mkdir build
ble_mesh_v0.9.1-Alpha>cd build
ble_mesh_v0.9.1-Alpha\build>cmake -G Ninja -DBUILD_TOOLCHAIN=GCC ..
ble_mesh_v0.9.1-Alpha\build>ninja

Then using nRFgo Studio chip got erased, SD130 hex from MESH SDK was programmed and finally freshly built elf \ble_mesh_v0.9.1-Alpha\build\examples\light_control\client\51_light_control_client.elf was also programmed.

Log from RTT Viewer after reset:

 0> <t:          0>, main.c,  318, ----- BLE Mesh Light Control Client Demo -----
 0> <t:          0>, main.c,  108, Initializing softdevice
 0> <t:          2>, nrf_mesh_sdk.c,  109, Initializing SoftDevice...
 0> <t:         16>, nrf_mesh_sdk.c,  118, Ram base: 0x200022D8
 0> <t:         82>, nrf_mesh_sdk.c,  123, sd_ble_enable: app_ram_base should be adjusted to 0x20001900
 0> <t:        110>, main.c,  116, Initializing mesh stack
 0> <t:       2156>, main.c,  123, Enabling mesh stack
 0> <t:       2212>, main.c,  141, Setting up access layer and models
 0> <t:       2249>, nrf_mesh_sdk.c,   76, HARDFAULT...
Related