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

NRF52 Mesh DFU on sdk coexistence

Hi everyone,

I'm currently trying to develop an application with the mesh, the uart and the DFU.

I've started the project with the sdk_coexistence for use the uart and the mesh, i decided to add even the BLE capabilities to make the application compatible with the phone.

Now i need to add the DFU, previously i managed to make the DFU work correctly on the light_switch example.

This new project don't have the serial enabled because i want to start the DFU with another board, this one use the old light_switch example (that is working with the other light_switch example board).

By debugging this new project i've seen that i never recive the MESH_DFU_START, thing that happen on the light_switch modified example.

I don't really know why i don't recive the event.

Any help will be usefull, sorry for my bad english

Thanks for the support

  • Ok. So now you are getting 0 on the nrf_mesh_dfu_init() return value. That is good. I was not aware of these flash placement settings for the bootloader. 

    Have you tried to update via mesh (from another node using serial) using the dfu example? Just to see how it is supposed to work with the DFU packet and the keys and all that?

    Have you checked your log? Do you get any events while performing the DFU from the other node?

  • Hello Edvin,

    Thanks for your support. I fixed the problem and now i got my DFU working.

    I guess the problem was on the bootloader_serial that goes in conflict with the usart. At the same time i fixed some function to make them look more similar to the example and is finnaly working.

    Thank you so much for the help

Related