<?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>want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27123/want-to-write-and-read-data-to-from-flash</link><description>I want to add some configuration files to nrf52, so can I write data in flash and read when I want.......I have the example code of twi master_twi slave but it engages the pin so I need a separate code for reading and writing to flash which should work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Dec 2017 18:53:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27123/want-to-write-and-read-data-to-from-flash" /><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106736?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 18:53:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60df59c9-f2bc-4bbd-96c2-d413b5938db4</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;Is nRF52 flash memory mapped ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106735?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 05:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9e6c21c-d1fa-4f53-a740-54941d1aa26d</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Technically with Flash you can&amp;#39;t erase individual bytes, you can only erase a &amp;quot;page&amp;quot;.&lt;/p&gt;
&lt;p&gt;The page size is defined by chip design, and is often 1k or 2k or 4k... etc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106738?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 05:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28cbdc76-6951-43ba-a757-22234bae4503</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;Please delete this comment, cannot delete it myself..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106734?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 05:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d17c1901-7022-446f-9be9-79fc1c14146c</guid><dc:creator>embedded717</dc:creator><description>&lt;p&gt;examples\peripheral\flashwrite&lt;/p&gt;
&lt;p&gt;Example is good.. But how do we do erase certain number of bytes starting at a certain address ?
There is only page erase there .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106733?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 09:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0fd7f2f-9508-4b45-95a5-3a581282cf57</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;How do you want to do the reading process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106730?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 18:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4212a455-517f-4573-8443-d19ab82f555b</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;is it possible to read a text file into nrf52 programming....&lt;/p&gt;
&lt;p&gt;NRF52 program--------&amp;gt;takes the data from text file---------&amp;gt;process the data----------&amp;gt;impliment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106739?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 12:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d356d16c-fc0f-4123-a23b-bda337134200</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Another option is to use the Flash Data Storage (FDS) library in the SDK.  &lt;a href="https://devzone.nordicsemi.com/question/114194/assistance-with-fds/"&gt;This&lt;/a&gt; thread contains an example showing how to use FDS (the thread contains two versions of the example, one for SDK 11 and one for SDK 12.2).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106728?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 07:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed89b3ad-6041-4a8b-8e9b-e5a49c41b11f</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;To add to Jakub&amp;#39;s answer&lt;/p&gt;
&lt;p&gt;You an only write to flash a limited number of times, before you wear it out (check the spec for the number of times)
(Well the number of page erases is the real limiting factor)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106729?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 06:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93de5b0c-59ce-4064-84b7-e5edbc30899f</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;When you will be using flashwrite example (examples\peripheral\flashwrite), please keep in mind it does not check how many times flash write operation has been performed.&lt;/p&gt;
&lt;p&gt;In nrf52 documentation in NVMC section you have an information about maximum block write cycles between page errase (n_WRITE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106737?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 04:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82228190-1974-48d9-82e5-80317a8a5959</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Take a look in the SDK&lt;/p&gt;
&lt;p&gt;examples\peripheral\flashwrite&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106732?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 04:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29efd748-6415-47b8-9181-7f0cf32f8646</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;I want to use internal flash for this purpose.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to write and read data to/from Flash?</title><link>https://devzone.nordicsemi.com/thread/106731?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 03:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fc06fe0-2450-4e8d-a5dc-cf0e1e186b2f</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Internal Flash or external Flash ?&lt;/p&gt;
&lt;p&gt;Sounds like you are talking about external flash on TWI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>