<?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>Failed to download RAMcode with an already programmed nRF52810</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50641/failed-to-download-ramcode-with-an-already-programmed-nrf52810</link><description>Hi, 
 I am troubleshooting on a nRF52810 that fails to erase/program. The device has been working in our product with a application software, but now it will not program. When we try to program it with a segger Jlink we get a &amp;quot;Failed to download RAMcode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Aug 2019 07:20:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50641/failed-to-download-ramcode-with-an-already-programmed-nrf52810" /><item><title>RE: Failed to download RAMcode with an already programmed nRF52810</title><link>https://devzone.nordicsemi.com/thread/202747?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 07:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d6eb5e1-604f-4fa2-b49d-ac3e1d085fce</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad to hear that it worked. --recover is mainly used if you need to disable --readback protection on the chip. Usually you would use -e/--erase which is similar to the erase option in jlink commander. It&amp;#39;s possible that this could have worked too.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what causes this error in jlink commander. The only &amp;quot;bad&amp;quot; state that I know of is if the device is going in a constant WD reset loop as explained in errata&amp;nbsp;&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52810_Rev2/ERR/nRF52810/Rev2/latest/anomaly_810_176.html?cp=3_3_1_0_1_14"&gt;[176] System: Flash erase through CTRL-AP fails due to watchdog time-out&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download RAMcode with an already programmed nRF52810</title><link>https://devzone.nordicsemi.com/thread/202733?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 06:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dc0aa15-09b5-40ac-9cd6-7a054782beb4</guid><dc:creator>Andersta</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for answering my question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nrfjprog -- recover did the job!&lt;/p&gt;
&lt;p&gt;Do you have any idea what could cause the&amp;nbsp;device to this state?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is the difference of erase by J-link commander and nrfjprog --recover that it tries to erase multiple times?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download RAMcode with an already programmed nRF52810</title><link>https://devzone.nordicsemi.com/thread/202655?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2019 13:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e0f9e7-06f0-4e17-9038-fbaaa6272517</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have other identical units that work with the same setup? I suggest that you try &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nrfjprog&lt;/a&gt; with the --recover argument. This option will make repeated attempts to perform a full erase of the flash.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is it possible that the flash of device is somehow broken? Is there a way i can&amp;nbsp;check this?[/quote]
&lt;p&gt;I would have expected a different error if that was the case. A verification error after programming a file for instance.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>