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

Programming and debugging NRF52840 dongle using external programmer(J-link)

Hello 

I want to program and debug NRF52840 dongle using jlink But the jlink is not able to find the target . i am using SEGGER J-Link Commander V6.60d application for flashing 

logs in the application::

SEGGER J-Link Commander V6.60d (Compiled Jan 9 2020 17:43:55)
DLL version V6.60d, compiled Jan 9 2020 17:43:01

Connecting to J-Link via USB...O.K.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware version: V8.00
S/N: -1
License(s): RDI,FlashDL,FlashBP,JFlash,GDB
VTref=3.287V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: NRF52840_XXAA
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>s
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>4000
Device "NRF52840_XXAA" selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
Cannot connect to target.

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

Hardware connections:

J-LINK                                                NRF52840 dongle

SWDIO            -----------------------------      SWDIO

SWDCLK        -----------------------------     SWDCLK

5V  SUPPLY   -----------------------------     VBUS

VT REF          -----------------------------     VDD

GND               ---------------------------     GND

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

User manual of Jlink

UM08001_JLink.pdf

Thanks and Regards

Parents Reply
  • I don't think the problem is with segger programmer because i have programmed many board using this

    I wouldn't rely on that!

    If it's a fake J-Link, who knows what problems and limitations it might have!

    I was unfortunate enough to be sold a fake J-Link - and it did work in some cases, but not others.

    I would certainly suggest that you first try with a genuine J-Link - the on-board J-Link on a Nordic DK would do ...

Children
No Data
Related