Hi there,
I have an nrf5340 DK and I wonder if it is possible to upgrade my own application firmware via fwupd tool on Ubuntu. Does this feature come along with a dongle?
Hi there,
I have an nrf5340 DK and I wonder if it is possible to upgrade my own application firmware via fwupd tool on Ubuntu. Does this feature come along with a dongle?
Hi,
We do not have specific support for fwupd, no.
See https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/dfu/index.html for a list of what we support.
However, it is likely just a question about transport and protocols, so you should be able to implement your own code to support fwupd.
On the other hand, could I suggest that you instead use another tool than fwupd? I think that it would save you time to use one of our standard tools instead
Regards,
Sigurd Hellesvik
Thanks for your kind reply. I asked this because I saw particular devices, although not nrf5340, are supported
and wondered if this is a common feature but found no much information and instances.
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.1/nrf/applications/nrf_desktop/fwupd.html#
https://fwupd.github.io/libfwupdplugin/nordic-hid-README.html
Oh you are right, it is indeed in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/fwupd.html
It looks like I am mistaken then. Let us have another go at this ticket then.
Does this feature come along with a dongle?
Can you elaborate what you mean with this?
Do you want to send the update over USB or Bluetooth LE?
BLE indeed. From the description I am not sure whether it is accomplished via HID over GATT or not. To put it short, I assume the path should be fwupd service -> Nordic Desktop App -> BLE air link -> Nordic device. Thus I don't need an additional dongle.
BLE indeed. From the description I am not sure whether it is accomplished via HID over GATT or not. To put it short, I assume the path should be fwupd service -> Nordic Desktop App -> BLE air link -> Nordic device. Thus I don't need an additional dongle.
I tried to learn how this works from nRF Desktop docs, but I do not get what you ask from there.
I will ask our people who made this and get back to you in a couple of days.
Thanks. To make it much clear, what I want to know is that once I connect a Nordic device to the PC via BLE and install all the depensencies, I could upgrade the device through fwupd command without plugging in a Nordic dongle.
Here are what they say:
"
The image update is transferred over HID configuration channel (Configuration channel — nRF Connect SDK 2.6.99 documentation (nordicsemi.com)). It uses HID feature reports as underlying transport, so that you can perform background DFU over USB, BLE or even through an nRF Desktop dongle. During update image transfer, the HID device can still be used. Since, the DFU is expected to be done in the background, the default DFU speed is not too high (protocol focuses on mitigating negative impacy on HID device performance).
You can use fwupd
daemon with fwupdmgr
CLI tool to perform an update (nRF Desktop: fwupd support — nRF Connect SDK 2.6.99 documentation (nordicsemi.com)). We even uploaded some DFU images that are already globally available and can be used to test the DFU with fwupd (fwupd is available e.g. on Ubuntu or ChromeOS): https://fwupd.org/lvfs/search?value=Nordic
We also support HID configurator Python script that can be used to test DFU over configuration channel locally - https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/hid_configurator/README.html
"
Does this answer your question?
Thanks. I've ordered an nrf52840 dev kit to figure out the fwupd process with a hands-on practice.
Thank you for your answer but the link does not specify how to upgrade with fwupd, and what firmware should I burn so that he can recognize it as an hidraw device? Looking forward to your reply