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

NRF52840 Dongle, Error No Jlink device found Keil uvision

Hello,

Can any body help me out in programming nRF52480 dongle directly through Keil uVision. Is there any way to program directly to usb dongle in nRF52840 dongle through Keil or we need any j-link device etc to program it. Also let me know is there any way to program .hex file through nRF connect, while make the dongle in programming mode and writing a .hex file through nRF connect, error occurs

Reopen device failed: Timeout while waiting for device C2956C2F528D to be attached and enumerated

Nordic DFU Trigger Interface was not found.Please physically reset device.

Device not found due to failure during DFU
but the blinking pattern of dongle change, initially red led was blinking but when after writing from nRF connect blinking patterns is, first the green led blink, then second led red blinks, then red changes itself to green then blue, and cyan, at cyan the first led goes off and cyan goes to purple and then dark blue and then both led stop blinking for a sec and then process repeats.  
if any one knows the answer, kindly let me know.
Parents Reply Children
  • Have you tried using nrfjprog instead of Keil? Yes, you can write a hex file to the 52840 dongle through the nRF Programmer app in nRF Connect. Have you erased the flash on the dongle? If not, you should be able to do this out of the box by pressing on the Reset switch on the dongle when you plug it in. Then, you should see a red light which indicates bootloader mode. Then, you should be able to upload a hex file.

    Update: This case could be helpful.

  • I have used nrfjprog but it will not actually program .hex in the dongle, error occurs that there is no debugger connected to the PC. I actually done that part to press that button and get the dongle in the programming mode. Red led starts blinking but it is unable to write .hex file that was generated by Keil, it will just add the .hex that was present in the directory of hex like

    D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\hex\

    but unable to upload the hex of keil like

    D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059\s140\arm5_no_packs\_build

    Can any one help me in this, Thanks

  • Do you have a j-link connected to the dongle or are you plugging the dongle into a usb port? You will need to use some kind of j-link (the st link should also work) like shown in the pictures below if you want to program the dongle via nrfjprog:

    In the images above, I have connected the dongle via the debug out port P19 on the 52 dev kit using an SWD cable.

Related