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

Secure DFU through WebUSB

I am trying to do Secure DFU through WebUSB[1]. I need suggestions to move forward.

Some starting points I found :

DFU Protocol

I did saw that SDK 15.3.0 outlines DFU protocol[2] which is currently supported over BLE, UART and Serial. How can I add support for WebUSB ?

It is already ported to WebBluetooth[3].

pc-nrf-dfu-js[4]

Nordic currently also supports DFU through Serial, BLE using JavaScript. Can we somehow add WebUSB support to this ?

Zephyr[5]

Zephy currently supports WebUSB but requires Zephyr OS. Can the dependency of Zephyr be removed ?

It will be wonderful if anyone from the community is willing to contribute in making WebUSB support for NRF with us.

References

  1. WebUSB Article from Google
  2. DFU Protocol
  3. DFU from WebBluetooth
  4. pc-nrf-dfu-js
  5. Zephyr WebUSB for nRF52840 Dongle
Parents
  • Hi Shockline, 

    I did saw that SDK 15.3.0 outlines DFU protocol[2] which is currently supported over BLE, UART and Serial. How can I add support for WebUSB ?

     We do support DFU through USB CDC ACM DFU Transport layer, so you should be able to use this on the nRF side. You will have to interface the WebUSB with the Nordic serial DFU protocol. 

     

    pc-nrf-dfu-js[4]

    Nordic currently also supports DFU through Serial, BLE using JavaScript. Can we somehow add WebUSB support to this ?

     My suggestion would be to open an issue in the pc-nrf-dfu-js and create a feature request for WebUSB support. 

    Zephyr[5]

    Zephy currently supports WebUSB but requires Zephyr OS. Can the dependency of Zephyr be removed ?

    It will be wonderful if anyone from the community is willing to contribute in making WebUSB support for NRF with us.

     

    I'm sorry but nRF Connect SDK does not support nRF52840, only nRF9160. To use Zephyr samples on nRF52 series, please follow this guide. More information can be in this link, and as stated in the bottom of the page: "Also if you want to get involved with Zephyr, or simply need help as a user, you can join the Zephyr mailing list or join the #zephyrproject IRC channel."

    Nordic Semiconductor is part of the Zephyr Project and contributes with misc. components/software, but we do not give support for Zephyr running on nRF52840.  

    Thanks for your understanding. 

    Best regards

    Bjørn

Reply
  • Hi Shockline, 

    I did saw that SDK 15.3.0 outlines DFU protocol[2] which is currently supported over BLE, UART and Serial. How can I add support for WebUSB ?

     We do support DFU through USB CDC ACM DFU Transport layer, so you should be able to use this on the nRF side. You will have to interface the WebUSB with the Nordic serial DFU protocol. 

     

    pc-nrf-dfu-js[4]

    Nordic currently also supports DFU through Serial, BLE using JavaScript. Can we somehow add WebUSB support to this ?

     My suggestion would be to open an issue in the pc-nrf-dfu-js and create a feature request for WebUSB support. 

    Zephyr[5]

    Zephy currently supports WebUSB but requires Zephyr OS. Can the dependency of Zephyr be removed ?

    It will be wonderful if anyone from the community is willing to contribute in making WebUSB support for NRF with us.

     

    I'm sorry but nRF Connect SDK does not support nRF52840, only nRF9160. To use Zephyr samples on nRF52 series, please follow this guide. More information can be in this link, and as stated in the bottom of the page: "Also if you want to get involved with Zephyr, or simply need help as a user, you can join the Zephyr mailing list or join the #zephyrproject IRC channel."

    Nordic Semiconductor is part of the Zephyr Project and contributes with misc. components/software, but we do not give support for Zephyr running on nRF52840.  

    Thanks for your understanding. 

    Best regards

    Bjørn

Children
No Data
Related