<?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 always Write to FLASH</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45186/how-to-always-write-to-flash</link><description>There is my function for writing to flash. 
 It works when NRF52832 start from reset, if works when the NRF52832 gets data over BLE but it does not works after &amp;quot;power down and up&amp;quot;. 
 It is strange, CPU works on Super Capacitor when the main power fall</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 May 2019 09:16:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45186/how-to-always-write-to-flash" /><item><title>RE: How to always Write to FLASH</title><link>https://devzone.nordicsemi.com/thread/188995?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 09:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968749b2-0192-4a3f-8572-bc2cedc84df6</guid><dc:creator>Simonr</dc:creator><description>[quote user="BartoszT"]but now it is ok and this &amp;quot;ok&amp;quot; or &amp;quot;no ok&amp;quot; looks like SoftDevice propability dependend.[/quote]
&lt;p&gt;&amp;nbsp;What does this mean? And why would you need to disable (switch off) the SoftDevice, do you mean going to deep sleep to save power?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always Write to FLASH</title><link>https://devzone.nordicsemi.com/thread/188987?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 08:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53bc7671-46c9-40dc-b3d1-66675d977847</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;This is my SDK:&amp;nbsp;nRF5_SDK_15.2.0_9412b96&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;m using SoftDevice 132.&lt;/p&gt;
&lt;p&gt;For now I can switch off SoftDevice before erasing, because after that NRF52832 goes to NVIC_SystemReset() and it works fine. I have also few situation when i can&amp;#39;t switch off the SoftDevice but now it is ok and this &amp;quot;ok&amp;quot; or &amp;quot;no ok&amp;quot; looks like SoftDevice propability dependend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always Write to FLASH</title><link>https://devzone.nordicsemi.com/thread/188515?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 10:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19878de0-4d8d-4f31-959c-efc93c94599f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Bartosz&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, but Ketil has been busy lately and I just now got to this case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First off. What SDK version are you using? What example (if any) is your application based on, and do you use the SoftDevice or not?&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using SDK version 14.0 or newer, you should check out the nrf_fstorage_erase function in nrf_fstorage.h within the SDK, to see how that function works.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using an older SDK version you should check out the fs_erase function in fstorage.h&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always Write to FLASH</title><link>https://devzone.nordicsemi.com/thread/187653?ContentTypeID=1</link><pubDate>Fri, 17 May 2019 08:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f27a53-7a3a-4c00-bcba-2cf5e9f55b27</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;Now im working witj DEV KIT nRF52. Previous problem disappeared.&lt;/p&gt;
&lt;p&gt;Now FlashErase doesn&amp;#39;t work each time I use it.&lt;/p&gt;
&lt;p&gt;It means that at the beginning when the device starts, FlashErase works, but later during the work of the device no longer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My code for erasing:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DevZone_5F00_FLASH.png" /&gt;&lt;/p&gt;
&lt;p&gt;what is the cause of the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always Write to FLASH</title><link>https://devzone.nordicsemi.com/thread/177648?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 15:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90cbe8cf-c6e2-4c98-8e77-59c5b1a16b57</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Sounds like the supply voltage is being too low. Can you share the schematic? Do you have the correct value on all the decoupling capacitors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>