<?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>Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61081/can-not-connect-to-nrf5240-through-dk-pca10040-after-updating-nrf-connect</link><description>I have for a long time been using the PCA10040 DK to program my custom board with nRF52840. 
 This has been working flawlessly. 
 
 HOWEVER, after I updated nRF Connect to version 3.3.3 and the Programmer app to the latest version v1.4.2, I can no longer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 May 2020 16:16:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61081/can-not-connect-to-nrf5240-through-dk-pca10040-after-updating-nrf-connect" /><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/249270?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 16:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765c4392-9649-4688-ac39-508a8ad657a2</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the programmer now works. I dont know why it works and I dont know why it did not work previously. Both the DK and the custom board are the same.&lt;/p&gt;
&lt;p&gt;Anyways, thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/249150?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 10:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875b2c0a-e918-46c2-a664-d3fdb2f40da2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I think trying another programmer (for instance DK) is something you should consider to test if you have several boards that no longer can be programmed. I am not aware of anything in specific that should cause the programmer to fail.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248447?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 12:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e760fd-42b7-48b5-8f1a-bcff3accbf3c</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;Ok, sounds reasonable to make nrfjprog work first...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have several custom boards, none of them can be reached by the programmer.&lt;/p&gt;
&lt;p&gt;I have only one DK here, but I have one or a few more in the office (I think)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248437?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 11:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e742e5a-4534-45e5-98c0-2292a88757c6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I assume you will need to do a full uninstall of nRF Connect for Desktop and re-install an older one?&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop/Download#infotabs"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But if nrfjprog doesn&amp;#39;t work, then trying to use nRF Connect for Desktop won&amp;#39;t do any difference. You will likely have better luck if trying to downgrade nrfjprog if you want to test older versions, and run the suggested nrfjprog commands from there:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Do you have more than one DK and one custom board for testing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248435?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 11:53:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acedc431-55ed-453d-b5c7-be3b92ebf7d7</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;Is there a way to change to an earlier version of the programmer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248424?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 11:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd9d23ca-6f7f-4ab3-a4d3-b4a29bd6f14e</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;&lt;span&gt;From the programmer:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: CANNOT_CONNECT (fffffff5)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: WRONG_FAMILY_FOR_DEVICE (fffffffb)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248423?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 11:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cc01331-60d1-4f4b-93f5-76fc0c952860</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it did not work:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;C:\TEMP\RCC1601\EMC&amp;gt;nrfjprog --recover&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;C:\TEMP\RCC1601\EMC&amp;gt;nrfjprog --version&lt;br /&gt;nrfjprog version: 10.8.0&lt;br /&gt;JLinkARM.dll version: 6.70d&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248411?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 10:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9acfc7b-6d6b-40aa-85b9-816ce8c07319</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I have updated the screenshot, hopefully more visible now. Here are the commands you can run in any case:&lt;/p&gt;
&lt;p&gt;nrfjprog --version&lt;br /&gt;nrfjprog --recover&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248410?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 10:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9eca64-3f31-4381-8583-bb2ee27074de</guid><dc:creator>efurunes</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is a bit hard to read the image since it is so small, but I tried using the nrfjprog:&lt;/p&gt;
&lt;p&gt;C:\TEMP\RCC1601\EMC&amp;gt;nrfjprog -f UNKNOWN --log --program BLE.hex&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;C:\TEMP\RCC1601\EMC&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It might be that something has happened to the board (even though it seems to work fine). I will investigate...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not connect to nRF5240 through DK (PCA10040) after updating nRF Connect</title><link>https://devzone.nordicsemi.com/thread/248402?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 10:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:136d9f1f-65bd-4aad-a1d6-e958778e8bda</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Is it possible that something have happened to your board to make the hardware fail somehow? Check electrical connection, power supply etc.&lt;/p&gt;
&lt;p&gt;Can you try to run the nRF Command line tool directly, e.g.:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5bdc64246363476d9480bde231c1d232/pastedimage1588762324437v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>