<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19221/nrf52832-cannot-connect-to-j-link</link><description>Hi,
I followed the steps to setup my nRF52 DK with eclipse. I could also build the code without errors. However, when I try to debug it, it says cannot connect to J-Link. 
 The following is the output on my console 
 *SEGGER J-Link GDB Server V6.12a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Feb 2017 14:54:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19221/nrf52832-cannot-connect-to-j-link" /><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74463?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 14:54:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bae6d6c-f59a-4ef8-9597-db2fe1fed1f5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you upload a screenshot of the directory where nrfjprog is located and the output in cmd when you run nrfjprog?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74464?ContentTypeID=1</link><pubDate>Sun, 12 Feb 2017 06:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:347d910f-78fd-4791-b33a-7026abda55fe</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;I have already added the path. Even after executing the command from nrfjprog directory, I received the same error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74462?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 20:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00715040-0714-47e6-942a-089c345e04af</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It looks like &lt;em&gt;nrfjprog&lt;/em&gt; cannot be found. Can you try adding the path to &lt;em&gt;nrfjprog&lt;/em&gt; to the PATH environment variable? You could also try executing the &lt;em&gt;nrfjprog&lt;/em&gt; commands from inside the &lt;em&gt;nrfjprog&lt;/em&gt; directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74460?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 16:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d0eaab7-010e-4c8a-a514-49752043da5d</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Output:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:\nRF5_SDK_11.0.0_89a8197\examples\peripheral\blinky\pca10040\blank\armgcc&amp;gt;make
rm -rf _build
echo  Makefile
Makefile
mkdir _build
Compiling file: system_nrf52.c
Compiling file: main.c
Compiling file: nrf_delay.c
Assembly file: gcc_startup_nrf52.s
Linking target: nrf52832_xxaa.out
make[1]: Entering directory &amp;#39;C:/nRF5_SDK_11.0.0_89a8197/examples/peripheral/blinky/pca10040/blank/armgcc&amp;#39;
Preparing: nrf52832_xxaa.bin
Preparing: nrf52832_xxaa.hex

   text    data     bss     dec     hex filename
   3108     112      28    3248     cb0 _build/nrf52832_xxaa.out

make[1]: Leaving directory &amp;#39;C:/nRF5_SDK_11.0.0_89a8197/examples/peripheral/blinky/pca10040/blank/armgcc&amp;#39;

C:\nRF5_SDK_11.0.0_89a8197\examples\peripheral\blinky\pca10040\blank\armgcc&amp;gt;nrfjprog --family &amp;lt;nRF52&amp;gt; -e
The system cannot find the file specified.

