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

nRF Mesh connection for nRF6936

Hello everyone. I have the following issue: I would like to connect some Nordic Thingy:52 nRF6936 devices in a mesh network, using the application nRF Mesh. In theory, the first step should be very simple (there is also an official video about this: https://www.youtube.com/watch?v=XthbU9NP0Yg).

However, in practice, my nodes are not found. Is there some previous set-up which needs to be made? Do you have any suggestions?

Remarks: I have the latest version of the app + all firmware updates and the nodes are recognised in other apps, for example in Nordic Thingy App or nRF Toolbox - nRF Connect App.

Thank you in advance!

Parents
  • Hello Mttrinh and thanks for your answer! I checked the firmware version - you may see it below, attached.

    From my understanding, it is the latest version, because I updated it, as soon as I used the device the first time (last week). Am I right about this? Or is there another firmware to be installed, which does not come by default?

    Nevertheless, I followed the Thingy Mesh demo from Github, which you provided me, but at the moment I do not have that specific cable, so I am on-hold at step 6. I will come back with updates next week.

    Have a good time until then, Marry.

  • Marry said:
    Or is there another firmware to be installed, which does not come by default?

    To be able to use the Thingy:52 with Mesh you need to use the firmware found in the Thingy Mesh demo Github. Won't work with Mesh with the default firmware.

  • Hello again! As I am trying to connect to my Thingys, I have some questions regarding the tutorial on GitHub that you provided me in your first reply. 

    Step 7. Do an erase all to remove the Thingy original firmware and bootloader - how should I do that? Should a window pop-up when I connect my nrf52833 to the thingy, via the SWD cable? Or should I do it from the SES Program?

    Step 9. Make sure you followed the SES.md guide - I am also not sure if I did that correctly (since there are so many SDK5 folders), I would be grateful if you could have a look - I attach it as the first picture.

    Step 10. Compile one of the project provided in this repo and flash the firmware - here I also have a little problem, since the project I have cannot be compiled - I attach the second picture below.

    I do not understand why those files do not exist in the project (I imagine they should be there). I see that in my include folder there are the following .h files: app_config, light_switch_example, my_mesh_provisionee, nrf_mesh_config_app, sdk_config, simple_hal_thingy and thingy_config. But I see that many more .h files are included in the main.c file from this project. Could you please guide how to debug this problem?

    Thank you very much,

    Best regards,

    Marry

  • Marry said:
    Step 7. Do an erase all to remove the Thingy original firmware and bootloader - how should I do that? Should a window pop-up when I connect my nrf52833 to the thingy, via the SWD cable? Or should I do it from the SES Program?

    You can do this from SES.

    Marry said:
    Step 9. Make sure you followed the SES.md guide - I am also not sure if I did that correctly (since there are so many SDK5 folders), I would be grateful if you could have a look - I attach it as the first picture.

    You need to use nRF5 SDK v15.3(as mentioned in step 3).

    Marry said:

    Step 10. Compile one of the project provided in this repo and flash the firmware - here I also have a little problem, since the project I have cannot be compiled - I attach the second picture below.

    I do not understand why those files do not exist in the project (I imagine they should be there). I see that in my include folder there are the following .h files: app_config, light_switch_example, my_mesh_provisionee, nrf_mesh_config_app, sdk_config, simple_hal_thingy and thingy_config. But I see that many more .h files are included in the main.c file from this project. Could you please guide how to debug this problem?

    You probably get this error because you used the worn SDK version. Changing to SDK v15.3 should fix this.

  • Hello and thanks for your reply!

    I initially chose some later versions than in the tutorial, because I wanted support for nrf52833.

    Nevertheless, I downloaded now exactly the same versions and I followed the steps exactly like in the github explanations (I checked them all over again). However, this problem persists: I attach the picture.

    I don't see why, since I checked if this boards.h file exists in my folders and it's there, in Desktop/nrf5_SDK_for_Mesh_v3.2.0_src/external/ThingySDKv2.1/sdk_components/boards. Should it be in another folder? Thanks.

  • Hi,

    Can you try removing one of the backslashes in your PATH for SDK_ROOT macro? So instead of two just have one backslash in between, in your PATH.

    Best Regards,

    Martin 

Reply Children
  • Hello! Actually I only have one backslash when I edit it. The two \\ are only the way you see it when you close the the editiong.

    Maybe I'm not running the right code? Which main should I run, it is not specifically stated in the tutorial.

    Thanks.

  • Hello! I solved the last problem by copying the mesh-provisioning-demo folder in the SDK_for_Mesh folder, because I saw that there is the boards.h file that I was looking for Slight smile

    Now, I would like to ask a few more questions, if that is ok:

    1. What is the code that needs to be flashed on the Thingy board, in order to be able to create the mesh network like in the youtube demo? And to be able to complete the tutorial, like in the video (i.e. using the nRF Mesh App).

    There are many .c codes, app_on_off, mesh_adv, my_mesh_provisionee and of course main. I would like to try all, to understand and test their functionality. But I don't know how to send them on the Thingy. So:

    2. How is the code flashed? Do I just compile the code with the SDK connected and the Thingy board connected to it? Or is there another step? 

    Thank you very much for your help!

  • Hi,

    Glad you were able to solve your last problem :)

    Marry said:
    There are many .c codes, app_on_off, mesh_adv, my_mesh_provisionee and of course main.

    All this code is part of your project, you need to flash over your whole project(mesh-provisioning-demo project). You can flash the code over via SES with the Thingy board connected, just compile the code and in SES press "Target" -> "Download [Project name]".

  • Hello again! It seems like it was not a good idea to copy those files in another folder, because there are more erros now. So I just want to solve the problem of not being able to find hal.h file.. It seems to me like I'm so close, but somehow these dependencies cause me to be stuck on this for two weeks now..

    1. Could you please guide me what I sould do to debug this error with hal.h file missing?

    2. I followed very strictly the steps from Git. The only one that I'm not sure about is Step 9. Make sure you followed the SES.md guide in \doc\getting_started in nRF MESH SDK v3.2.0 of adding SDK_ROOT macro into SES, the same as when you started with Mesh examples. So I have two folders. My question is: in SES, should I point to:

      (1) nrf_SDK_Mesh_v3.2.0 ? or

      (2) nrf_SDK_v15.3 ? or

      (3) some other file inside one of the folders?

    I attach all 3 possibilities, to be on the same page.

    Thanks.

  • 1. You are probably getting this if you missing the include file. Might be solved if your SDK_ROOT macro is correct.

    2. You should point to the nRF5 SDK. (2). I see you have put the nRF5 SDK inside a mother folder so you have to change the path to "SDK_ROOT=C:\Users\...\Desktop\sdk_v153\nRF5_SDK_15.3.0_59ac345"

Related