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

Precompiled Connectivity firmware USB for NRF52840 Dongle?

Hello,

We use the NRF52840 dongle in a production environment.  Currently when we buy more dongles to add them to the line, we have to program with NRF Connect to get the connectivity firmware loaded.  I'd like to have the connectivity firmware precompiled, in a usb-dfu package, so that we can use nrfutil to load the dongles directly.  I've seen various references to pre-compiled dongle firmware, but have not found one that works.  The compilation instructions given in the github repo pc-ble-driver use a very different build environment from what we have set up for out own custom NRF52840 board so I have not invested in running through it, because it seems a precompiled option is supposed to work.  I did try making the dfu package per this link (https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial) using hex files in the /examples/ folder and the dfu package appeared to be created properly, but this appeared to "brick" the device (used button to put back to bootloader).

I did load the dfu package from https://github.com/NordicSemiconductor/pc-ble-driver/tree/v4.1.1/hex/sd_api_v6 but NRF Connect then said it needed programming, so this is apparently not the latest version.  Since we have done all our testing based on what nrf connect programs the dongle with, ideally I would like to use the same version.  Is there a place I can find this?  

In the github repo there are api versions 2-6 and I cannot find any documentation on the difference between these, so i'm not sure if my problems are related to choosing the wrong one.

Finally, at risk of asking too many questions, what is the the command we can use to query the current version of connectivity firmware on the dongle?

Note: in our production setup we program our own devices with ble-dfu using the NRF dongles, and we also connect to our custom service to collect logs and set parameters.  

Parents
  • Hi,

    The connectivity firmware version and API version is printed in the nRF Connect for Desktop BLE app, e.g. for my nRF52840 DK I get the following log line:

    10:26:52.686
    Connectivity firmware version: 4.1.1. SoftDevice API version: 5. Baud rate: 1000000.

    This is the same version of pc-ble-driver and SoftDevice API version that are used for the nRF52840 Dongle.

    For the Dongle, that corresponds to connectivity_4.1.1_usb_with_s132_5.1.0_dfu.pkg.zip in the hex/sd_api_v5 folder.

    For later, if you do this for one Dongle in the nRF Connect for Desktop BLE app, you will know what connectivity firmware to use for the remaining Dongles.

    Regards,
    Terje

  • Thanks you Terje, very helpful. 

    We are using nrfutil from a python script (on a Raspberry Pi, in fact).

    Good to know we should use API v5.  I have a doubt though:  the dfu package you pointed to says it has softdevice s132 whereas s140 is generally used for NRF52840.  I suspect therefore the package would not be appropriate for the dongle?

    Thanks,

    --Allen

  • Hi,

    Right. Both ultimately depend on pc-ble-driver, and currently the same version of pc-ble-driver. So the connectivity firmware is the same. Our goal going forward is that the latest versions of nRF Connect for Desktop and nrfutil should use the same connectivity firmware.

    We are currently using s132 for the nRF52840 connectivity firmware, yes. This means functionality unique to s140 is not available.

    Regards,
    Terje

Reply
  • Hi,

    Right. Both ultimately depend on pc-ble-driver, and currently the same version of pc-ble-driver. So the connectivity firmware is the same. Our goal going forward is that the latest versions of nRF Connect for Desktop and nrfutil should use the same connectivity firmware.

    We are currently using s132 for the nRF52840 connectivity firmware, yes. This means functionality unique to s140 is not available.

    Regards,
    Terje

Children
No Data
Related