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

nRF52840-DK onboard Segger J-Link

Hi,

The User Guide v1.3 in Chapter 2 (minimum requirements) states "SEGGER J-Link Software" under "Software requirements".  Is there J-Link software specifically for use with Nordic boards ?

I have already downloaded and installed Segger J-Flash V6.44b.  It is able to detect, connect to and work with my standalone Segger J-Link Plus.  But it is not able to detect the nRF52840-DK.  J-Flash reports "No emulators connected via USB". 

Meanwhile, Device Manager shows the following wtih the nRF52840-DK J-Link USB connected to my Windows 10 PC:

Portable Devices: DAPLINK

Ports (COM & LPT): USB Serial Device (COM12)

Universal Serial Bus devices: WebUSB: CMSIS-DAP

Keil uVision is able to detect and work with the nRF52840-DK, but only with Debug configured as "CMSIS-DAP Debugger".  If I configure Debug as "J-Link / J-Trace Cortex", it reports "Cannot read J-Link version number".

Any advice would be appreciated.

Thanks

Parents
  • Due to Easter Holiday, our support team has not been fully staffed. We apologize for the late answer, and any inconvenience this may have caused.


    Hello,

    What happens if you use our tool nrfjprog? I.e. 

    nrfjprog -i


    Using J-Flash, how are you trying to connect our device? Are you able to connect using File -> New Project, a pop-up will ask for a target device. Choose target interface SWD:

    Then you should be able to connect via menu Target -> Connect. 

    Kind regards,
    Øyvind

  • Hi,

    I installed nrfjprog.  It doesn't see the nRF52840-DK either:

    I created a new project in J-Flash, selected nRF52840_xxAA, SWD, 4000 kHz. When I clicked Target, Connect I got the "No emulators connected popup".  When I confirmed that, I got the "Cannot connect" popup:

    Meanwhile, here's Device Manager:

    Sorry for all the whitespace between the pictures, I couldn't figure out how to get rid of it.

    Thanks

Reply
  • Hi,

    I installed nrfjprog.  It doesn't see the nRF52840-DK either:

    I created a new project in J-Flash, selected nRF52840_xxAA, SWD, 4000 kHz. When I clicked Target, Connect I got the "No emulators connected popup".  When I confirmed that, I got the "Cannot connect" popup:

    Meanwhile, here's Device Manager:

    Sorry for all the whitespace between the pictures, I couldn't figure out how to get rid of it.

    Thanks

Children
  • Thanks for the screenshots! 
    I just realized that it is configured as DAPLink, which is not J-Link. The FW on the Segger device is not correct and you need to reset this.

    1. Please go to this link and download latest Interface MCU firmware for J-Link (J-Link OB-SAM3U128-V2-NordicSemi 170724.bin).
    2. Put the device into bootloader mode (holding down reset while power cycling)
    3. A new Mass Storage Device, probably called BOOTLOADER, should have appeared
    4. Drag and drop the J-Link OB-SAM3U128-V2-NordicSemi 170724.bin onto the mass storage device
    5. After it has been programmed, power cycle the device again

    Let me know how that works!

    Kind regards,
    Øyvind

Related