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

How to flash write nrf52840 Dongle?

I just buy nrf52840 Dongle.

I connect nrf52840 Dongle to my USB port and open nrf Connect.

I look at guide https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial.

But I can not flash ble_blinky hex to nrf52840 Dongle.

It show 

DFU failed: Error message for known extended error code from DFU target: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.
Device not found due to failure during DFU
I try to click reset in nrf52840 Dongle.
But It always show as above.
Help me. Thank you.
Parents
  • Hi,

    It looks like there is no SoftDevice present on the device, and you do not add a SoftDevice. The ble_blinky requires a SoftDevice so you need to either add the correct SoftDevice hex in addition to the application, or add a merged hex file which contain also the SoftDevice.

    In general there are three alternatives in this case:

    • Add both the application hex and SoftDevice hex before you click the "Write" button. You can find the SoftDevice here: <SDK>\components\softdevice\s140\hex\
    • Add a hex file that includes both the SoftDevice and application. The precompiled hex files found here include the SoftDevice: <SDK>\examples\ble_peripheral\ble_app_blinky\hex\
    • If a SoftDevice is allready present,  and this is the correct version, you can add just the application and specify the ID of the SoftDevice.
Reply
  • Hi,

    It looks like there is no SoftDevice present on the device, and you do not add a SoftDevice. The ble_blinky requires a SoftDevice so you need to either add the correct SoftDevice hex in addition to the application, or add a merged hex file which contain also the SoftDevice.

    In general there are three alternatives in this case:

    • Add both the application hex and SoftDevice hex before you click the "Write" button. You can find the SoftDevice here: <SDK>\components\softdevice\s140\hex\
    • Add a hex file that includes both the SoftDevice and application. The precompiled hex files found here include the SoftDevice: <SDK>\examples\ble_peripheral\ble_app_blinky\hex\
    • If a SoftDevice is allready present,  and this is the correct version, you can add just the application and specify the ID of the SoftDevice.
Children
Related