<?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>PCA10056 erase error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24979/pca10056-erase-error</link><description>I&amp;#39;m using a PCA10056 (NRF52840 Preview DK) v0.9.1, and trying to erase the existing firmware, but running into issues. 
 I&amp;#39;ve tried nrfjprog -f NRF52 --eraseall with version 9.6.0 of the NRF Tools and version 6.16a of JLink. The log file contains: </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Sep 2017 14:27:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24979/pca10056-erase-error" /><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98363?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 14:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e7976cc-b1bc-4c6f-bd32-644ee675988c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. Then I&amp;#39;m not sure what to suggest. Maybe you can try and program the nRF52840 chip on the bad board with with good board? And/or try to program the nRF52840 chip on the good board with the bad board? By using Debug Out/In and running the chip you want to program from battery. Maybe it can give us some clues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98362?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 13:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba6c0614-7085-4f25-b7f4-a8964287c11e</guid><dc:creator>mjw</dc:creator><description>&lt;p&gt;nrfjprog -f nrf52 --recover --log reports this to the console:&lt;/p&gt;
&lt;p&gt;$ nrfjprog -f nrf52 --recover --log&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Recovering device. This operation might take 30s.&lt;/li&gt;
&lt;li&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;/li&gt;
&lt;li&gt;ERROR: and try again.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and this to the log file (which is the same as what was logged with --eraseall):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;FUNCTION: open_dll.&lt;/li&gt;
&lt;li&gt;FUNCTION: open_dll.&lt;/li&gt;
&lt;li&gt;FUNCTION: enum_emu_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: enum_emu_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: enum_emu_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: enum_emu_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: connect_to_emu_with_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: connect_to_emu_with_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: connect_to_emu_without_snr.&lt;/li&gt;
&lt;li&gt;FUNCTION: enum_emu_snr.&lt;/li&gt;
&lt;li&gt;Device &amp;quot;NRF52832_XXAA&amp;quot; selected.&lt;/li&gt;
&lt;li&gt;FUNCTION: recover.&lt;/li&gt;
&lt;li&gt;FUNCTION: recover.&lt;/li&gt;
&lt;li&gt;JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.&lt;/li&gt;
&lt;li&gt;JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.&lt;/li&gt;
&lt;li&gt;FUNCTION: close_dll.&lt;/li&gt;
&lt;li&gt;FUNCTION: close_dll.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A different USB cable gives the same result.  I haven&amp;#39;t tried a different PC, but the PC works fine with a different PDK board, so I think the PC is okay.&lt;/p&gt;
&lt;p&gt;Thanks! (and sorry for the horrible formatting)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98357?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 09:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:742371f9-8840-4363-a777-b31ced868b20</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What log do you get with nrfjprog -f nrf52 --recover --log ?&lt;/p&gt;
&lt;p&gt;Did you try another cable? Or another PC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98361?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 22:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c90b1840-400b-416c-9423-95ac2847e917</guid><dc:creator>mjw</dc:creator><description>&lt;p&gt;Fair enough. :)  The board is unmodified and the components look intact.  Luckily I have another NRF 52840 PDK, and with the same PC, tool versions, and USB cable, that one is recognized correctly, so I&amp;#39;m suspecting faulty board or firmware.  The problematic board is recognized by J-Link Configurator and it has the same J-Link OB firmware as the working PDK (SAMU128-V2-NordicSem V1.00).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98360?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 21:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4803b1f8-f631-4324-915c-caeb10fe9809</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;No, I&amp;#39;ve just seen too many JTAG/SWD programming errors caused by bad USB cables that I&amp;#39;d bet it causes yours as well;) Is nRF52840 PDK board unchanged, nothing is attached to any port/PIN? Is USB cable short and well shielded? Can you try another USB port and/or machine? You can also check status/version of SEGGER J-Link OB FW by running J-Link Configurator tool from SEGRE J-Link SW package you have installed on your machine. If it doesn&amp;#39;t see the board or doesn&amp;#39;t recognize the FW then you might have other problems...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98359?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 21:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1522d8a4-de35-4a1b-b8a2-98abb3e96a50</guid><dc:creator>mjw</dc:creator><description>&lt;p&gt;I just have the single USB cable from my PC to the board, and with different cables I get the same behavior.  Do you think there&amp;#39;s wiring on the PCB that could be faulty?  Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 erase error</title><link>https://devzone.nordicsemi.com/thread/98358?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 21:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3933944a-579b-4d36-bf13-f7b7596bb244</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Cabling cabling cabling...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>