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

Mesh-SDK v1.0.0: Light switch demo not working.

Hi,

I am trying to run the light switch example of the nRF5-SDK-for-Mesh-v1.0.0 on total 3 boards(1-client and 2-servers). I changed the no. of servers as mentioned in Readme file. But even after that, only 1 server gets provisioned as expected. For the other one, the provisioning process seems to get stuck somewhere and shows "Softdevice assert: 1:136746:0" in RTTViewer. (Using Segger Embedded Studio to flash to the boards.)

I have tested the same example for SDK-v0.9.2 with same nodes and it was working well there.

So, any idea as to what I could be doing wrong in this one.

Thanks.

Edit_26_12_17:
Using 3 nRF52832 based Murata module (link) and flashing the application using Embedded Studio.
As in attached images, only 1-server gets provisioned while other gives Softdevice error.
RTT_Light-switch_Client.JPG
RTT_Light-switch_server-2(with error).JPG
RTT_Light-switch_server-1.JPG

  • Could you capture a screenshot when you receive the error? "Softdevice assert: 1:136746:0" doesn't look very familiar to me, usually it's the address in flash of the function throw the error.

    In the newer (from SDK v10.0) you don't need 3 server to make the demo works. You don't need to modify anything, the provisioner works as a light switch client even with just 1 server.

  • Hi! Hung Bui, I have attached the RTTViewer Screenshot of both the servers and the client. As soon as this softdevice assertion is made, the node goes to sleep as mentioned in nrf_mesh_node_config.c but I still don't understand why this is happening and why to just one of the nodes. Please help.

  • Hi Gaurav,

    I tested here the example in Mesh SDK v1.0 worked just fine. Have you tried to test without any modification ? (you don't have to change the number of server)

    Do you have 32kHz crystal with the module ? Our example use 32kHz crystal in the configuration for the softdevice I assume you modified it if you don't have the crystal ?

    Could you let me know which Softdevice you used ?

  • Hi! Hung, Sorry for my delay in response. Yes, I did try it without any modification also. It's still the same.

    The module has an external 32MHz crystal for the nRF52832 chipset. Still any changes are required?

    The Softdevice that I am working with is s132 and using the _nRF52832_xxAA_s132_5_0_0.emProject files. (Already tried _s132_3_1_0 file also. That doesn't work at all.)

    This particular board shows this same Softdevice assert error even with all the other examples also. But if I try to use another pieces of exactly the same board, the _s132_5_0_0 examples run seamlessly. So, looks like maybe it could be some hardware bug as well but not sure of what!

  • I was asking about the 32kHz crystal, not the 32MHz crystal.

    Have you tried to run a normal nRF5 SDK example ? for example ble_app_hrs on the board ? Seems more like hardware issue.

Related