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

OpenThread DFU server

Hi,

is possible use for DFU process as DFU server other device as development kit? 

I will use it in street lighting but it not usable with development kit. I would use some chip (NRF52840). Is possible use  USB dongle?

Thank you

Parents
  • Hi,

    Technically, the DFU server is simply sending IPv6 CoAP packets to the DFU Clinet, so it is possible to use any device that can create and forward the required packets. See for instance this post.

    If your question is about support for the nRF52840 Dongle for the nrfutil Secure Thread DFU process, this is unfortunately not provided at the moment. nrfutil uses a pyspinel interface to send CoAP packets to/over the NCP firmware running on the DK. The provided NCP hex-file is only built for use with the DK, as the placement in flash does not match the Dongle, which requires a MBR/Bootloader. The Dongle also only supports USB CDC ACM transport, while the firmware provided with nrfutil only support native UART interface (which is forwarded to USB serial port by the J-Link debugger chip on the DK). The firmware was built using an older version of the Thread SDK, before the Dongle was released. I tested NCP firmwares from later SDK versions on the dongle, but these does not work out of the box with nrfutil.

    If you can tell me a bit more about your use-case and what you are trying to achieve, I can try to give you some suggestions to a solution.

    Best regards,
    Jørgen

Reply
  • Hi,

    Technically, the DFU server is simply sending IPv6 CoAP packets to the DFU Clinet, so it is possible to use any device that can create and forward the required packets. See for instance this post.

    If your question is about support for the nRF52840 Dongle for the nrfutil Secure Thread DFU process, this is unfortunately not provided at the moment. nrfutil uses a pyspinel interface to send CoAP packets to/over the NCP firmware running on the DK. The provided NCP hex-file is only built for use with the DK, as the placement in flash does not match the Dongle, which requires a MBR/Bootloader. The Dongle also only supports USB CDC ACM transport, while the firmware provided with nrfutil only support native UART interface (which is forwarded to USB serial port by the J-Link debugger chip on the DK). The firmware was built using an older version of the Thread SDK, before the Dongle was released. I tested NCP firmwares from later SDK versions on the dongle, but these does not work out of the box with nrfutil.

    If you can tell me a bit more about your use-case and what you are trying to achieve, I can try to give you some suggestions to a solution.

    Best regards,
    Jørgen

Children
Related