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

Parents
  • Hello,

    Is "LOG_SRC_DFU" part of your __LOG_INIT() arguments?

    Do you get any of the other Mesh DFU events in the mesh_evt_handler()?

    NRF_MESH_EVT_DFU_FIRMWARE_OUTDATED,
    NRF_MESH_EVT_DFU_FIMRWARE_OUTDATED_NO_AUTH,
    NRF_MESH_EVT_DFU_END (probably not this one, if you don't get "start".
    NRF_MESH_EVT_DFU_BANK_AVAILABLE

    Any of them?

    Have you programmed the bootloader and device page as in the dfu example?

    I understand that you don't want the serial part in the end, but can you try to enable the serial part, and see if you then receive the DFU image over Mesh when you start the transmission via serial on another board?

    BR,

    Edvin

  • Dear Edvin,

    Thank you very much for what you did. At the moment I am in London so I cannot control the code right now but I will keep you fully informed as soon as possible. So far I can only tell you that I don't receive any event linked to the DFU, whereas I receive all of those linked to the MESH.

    Thank you and have a good day,

    Alessandro Mattioli

Reply Children
No Data
Related