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

Dongle in bad state

Hi,

After trying to flush a program to the dongle with no success, the dongle got into a state where it's not recognize by windows and no LED flashes on it when plugged to a PC.

When pressing the reset button the red LED blincks.

How can I recover it?

Parents Reply
  • Hi Shai, 

    This worked as we expect. 

    The device will reset when the upgrade completes and the dongle will no longer show up in nRF Connect unless the application used DFU Trigger Library is used, as it is no longer in DFU mode. You will get an error stating "Reopen device failed" in this case, and have to push the RESET button in order to make it show up in nRF Connect Programmer again.

    Please also see this tutorial

    -Amanda H 

Children
  • Hi Amanda,

    I've followed all of the tutorials and still haven't figured it out.

    At that mode, when it's no longer in DFU mode, it is not detected by the host, and therefore useless (as I cannot read anything fro the serial port.

    Should I add the DFU Trigger Library to my project (which is based on examples\ble_central\ble_app_rscs_c)?

    If the answer is yes - how do I do it?

    If not - what should I do?

    My evaluation time is about to expire...

    ---------------------

    Meantime I've added ../../../../../../components/libraries/bootloader/dfu to user include directories, and enable it in sdk_config, but I still get  undefined reference to `nrf_dfu_trigger_usb_init'.

    Not sure that's the right direction...

  • Hi Shai,

    Shai said:
    Should I add the DFU Trigger Library to my project (which is based on examples\ble_central\ble_app_rscs_c)?

    Yes. If you add the DFU Trigger Library (USB) to your custom device firmware, you will be able to trigger the DFU from nRF Connect for Desktop without using any buttons. For documentation, see DFU Trigger Library (USB), which is part of the nRF5 SDK v15.3.0. See Programming nRF52840 Dongle.

     

    Shai said:
    enable it in sdk_config, but I still get  undefined reference to `nrf_dfu_trigger_usb_init'.

     I would suggest you start from <nRF5_SDK>\examples\dfu\open_bootloader\pca10059_usb_debug

    -Amanda H

Related