<?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>Getting problem to write  after 20 times data in flash...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63765/getting-problem-to-write-after-20-times-data-in-flash</link><description>Hello All, 
 
 I am working on nRF51822 use SDK nRF5 12.3.0 version in IAR workbench. 
 
 I am write data in the flash so for that i follow below steps, 
 Step 1: press button to start writing data in to flash. 
 step 1: write 2 data in to flash. and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2020 13:00:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63765/getting-problem-to-write-after-20-times-data-in-flash" /><item><title>RE: Getting problem to write  after 20 times data in flash...</title><link>https://devzone.nordicsemi.com/thread/260155?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 13:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f3be097-0d11-40f4-8548-27fc7bd760fe</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like you are mixing different ways of accessing the flash (through direct register access, libraries and softdevice calls). This won&amp;#39;t work well. I suggest to go for one implementation and stick with it. You should find examples in the nRF5 SDK, but you may also find these useful:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nRF5-flash-storage-examples"&gt;https://github.com/NordicPlayground/nRF5-flash-storage-examples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18083/fds---pstorage---fstorage---which-to-use"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/18083/fds---pstorage---fstorage---which-to-use&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>