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

Adding button-less Serial DFU capability to the Connectivity firmware

Hi!


We're developing a solution where we use PC-BLE-driver JS on our central side, along with BLE dongles with nRF52840 chipsets. These dongles are pre-flashed with a connectivity firmware matching the PC-BLE-driver version we're using, which allows our application to use the dongle for its BLE capabilities vis serialization etc.
What we are missing is a way for us to remotely, i.e using our app, update the connectivity firmware. We considered using button-less DFU over USB to update the firmware when we release a new version of our app, with a new PC-BLE-Driver version, but have not yet started to implement this.

Reading this ticket, I came across these lines:

"...That is: The only application running on the nRF device ("connectivity chip") is the connectivity firmware, and there is no other "application" running on that nRF device. It may sound from your description that you have an existing application on the nRF, and that you want to "add" connectivity for pc-ble-driver to that example, but I am afraid that it does not work like that."

Does this mean we can not add DFU over USB to the connectivity firmware? As I understand it, implementing a button less serial DFU will require some changes to the connectivity code, and its bootloader code so the DFU event is handled.

Could you elaborate on how this can be achieved if it is not straightforward?

Thanks!

Related