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

DFU in multiprotocol BLE/Thread application

Hi,

1. I'm developing multiprotocol BLE/Thread app with Thread SDK 1.0 and I want to ask if there's a possibilty to perform DFU over Thread in that case? In Thread Secure DFU Example description there's something like this written:

"The Thread stack does not use the SoftDevice, but the --sd-req 0x00 option is required to indicate that no SoftDevice is used."

So what in case of multiprotocol solution? Do I need just to insert the number of SoftDevice?

Thanks in advance,

Marek

Parents
  • Few more questions, because I still didn't make this work and I didn't see any more questions and tutorials on this topic.

    1. How should the linker script and flash_placement.xml look like? Especially memory sections adresses and sizes. There are different linker scripts and files for multiprotocol and DFU for Thread examples

    2. How should the app look like if I'm already using CoAP? Should I bind to the same or different UDP port?

    3. thumb_crt0.s, there are also differences between DFU example and multiprotocol examples

    Regards,

    Marek

Reply
  • Few more questions, because I still didn't make this work and I didn't see any more questions and tutorials on this topic.

    1. How should the linker script and flash_placement.xml look like? Especially memory sections adresses and sizes. There are different linker scripts and files for multiprotocol and DFU for Thread examples

    2. How should the app look like if I'm already using CoAP? Should I bind to the same or different UDP port?

    3. thumb_crt0.s, there are also differences between DFU example and multiprotocol examples

    Regards,

    Marek

Children
  • Hello,

    Sorry for the late reply. I have been out traveling. I am back now, and will look into this as soon as possible.

    Best regards,

    Edvin

  • Hello,

    So you want to use the Thread Bootloader and DFU, right, You only want the application that is running and updated to to include the softdevice?

    Try to use the flash_placement and thumb files for the DFU projects, and adjust the FLASH_START and FLASH_SIZE parameters in your project settings to match the multiprotocol example's settings.

    I believe you should use the same CoAP UDP port. Have you tested?

    It might be easier to try to get the DFU up and running first, using the example, to ensure that everything is right there before mixing in the multiprotocol example.

    Best regards,

    Edvin

Related