<?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>nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46772/nrfjprog-no-debugger-connected</link><description>I get &amp;quot;ERROR: There is no debugger connected to the PC with the given serial number.&amp;quot; when I run e.g. nrfjprog --eraseall on command line. 
 Programming/debugging using VisualGDB or nRFgo Studio works 
 nrfjprog version: 9.8.1 JLinkARM.dll version: 6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Apr 2019 12:15:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46772/nrfjprog-no-debugger-connected" /><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184565?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0de26c00-ee17-4c8d-bd00-170497bf8372</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Both nrfjprog.ini (Program Files and Program Files (x86)) are in its default state, I didn&amp;#39;t modify anything.&lt;/p&gt;
&lt;p&gt;; nrfjprog.exe configuration file.&lt;/p&gt;
&lt;p&gt;[DEFAULT_CONFIGURATION]&lt;br /&gt;; Define the desired family of devices to use by default by nrfjprog.exe when -f or --family arguments are not used. The only valid options are NRF51, NRF52 or UNKNOWN.&lt;br /&gt;; If set to UNKNOWN an automatic family detection will be performed. The autodetect family operation will take time, so it is advised to use correct family if known.&lt;br /&gt;Family = UNKNOWN&lt;/p&gt;
&lt;p&gt;; Define the desired clockspeed in kHz you want nrfjprog.exe use by default when -c or --clockspeed arguments are not used. The range of valid values go from 125 kHz to 50000 kHz.&lt;br /&gt;Clockspeed = 2000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184560?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d068149f-17d0-4d96-b49f-4215de9e307c</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;So your .ini file is not set to family UNKNOWN, but to nrf51?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184559?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c45576b-2b29-4808-a2c4-b0035e8608a6</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;I have to run:&lt;/p&gt;
&lt;p&gt;&amp;quot;C:\Program Files\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; -f nrf52 --eraseall&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;/p&gt;
&lt;p&gt;Then it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184557?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261be373-82fb-4ce6-8ab8-57ea5d502918</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any overview of that, but that shouldn&amp;#39;t be necessary at all. You have done something else here. Maybe raise this as a support ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184554?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b59ac76-5fff-4967-a68c-99be4b8320fd</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;I have PCA10031 dongle which works with nrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184552?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba86fbb-2c32-4a42-9ce7-82732948367d</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;I had 32bit version of command line tools, so I installed 64 bit. I uninstalled J-Link 6.44g. Still the same:&lt;/p&gt;
&lt;p&gt;&amp;quot;C:\Program Files\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; -v&lt;br /&gt;nrfjprog version: 9.8.1&lt;br /&gt;JLinkARM.dll version: 6.40&lt;/p&gt;
&lt;p&gt;&amp;quot;C:\Program Files\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; --eraseall&lt;br /&gt;ERROR: There is no debugger connected to the PC with the given serial number.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any older version of nrf52 compatible nrfjprog available? I hope it could work as several months ago I was able to use some older version to program nrf51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184548?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 12:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:104b265f-5ac1-4e59-ba6d-245a8a6e895f</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;So the device is found correctly. That&amp;#39;s the same function running internally, so it giving you this error makes no sense at all. I would have uninstalled everything jlink/nrfjprog related and reinstalled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184547?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d62384-0d11-4502-9a89-4f0dbdfff305</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; --ids&lt;br /&gt;59103974&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184543?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d040c9-ee26-4fdb-8c3e-601715614bba</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Just a shot in the dark, but are you running cmd as administrator? Maybe that could affect something&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184540?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad1e4640-448b-4915-9c77-e3bc4cc2c547</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Doesn&amp;#39;t make any sense to me, this. I have the same versions here and it&amp;#39;s behaving differently. What does --ids yield?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184538?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded69d5f-dbe0-44eb-a877-d3f8ddefc999</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; -v&lt;br /&gt;nrfjprog version: 9.8.1&lt;br /&gt;JLinkARM.dll version: 6.44g&lt;/p&gt;
&lt;p&gt;&amp;quot;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe&amp;quot; --eraseall&lt;br /&gt;ERROR: There is no debugger connected to the PC with the given serial number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184536?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed6ab648-2521-4dc0-ba9a-a4a3114875f5</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Current version is 6.44 something. Could you try updating your jlink-drivers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184535?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54fae001-a83c-4a54-8614-42be5fccfccc</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;&lt;span&gt;nrfjprog version: 9.8.1,&amp;nbsp;&lt;/span&gt;&lt;span&gt;JLinkARM.dll version: 6.12a, it is in my initial post&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184534?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ba01dc-fe6c-4cfa-9c4d-61c11c3b95ae</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Which version are you using now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184533?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d045089-703c-4bbc-9ecc-c0febaeaa5cd</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Nothing. I only think that I was forced to update software in this folder several months ago in order to be able to develop firmware for nrf52832. In the past I was developing only for nrf51 and I was able to use nrfjprog without any issue. Now nrfjprog doesn&amp;#39;t work even for our old device with nrf51. However, I can&amp;#39;t remember what version of nrfjprog I used that time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184531?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:27:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31921e38-33ec-4a26-ad45-8694bdf6c377</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Anything changed in your&amp;nbsp;C:\Program Files\Nordic Semiconductor\nrf5x\bin\nrfjprog.ini ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184516?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 09:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d8e2562-2876-4572-a119-94650dc68188</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;I&amp;#39;m not providing the serial number explicitly. When I provide serial number by --snr xxxxxxx I get the same &amp;quot;&lt;span&gt;There is no debugger connected to the PC with the given serial number.&lt;/span&gt;&amp;quot;.That is weird.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog no debugger connected</title><link>https://devzone.nordicsemi.com/thread/184504?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 09:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5797909-3671-4389-8c1c-8c7e215d3169</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;It&amp;#39;s very weird that it gives the extra &amp;quot;with the given serial number&amp;quot;. For me:&lt;br /&gt;&lt;br /&gt;nrfjprog --eraseall&lt;br /&gt;ERROR: There is no debugger connected to the PC.&lt;br /&gt;&lt;br /&gt;Also, try doing nrfjprog --ids, which will yield something like this:&lt;br /&gt;&lt;br /&gt;nrfjprog --ids&lt;br /&gt;50107526&lt;br /&gt;&lt;br /&gt;Then, you can do e.g &lt;br /&gt;&lt;br /&gt;nrfjprog --eraseall --snr&amp;nbsp;&lt;span&gt;50107526&lt;br /&gt;&lt;br /&gt;If I do (in my specific case) erase with the wrong serial number provided, I get:&lt;br /&gt;&lt;br /&gt;nrfjprog --eraseall --snr 50101010&lt;br /&gt;ERROR: There is no debugger connected to the PC with the given serial number.&lt;br /&gt;&lt;br /&gt;Hence, it looks like you are providing the serial number in some way or another.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>