<?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>How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36458/how-to-perform-a-factory-reset-of-nrf52840</link><description>Hi everyone, 
 This might seem like a silly post, but this happened. 
 I build and ran the example QSPI code given in the sdk. 
 But after that if i try to run my own code of freertos along with BLE. It just doesn&amp;#39;t run and it freezes. 
 I think i erased</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Aug 2018 12:52:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36458/how-to-perform-a-factory-reset-of-nrf52840" /><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/143730?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 12:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:730e8fa8-8db4-4486-b2be-07140006f202</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36590/not-able-to-initalize-the-qspi-module"&gt;Updated Thread&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/141007?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 13:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b2d91e-8e3f-48a5-8417-eb048049dc66</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;That is already written inside the qspi.h file for the description of function.&lt;/p&gt;
&lt;p&gt;All of the above mentioned reasons are not the case for my errors!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/141004?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 13:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4359baef-04d9-4866-ade2-af2b92618bc8</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Rajat,&lt;/p&gt;
&lt;p&gt;Please check the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__nrfx__qspi.html&amp;amp;anchor=gae619b2eaf2d9691f03b20c6b204e9f28" target="_blank" rel="noopener noreferrer"&gt;documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This function configures the peripheral and its interrupts and activates it. During the activation process, the internal clocks are started and the QSPI peripheral tries to read the status byte to read the busy bit. Reading the status byte is done in a simple poll and wait mechanism. If the busy bit is 1, this indicates issues with the external memory device. As a result,&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__nrfx__qspi.html#gae619b2eaf2d9691f03b20c6b204e9f28"&gt;nrfx_qspi_init&lt;/a&gt;returns NRFX_ERROR_TIMEOUT.&lt;/p&gt;
&lt;p&gt;In case of issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Check the connection.&lt;/li&gt;
&lt;li&gt;Make sure that the memory device does not perform other operations like erasing or writing.&lt;/li&gt;
&lt;li&gt;Check if there is a short circuit.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/140734?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 16:47:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8efe04c7-dfee-4830-8d38-ddd92c941d5a</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Hi martin&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the answer&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But i am following the same process which you just described above .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The error I am getting is NRF_TIMEOUT_ERROR which originates from qspi_init() function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example code is running fine but when I integrate this with the BLE uart app code, it throws this error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What can be the solution to this ?&lt;/p&gt;
&lt;p&gt;Thanks for.your time .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/140692?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 14:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59092a2a-45a4-4a57-b755-3c7f1026168e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Rajat,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would recommend that you start with a BLE example application then add the&amp;nbsp;QSPI functionality, by enabling it in &amp;quot;sdk_config.h&amp;quot; as well as including the right files.&lt;/p&gt;
&lt;p&gt;You could for example use the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_1_2_24" target="_blank" rel="noopener noreferrer"&gt;ble_app_uart&amp;quot;&lt;/a&gt; example as reference then add code from the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fqspi_example.html&amp;amp;cp=4_0_0_4_5_25" target="_blank" rel="noopener noreferrer"&gt;qspi&amp;quot; example&lt;/a&gt; application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is how you can &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/" target="_blank" rel="noopener noreferrer"&gt;debug&lt;/a&gt;&amp;nbsp;to find out why your application stops.&lt;/p&gt;
&lt;p&gt;If you are going to have BLE capabilities in your application you have to flash with the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.softdevices52%2Fdita%2Fsoftdevices%2Fs140%2Fs140.html&amp;amp;cp=2_3_2" target="_blank" rel="noopener noreferrer"&gt;Softdevice &lt;/a&gt;(since it&amp;#39;s the BLE stack).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/140474?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 04:15:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:297a2630-54db-466b-b72a-d143e3c20fde</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;This did solve my problem.&lt;/p&gt;
&lt;p&gt;But ,now the question arises HOW TO USE BLE AND EXTERNAL FLASH MEMORY TOGETHER IN ONE SINGLE CODE?&lt;/p&gt;
&lt;p&gt;I am trying to write some data to external flash memory that uses QSPI. But as soon i run the code of QSPI. MY program stops and nothing works untill i load it with the softdevice 140 hex file using nrfGoSTudio.&lt;/p&gt;
&lt;p&gt;What is the reason for this ?&lt;/p&gt;
&lt;p&gt;What can be the solution to this?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rajat!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to perform a factory reset of nrf52840?</title><link>https://devzone.nordicsemi.com/thread/140400?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 13:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc9ae5ba-97b0-40e6-b04a-16e5923d2bca</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Rajat,&lt;/p&gt;
&lt;p&gt;Please go through the list in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24592/my-nrf52-nrf51-dk-kit-doesn-t-work" target="_blank" rel="noopener noreferrer"&gt;this thread&lt;/a&gt;&amp;nbsp;to solve the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>