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

unable to program nRF52 Dongle through nRF Connect app (desktop)

Hi,

I am unable to program the nRF52 Dongle. What I see is that the "Write" option is not highlighted.

Though the Bootloader and Softdevice are already there on the dongle. 

Thanks

Abhishek

  • Hi,

    Somehow it showed the "write" option, I guess it was because earlier I chose pca10056 application hex. file and this time I chose the hex. file for pca10059 from the examples in SDk.

    But now it is not programming again, it is showing errors as shown below :

  • What happens if you remove the dongle, insert it again, press the bootloader button on the dongle & then read the flash? Did the DFU work then or not?

  • Hello,

    Can you describe what part that didn't work? From your screenshots there are two very different issues. From your last reply, the two files are overlapping. What .hex files did you try to upload here?

    In your original screenshot it seems like you are missing the softdevice. What .hex file did you try to upload here?

    Check out the tutorial on nRF52 Dongle programming:

    https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/nrf52840-dongle-programming-tutorial

    Best regards,

    Edvin

  • Hi Edvin,

    Thank for your reply in my other ticket as well. 

    In the queries I asked earlier I did not configure the preprocessor and the memory configurations as per the link you mentioned in the above post.

    This time I started afresh follwoing the instructions to change a PCA10056 code to PCA10059 code.

    Wirte option highlighted as well ,but looks like some problem with DFU , and could not program, below is the log I received:

    2018-12-13T18:45:08.374Z INFO Using USB SDFU protocol to communicate with target
    2018-12-13T18:45:08.391Z INFO Protocol Version: 1 found
    2018-12-13T18:45:08.393Z INFO Hardware: 52840 found
    2018-12-13T18:45:08.400Z INFO Firmware: Bootloader found
    2018-12-13T18:45:08.400Z INFO Firmware: Application found
    2018-12-13T18:45:16.407Z INFO Hash is generated by SHA256
    2018-12-13T18:45:16.408Z INFO Performing DFU. This may take a few seconds
    2018-12-13T18:45:16.417Z INFO DFU procedure starts. This may take a few seconds.
    2018-12-13T18:45:19.600Z INFO DFU for Application completed successfully!
    2018-12-13T18:45:19.600Z INFO 0 dfu package(s) left.
    2018-12-13T18:45:19.600Z INFO Waiting for device
    2018-12-13T18:45:24.600Z ERROR Reopen device failed: Timeout while waiting for device C77593AC7423 to be attached and enumerated
    2018-12-13T18:45:24.600Z INFO Nordic DFU Trigger Interface was not found.Please physically reset device.
    2018-12-13T18:45:24.602Z ERROR Device not found due to failure during DFU
    2018-12-13T18:45:24.663Z INFO Target device closed.

Related