Sign inSign up

kyberpunk/thread-dfu

By kyberpunk

Updated over 6 years ago

CoAP DFU server for OTA update of nRF52840 devices in Thread network.

Image
0

2.0K

kyberpunk/thread-dfu repository overview

DFU server for OTA update of nRF52 devices in Thread network

README is in progress

This docker image serves for OTA firmware update of devices in Thread network based on nRF52840 SoC. CoAP protocol over UDP is used for sending firmware binary. OTA update supports certificate signature and versioning. Update is based on Nordic Semiconductor nRF Util tool. Unicast and broadcast update is supported.

It is intended to be used in combination with OpenThread Border Router. Update is done over network and the container does not need additional hardware except Border Router to perform update.

Prepare Thread device for update

DFU bootloader must be flashed to the client device. Next you must prepare firmware package. See following guide for more information..

Using the image

Direct update using IPv6
docker run -t --name thread-dfu -v path/to/firmware/dir:/data thread-dfu \
           --package /data/firmware.zip --iface wpan0 --ipv6 --address 'fd11:22:0:0:14d5:9670:df25:8ad4'

It is also possible to attach DFU server directly to Border Router wpan interface if it is deployed on the same device. The advantage is that you can use IPv6 unicast and broadcast addresses without need of any advanced routing.

docker run -t --name thread-dfu --net container:$OTBR -v path/to/firmware/dir:/data thread-dfu \
           --package /data/firmware.zip --iface wpan0 --ipv6 --address 'fd11:22:0:0:14d5:9670:df25:8ad4'

Use OpenThread Border Router container name instead of $OTBR. Gateway will listen directly on wpan0 interface. For multicast update use e.g. ff03::1 broadcast address.

Update using IPv4 network

Tag summary

Content type

Image

Digest

Size

259.9 MB

Last updated

over 6 years ago

docker pull kyberpunk/thread-dfu