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

Hard Fault when using bluetooth mesh examples

When programming the bluetooth mesh light control demo example found in the bluetooth mesh SDK, i get this error using J-Link RTT Viewer:

0> <t:          0>, main.c,  116, ----- BLE Mesh Light Control Server Demo -----
0> <t:       1391>, main.c,   84, Initializing and adding models
0> <t:       1441>, nrf_mesh_sdk.c,   76, HARDFAULT...

I am programming the server part of the example to nRF51422 on a PCA10028 dev-board, using S130 Softdevice.

I have not altered the source files and can't figure out what the problem seems to be.

Edit It seems to be this function causing the hard fault:

nrf_mesh_node_config(&config_params);

When commenting out the function i don't get any errors, but of course the program won't run then.

Related