<?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 store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73307/how-to-store-sensor-data-in-internal-flash-memory</link><description>Hi, 
 I am using the stts751 temp sensor with nrf52832 for temp data logging for short time. I want to save temp data in the internal flash memory but I didn&amp;#39;t find any similar example. 
 Please guide me for the same and share any similar examples that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Apr 2021 07:22:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73307/how-to-store-sensor-data-in-internal-flash-memory" /><item><title>RE: How to store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/thread/304187?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 07:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:678cc0b3-8b54-47d1-8ebd-195507698610</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;You can buffer your samples and write them, say, by 10 in one record.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/thread/304164?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 04:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5c4a14d-31b4-411a-9322-cf548e0cdc45</guid><dc:creator>The_user_23</dc:creator><description>&lt;p&gt;the FDS library is adding 12 bytes with each record due to this I am not able to store as much data as I want (300kb). is there any way I can save without the header?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/thread/303800?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 13:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e3e7e67-b187-422e-abc3-a851dbf70580</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Rajat23"]I checked the FDS example and now I can save sensor data.[/quote]
&lt;p&gt;I am glad to hear that you are able to save your sensor data!&lt;/p&gt;
[quote user="Rajat23"]but it is not clear how much data I can save? and what will be the starting address of available space?[/quote]
&lt;p&gt;The FDS library writes from the top of the flash to the bottom, and uses the CODE_START _END and _SIZE compile-time macros from app_util.h to determine how many flash pages is available. If I remember correctly the FDS example prints the number of available pages upon startup. You could take a look there to see how this is implemented.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/thread/302979?ContentTypeID=1</link><pubDate>Mon, 05 Apr 2021 12:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ea6f58-0196-4b45-86ab-383c8b0e3a8c</guid><dc:creator>The_user_23</dc:creator><description>&lt;p&gt;thanx, I checked the FDS example and now I can save sensor data.&lt;/p&gt;
&lt;p&gt;but it is not clear how much data I can save? and what will be the starting address of available space?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to store sensor data in internal flash memory?</title><link>https://devzone.nordicsemi.com/thread/302245?ContentTypeID=1</link><pubDate>Sat, 27 Mar 2021 14:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1871f88-53ad-4a76-9581-776b9aed1fbb</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can look at &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/fds_example.html?cp=7_1_4_6_9"&gt;FDS example&lt;/a&gt; in SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>