<?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>Flash problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62903/flash-problem</link><description>I have a nrf52840DK and try to modify SDK peripheral/uart example. I want to reboot nrf52840 device after getting uart communication errors. I put NVIC_SystemReset() function call to the wrong place that caused the device reboot continuously. The modification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 09:41:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62903/flash-problem" /><item><title>RE: Flash problem</title><link>https://devzone.nordicsemi.com/thread/256634?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 09:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4556932-bcf4-4e6d-9722-5d29e2c517b1</guid><dc:creator>nordicxup</dc:creator><description>&lt;p&gt;Thanks a lot. Yes, it works after&lt;span&gt;&amp;nbsp;pulling the reset pin directly to VDD on the nRF52840 before running the recover command.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash problem</title><link>https://devzone.nordicsemi.com/thread/256631?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 09:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ca0975e-5740-4a69-a89b-da1406011a2e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It could be related. How is the Raytac DK powered? Did you manage to flash it before? You have not added something in your code that will pull the reset pin low? If you did, you can try pulling the reset pin directly to VDD on the nRF52840 before running the recover command.&lt;/p&gt;
&lt;p&gt;Another alternative to try is to run recover command in a loop, it may succeed on one of the calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash problem</title><link>https://devzone.nordicsemi.com/thread/256563?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 05:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9c7b44-bdcb-45f0-841d-72ac1a8beb39</guid><dc:creator>nordicxup</dc:creator><description>&lt;p&gt;Hi Jordan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. The command did not work. I also tried the other commands such as &amp;quot;nrfjprog -e&amp;quot; not work, too.&lt;/p&gt;
&lt;p&gt;Actually I use 52833DK to flash Raytac nrf52840DK by jLink not Nordic official DK. Is it the matter?&lt;/p&gt;
&lt;p&gt;Here is the result.&lt;/p&gt;
&lt;p&gt;C:\Users\User&amp;gt;nrfjprog --recover --log&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;br /&gt;ERROR: and try again.&lt;/p&gt;
&lt;p&gt;Attached is the log file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8284.log.log"&gt;devzone.nordicsemi.com/.../8284.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash problem</title><link>https://devzone.nordicsemi.com/thread/256354?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 09:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dbf1704-f694-468f-82cd-1bb218b78615</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try using &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nrfjprog&lt;/a&gt; with the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_nrfjprogexe_reference.html"&gt;--recover&lt;/a&gt; option.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>