<?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>loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16438/loading-data-from-file-in-nrf51-dk</link><description>Hi, 
 I am working on adc module of nrf51,through adc i am taking data and storing it in array.now i have to crossexamine this adc data with the prestored data and have to predict some result. 
 Q.) the prestored data is saved in a file(assume in .csv</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Sep 2016 09:22:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16438/loading-data-from-file-in-nrf51-dk" /><item><title>RE: loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/62923?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 09:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:822a276a-6de3-4d8b-89af-8a84482e9796</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;There isn&amp;#39;t a pure FDS example in the SDK, but the FDS module is used by the Peer Manager in many examples, e.g. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_proximity.html?cp=6_0_0_4_2_2_15"&gt;ble_app_proximity&lt;/a&gt;.  You can also take a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_fds_usage.html?resultof=%22%46%44%53%22%20%22%66%64%22%20"&gt;usage&lt;/a&gt; example in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/62922?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 12:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65a3854c-2cce-41a8-b262-72145ead4c80</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;I am using sdk v11, Can you redirect me to an example code that can be used as a reference to develop my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/62921?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 12:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450d082d-326e-42b6-bf75-c861e08b8dec</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I would include the file content in the firmware and then use one of our flash libraries to read and modify the content.  Depending on which SDK you&amp;#39;re using you can either use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/lib_pstorage.html?resultof=%22%70%65%72%73%69%73%74%61%6e%74%22%20%22%70%65%72%73%69%73%74%22%20%22%73%74%6f%72%61%67%65%22%20%22%73%74%6f%72%61%67%22%20"&gt;Persistant Storage Manager&lt;/a&gt; module (SDK v9 or older) or the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/lib_fds.html?resultof=%22%46%6c%61%73%68%22%20%22%66%6c%61%73%68%22%20%22%44%61%74%61%22%20%22%64%61%74%61%22%20%22%53%74%6f%72%61%67%65%22%20%22%73%74%6f%72%61%67%22%20"&gt;Flash Data Storage&lt;/a&gt; module(SDK v11 or SDK v12).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/62920?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 12:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05d43f4-b13f-45d2-a1e9-a76317cc0e9b</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;I am not sure if you got the question. I want file contents (i.e. x number of values stored in file) to be loaded in an object (like array), something like Firmware reading a file that is in Flash.&lt;/p&gt;
&lt;p&gt;Now I have two questions :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;How do I flash a file along with Firmware on nRF51 Processor (for e.g. It can be .txt file or some format that Firmware can understand)?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once the file is flashed, Can I modify the contents of that file using Firmware? If yes, How can we do it?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: loading data from file in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/62919?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 11:49:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5393fe4e-fe2a-4583-8fe6-26516f7199e2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I think that you will have to send it over one of the nRF51&amp;#39;s serial interfaces, e.g. the UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>