Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Secure DFU host side

Hello Devzone,

I want to incorporate DFU in my project for the microcontrollers I am using. I have a nRF52840 which is my main controller and to it I have a nRF52832 connected through BLE and a nRF52810 connected through UART.

The nRF52840 has a USB bootloader installed to receive updates over USB.

I have found example projects for all three microcontrollers on the receiver side but I haven't found an example project that performs DFU as the (host) transmitter side.

I would like to combine both transport layers (BLE and serial) in the nRF52840, but I do not know where to start. I have found more information on the infocenter but do I have to write this myself based on the flowcharts presented on the infocenter?

https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_dfu_transport.html

I am using SDK 17.0.2 and both the nRF52840 and nF52832 have a softdevice and the nRF52810 does not.

Kind regards

Parents Reply
  • I have read the tutorial and checked the DFU master code. I couldn't find if this allows for secure updating or that this is working in open mode.

    Currently we don't have an official DFU Master code running on embedded chip (for example updating an nRF52 from another nRF52 via BLE or UART/SPI). 
    What we officially provide is source code for updating nRF52 from a PC or Mobile phone.
    What I am interested in is that I am able to run secure DFU master code on embedded chip both using BLE and UART as a means to update another chip.

    combining the BLE+UART DFU example

    This example looks more like that both transport layers are implemented on the receiver side, not on the host side. I do not know if I need to write my own code to perform as an host.

Children
Related