C:\nRF5_SDK_11.0.0_89a8197\examples\peripheral\blinky\pca10040\blank\armgcc&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74457?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 12:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca96188d-8e71-463c-b2ee-543b5bcef15d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;It allows me to create makefiles&amp;quot;? Can you paste exactly what shows when you run nrfjprog in the commandline? Or upload a screenshot showing the terminal output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74461?ContentTypeID=1</link><pubDate>Sat, 04 Feb 2017 05:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ee4c5f6-75d1-4200-a703-6f2ef30d61cf</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Yes I have installed the command line tools. It allows me to create makefiles. The error doesn&amp;#39;t specify which file is not found.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74459?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 08:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:505c0389-925f-4599-bb0b-ab5ef1da40c5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you install the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5x-Command-Line-Tools-Win32/58850"&gt;nRF5x Command Line Tools&lt;/a&gt;? Which file can the system not find?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74458?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 07:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b49712-b8d2-4d64-811d-f0185fd516c2</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;I tried reflashing the firmware, still no luck. Even tried other methods mentioned in that post, they didn&amp;#39;t work either. Also, when I try to run the command &amp;quot;nrfjprog --family &amp;lt;nRF51/52&amp;gt; -e&amp;quot; from the armgcc folder where the makefiles are created, it says &amp;quot;The system cannot find the file specified.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74456?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 10:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73c01a76-8b06-4dba-9cb9-18d55e3e4e34</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you try reflashing the firmware of the Jlink OB interface chip as described in &lt;a href="https://devzone.nordicsemi.com/question/96389/impossible-to-load-bin-into-pca10040/?answer=96760#post-id-96760"&gt;this post&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74454?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 16:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b139d16-e5aa-42e2-9fed-36a76f51a1ab</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Yes, infact I copy pasted the &amp;quot;blinky&amp;quot; hex file in the JLink drive. It programs the board just fine. I can see the LEDs blinking one after the other. The problem comes when I have to do this from eclipse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74455?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 08:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f921eab7-87ea-458a-93e1-90a41fa3e565</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tried with another USB cable or on another computer? Is any of the LEDs on the board lit up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74453?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 00:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ff858b-9394-4ed1-a0eb-741e836986bc</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Yes, it is an official nRF52 DK from Nordic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74468?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 00:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85e9bc9e-8977-403d-a7bc-052ca7155cef</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;If the DK already includes JLink, should I be needing some other hardware ? Sorry for such questions, I am really new to this board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74452?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 09:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ac0dbfe-8c99-47a3-83e7-3ea5358be853</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You say in the description that you try to setup your nRF52 DK, and the post is tagged with PCA10040. Is this an &lt;a href="http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK"&gt;official nRF52 DK from Nordic&lt;/a&gt; or some other custom board/3. party module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74467?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2017 19:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fe2dc89-feb3-481c-ba9f-d6fe2c9ff3ac</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;The DK includes a cut down version of JLInk, which can be used for debugging, but is not compatible with JFlash&lt;/p&gt;
&lt;p&gt;If you are able to solder etc, I recommend you search for postings that are on various forums that describe how to revive broken Jlinks.&lt;/p&gt;
&lt;p&gt;Btw. Depending on what dev toolchain you use, there are other debuggers, e.g. the BlackMagic probe that can be used. ( you can make a Bmp from a generic STM32 board for less than $5)
But only JLink is directly integrated into Keil and IAR and even in Nordic&amp;#39;s gcc tool.&lt;/p&gt;
&lt;p&gt;So using anything else would take a lot more time and effort.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74466?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2017 16:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15fe0521-ac75-484d-92b3-7ed4dcbcb1ec</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Yeah, I couldn&amp;#39;t find Jlink in the &amp;quot;Universal Serial Bus Controllers&amp;quot; section. I suppose I&amp;#39;d get a new one and try it again.
Is there any other way to debug where I don&amp;#39;t have to use the Jlink at all, only the DK?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74465?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 22:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83b80b23-1b6c-4965-a7d6-373300d309ae</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;So you Jlink is not working.&lt;/p&gt;
&lt;p&gt;If you are running Windows, look in the device manager and confirm that you can see the JLink in the &amp;quot;Universal Serial Bus controllers&amp;quot; section (its the section at the bottom)&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t see the Jlink there, the chances are that its got a problem.&lt;/p&gt;
&lt;p&gt;If you bought your Jlink from eBay or AliExpress, I know that some of these have problems.&lt;/p&gt;
&lt;p&gt;I have my suspicions that the JLink software checks whether the Jlink has a blacklisted serial number and if so, it &amp;quot;bricks&amp;quot; it.&lt;/p&gt;
&lt;p&gt;There are however ways to unbrick Jlinks, which have been posted on various other forums.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74450?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 22:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e9a20e-e2f1-491a-b37a-ff3ea99dd8cb</guid><dc:creator>Kewal Vora</dc:creator><description>&lt;p&gt;Yes, I did try running JLink commander.
It says &lt;em&gt;No emulators connected via USB&lt;/em&gt;.
&lt;em&gt;Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 cannot connect to J-Link</title><link>https://devzone.nordicsemi.com/thread/74451?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 22:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5191d476-20e3-4920-8c19-c7962d8a2a00</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;I presume you tried running JFlash or JLink commander to confirm your JLink is working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>