<?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 Number of uses</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115385/flash-number-of-uses</link><description>softdvice : s132 
 SDK version : nRF5_SDK_17.1.0_ddde560 
 
 Hi 
 In the project I&amp;#39;m working on, I need to store 3 bytes of usage time information. So I need to store data in flash in 1-minute units. 
 I just execute Write and Read, no separate erase</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 12:08:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115385/flash-number-of-uses" /><item><title>RE: flash Number of uses</title><link>https://devzone.nordicsemi.com/thread/505878?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 12:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b98e0e-2aea-4675-a094-a7ea1aa50f2c</guid><dc:creator>Sigurd</dc:creator><description>[quote user="cabin"]What is the 0 bit and 1 bit problem?[/quote]
&lt;p&gt;See this page in the PS:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52832/page/nvmc.html#d929e53"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52832/page/nvmc.html#d929e53&lt;/a&gt;&lt;/p&gt;
[quote user="cabin"]Does using FDS solve the cycle problem? Does it solve only the bit problem?&lt;br /&gt;Does FDS refer to the flash_fds example?[/quote]
&lt;p&gt;See this page.&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_fds.html"&gt;https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_fds.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;flash_fds is a example that shows how to use the FDS library.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash Number of uses</title><link>https://devzone.nordicsemi.com/thread/505876?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 11:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbee8454-531a-4a6b-8d85-f8b158690c42</guid><dc:creator>cabin</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;What is the 0 bit and 1 bit problem?&lt;br /&gt;Does using FDS solve the cycle problem? Does it solve only the bit problem?&lt;br /&gt;Does FDS refer to the flash_fds example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash Number of uses</title><link>https://devzone.nordicsemi.com/thread/505672?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:36:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23f67d9d-d22e-4398-93ec-c5b563e10e5d</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;See PS chapter 11.8.1 &amp;quot;Flash programming&amp;quot;.&lt;/p&gt;
&lt;p&gt;You are allowed to write a block up to 181 times between erases.&lt;/p&gt;
&lt;p&gt;Note that you &lt;em&gt;also&lt;/em&gt; need to solve the issue of only being able to write a &amp;quot;0&amp;quot; bit but never a &amp;quot;1&amp;quot; bit.&lt;/p&gt;
&lt;p&gt;I recommend looking at how the peer manager saves data in FDS...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>