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

Mesh DFU Example - PROVISIONING into the Mesh network!?

Greetings!

I am using the SDK Mesh 3.1.0 and Softdevice 6.1.0 with the nRF52840 Dev kit: (PCA10056)

I'm having some issues with the example provided in $MESH_SDK/examples/dfu/... I followed the tutorial you have here: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v3.1.0%2Fmd_doc_libraries_dfu_dfu_quick_start.html with two devkits, one loaded with the DFU example I just refered, which is connected via serial and which would distribute the firmware update to the other node which is loaded with the light_switch firmware.

I have provisioned the light switch, but there seems to be no way to provision the devkit with the dfu-example firmware, so, how can it distribute the packages within the mesh network if it isn't even provisioned to the same network!? What am I missing here?

Thank you for your assistance.

Regards,

//EA

  • Hello!

    I faced with the same issue. I can't do DFU OTA after provisioning of a node. What was the problem in your case?

    Best,

    Evgeny

  • Hello there Evgeny,

    Well, my situation was the one explained. My main problem is that the DFU OTA offered by Nordic simply doesn't work for Mesh if you have a longer firmware image. It will eventually fail. I never had success when I tried do a DFU OTA with something the size of the light-switch server or bigger... I had success when "updating" to something small like a blinky example.... And if I recall correctly you don't need to do any provisioning because OpenMesh works in parallel to BLE Mesh

    Am I wrong ?

    Eventually I left this DFU and wrote my own proprietary protocol that interfaces with the bootloader... There are still some unresolved issued related to how the Bootloader expects the new transaction to erase flash and prepare for DFU, but that's a story for another issue which I will probably have to post if I fint no solution...

    Regards!

    //EA

Related