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

nRF5 SDK for Mesh / nRF52840 DK

Hello everyone,

I have following problem. I am trying to build a mesh network with the nRF52840 DK and the nRF52840 Dongle.

I am using the "nRF5 SDK for Mesh" (V4.2.0) with the "nRF5 SDK (V17.0.2)" and I am trying to make the lpn example of the "nRF5 SDK for Mesh" work.

I am able to compile the example but when it comes to linking then i get following errors:

build/lpn_nrf52840_xxAA_s140_7.0.1_Debug/obj/ses_startup_nrf_common.o: in function `afterInitialize':
undefined reference to `__RAM1_segment_end__'

I have already tried to change the settings of the Memory Segments and to add a Memory Map without any success. (These were succesful solutions for other users here)

Could you please tell me how I can get rid of these errors and how to make the example to work?

Thanks already.
Kind regards!

  • Hi

    Currently I can send data with "sensor_status_publish()". Thanks Marte!

    One thing that still bothers me is that it is not a reliable message (no ACK). But I will take care of it at a later time. Currently I have merged the USB CDC example with the Mesh Sensor Client. This also works on the nRF52840 DK. Now I tried to flash it to the nRF Dongle 52840. To compile the code for the dongle I changed the macro from "BOARD_PCA10056" to "BOARD_PCA10059".

    The problem now is that the dongle is not visible on the nRF Mesh App. When I click on "ADD Node" the dongle is not listed. But when I click on "Connect" the dongle is visible. When I then select the dongle, the provisioning process is not completed. Can you help me there?

    When I flash the code from the Mesh Sensor Server to the dongle, I don't have this problem. So I can successfully perform the provisioning process.


    Please find my project in the attachment.

    Thank you in advance.

    Kind regards

    Sensormodul_PA2020.zip

  • Hi

    Currently I can send data with "sensor_status_publish()". Thanks Marte!

    One thing that still bothers me is that it is not a reliable message (no ACK). But I will take care of it at a later time. Currently I have merged the USB CDC example with the Mesh Sensor Client. This also works on the nRF52840 DK. Now I tried to flash it to the nRF Dongle 52840. To compile the code for the dongle I changed the macro from "BOARD_PCA10056" to "BOARD_PCA10059".

    The problem now is that the dongle is not visible on the nRF Mesh App. When I click on "ADD Node" the dongle is not listed. But when I click on "Connect" the dongle is visible. When I then select the dongle, the provisioning process is not completed. Can you help me there?

    When I flash the code from the Mesh Sensor Server to the dongle, I don't have this problem. So I can successfully perform the provisioning process.


    Please find my project in the attachment.

    Thank you in advance.

    Kind regards

    7827.Sensormodul_PA2020.zip

  • Hi,

    If you're going to program the Dongle, I would advise you to check out our nRF52840 Dongle Programming Tutorial. Also, nRF5 SDK for Mesh v5.0.0 was just released, which has support for the Dongle in some examples (you can read about the nRF5 SDK for Mesh with Nordic's development kits and SoftDevice versions here). Please note that the examples in nRF5 SDK for Mesh v5.0.0 are built for SDK v17.0.2.

    If this doesn't solve your problem, could you please open a new case with your issue, as it's not related to the initial question? This will make it easier for others later if they're experiencing the same issue as you, either the original one in this case or your new one.

    Best regards,

    Marte

Related