<?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>Storing to flash storage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81371/storing-to-flash-storage</link><description>Hi, 
 We&amp;#39;re working on the nrf52833 chipset and were wondering how to add more data to the flash storage. I&amp;#39;ve traced the calls of load_settings() in the main and where fcb_init() is called in bt_enable() but it seems to just know where flash data is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 14:37:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81371/storing-to-flash-storage" /><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/340128?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 14:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459b2b13-e10c-42de-a2c1-3dc7d472d8da</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Sure, no problem. I will follow up on the other question&amp;nbsp;when I go through the other post.&amp;nbsp;&lt;span&gt;Thanks Sigurd!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/340079?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 13:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:106c598f-8734-4d3d-9b5c-53e90769461e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer,&lt;/p&gt;
&lt;p&gt;This post is about adding new, custom data to flash.&lt;br /&gt;Questions 2 and 3 is about how BLE Mesh handles existing settings.&lt;/p&gt;
&lt;p&gt;In the interest of keeping this tidy, could you make a new post for question 2 and 3?&lt;br /&gt;When you do, please add information on your mesh model configuration of the application in the post.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/340045?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 12:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:463cb19f-b0fe-4144-9585-aa69a745ff64</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer,&lt;/p&gt;
&lt;p&gt;NVS and Bluetooth Low Energy (LE) Settings will use the same Storage area when handled by the device tree.&lt;/p&gt;
&lt;p&gt;The other alternative to managing flash is using the Partition Manager.&lt;/p&gt;
&lt;p&gt;For discussion on how to use NVS and&amp;nbsp; Bluetooth LE Settings at the same time, along with a solution, see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/331284#331284"&gt;This post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Does the post I linked have the solution you needed?&lt;/p&gt;
&lt;p&gt;I will answer question 2 and 3 in another answer shortly.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/339714?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 18:12:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4941339-b383-4dba-a5e5-91c28da85906</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Sorry for the late response; I was out of office, but I was able to build and use the NVS sample you linked after linking the nvs files to my project. Going forward with nvs and flash, my colleagues have some additional queries related to them.&lt;br /&gt;&lt;br /&gt;We are able to read and write bytes using the nvs functions, but we have noticed that after bluetooth provisioning the same area we are writing to with the nvs functions are being overwritten by the configuration data. If we direct the nvs writes to a particular location where the ble stack is not writing to, will this be fine? (creating a new flash area in linker script).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We had compiled a couple questions regarding the flash storage and nvs functionality. If this is too long for this thread or would be better suited in a new thread please feel free to let me know!&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1. How do we control the address to be written and what is the recommended location to be used for nvs functions?&lt;/p&gt;
&lt;p&gt;We see the&amp;nbsp;&lt;strong&gt;storage&lt;/strong&gt; variable being used in the flash_area_offset() function so we are thinking we need to add variable in the linker script similarly to that, but we are not too sure.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. After provisioning and sending control commands such as like the on/off generic light, etc. we have observed that data is continuously being written to flash one after another. We are wondering if it is really necessary to write this sort of information to flash?&lt;/p&gt;
&lt;p&gt;We observed in the gatt.c; an example function is db_hash_store() that will write to the flash memory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3. Similarly related to the second question, the RPL (replay messages) related information is being written to memory. Can we allocate some max memory for replay messages and what is the default value for size of these messages?&lt;/p&gt;
&lt;p&gt;We found that in settings.c the bt_mesh_rpl_pending_store() function was writing RPL stuff but we didn&amp;#39;t necessarily want to store so much information in the flash related to replay messages.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338372?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 12:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e998a503-2032-44f8-bd2a-e9ae83abb22a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer&lt;/p&gt;
[quote user="SpencerEtn"]I thought I posted an update but I guess it didn&amp;#39;t post. I figured out the error with the undefined references were because the nvs.h file was not linked to any nvs.c file in the zephyr library. [/quote]
&lt;p&gt;This seems wierd.&lt;/p&gt;
&lt;p&gt;Are you able to build and run the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/samples/subsys/nvs/README.html"&gt;NVS sample&lt;/a&gt; I linked to earlier?&lt;br /&gt;Cause if you are Zephyr should be able to handle the NVS functionality.&lt;/p&gt;
&lt;p&gt;I am able to build this sample, without modifying any libraries.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338371?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 12:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ccf1ebe-4d0e-4790-abae-5973d086093e</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hey Sigurd,&lt;/p&gt;
&lt;p&gt;I thought I posted an update but I guess it didn&amp;#39;t post. I figured out the error with the undefined references were because the nvs.h file was not linked to any nvs.c file in the zephyr library. The issue I have now is when adding the nvs.c file to be part of the libzephyr.a project it&amp;#39;s not able to read the other library files like &amp;lt;driver/flash.h&amp;gt;. I&amp;#39;ve looked at the CMakeLists but didn&amp;#39;t find anything there. I know this is not so much Nordic related but do you know how to add to the library correctly?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338315?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 08:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:225e5704-48ed-415a-b29c-0c4a8d3768e6</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer&lt;/p&gt;
&lt;p&gt;At this point, I would be better able to help you if I could try to run the code myself.&lt;br /&gt;Are you able to make a smallest possible sample to replicate the problem, then upload it as a zip to this site?&lt;/p&gt;
&lt;p&gt;If do not want it to be public, I could make the case private; Let me know if I should.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338247?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 17:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:881e664c-1dd6-46b5-b2d5-fe5ce318c523</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Sorry I don&amp;#39;t know how I missed that.. I have updated my prj.conf file to add all the other missing config flags as the sample project. Unfortunately I am still getting the same error... I appreciate all your help thus far!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338230?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 14:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59a37f4d-e471-4449-bd87-4f5b3e051c6b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer&lt;/p&gt;
&lt;p&gt;To use NVS, you need to configure for this.&lt;/p&gt;
&lt;p&gt;I advise you to compare the prj.conf and your project and the NVS sample I linked previously to find what configuration works best for you project.&lt;br /&gt;But the specific error you get is probably due to missing:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NVS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338209?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 14:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ede569-b2ec-4a68-a8d5-ebf8ecd62b4d</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Yes I did find it. I&amp;#39;ll post the general configuration settings inside.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_NCS_SAMPLES_DEFAULTS=y&lt;/p&gt;
&lt;p&gt;# General configuration&lt;br /&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048&lt;br /&gt;CONFIG_FLASH=y&lt;br /&gt;CONFIG_FLASH_MAP=y&lt;br /&gt;CONFIG_FCB=y&lt;br /&gt;CONFIG_SETTINGS=y&lt;br /&gt;CONFIG_HWINFO=y&lt;br /&gt;CONFIG_LOG=y&lt;br /&gt;CONFIG_LOG_PRINTK=y&lt;/p&gt;
&lt;p&gt;CONFIG_DK_LIBRARY=y&lt;br /&gt;CONFIG_BT_MESH_DK_PROV=y&lt;/p&gt;
&lt;p&gt;CONFIG_PWM=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338205?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 14:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db22f275-5b1a-4543-9032-f536062d9f3e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer,&lt;/p&gt;
&lt;p&gt;nRF Connect SDK projects are set up in a specific way. See the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/hello_world"&gt;Zephyr Hello World sample&lt;/a&gt; for how it looks:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636467270757v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Your main file will be located in a &amp;quot;src/&amp;quot; folder. The prj.conf I refer to is the file located in the same folder as &amp;quot;src&amp;quot;.&lt;/p&gt;
&lt;p&gt;To learn more about the basics of nRF Connect SDK, see the &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;nRF Connect SDK Tutorial series&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338189?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 13:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c3872bd-97aa-4082-a328-b8183082329f</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Which one? My system finds a bunch when I type it in. Anything in particular I should be looking for inside of it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/338098?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 09:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6b62ce-1806-4c19-a962-b49ce9c992d5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer&lt;/p&gt;
&lt;p&gt;How does your prj.conf look?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337991?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 16:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39cb4b47-b66f-4401-94c3-7e346e3cca1b</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Segger Embedded Studio. Sure, here is the error log. It&amp;#39;s quite long so if you want anything more specific let me know! Thanks.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt; app/libapp.a(NVSAbstraction.o): in function `NVSAbstraction::testing()&amp;#39;:&lt;br /&gt; undefined reference to `nvs_init&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:92: undefined reference to `nvs_read&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:100: undefined reference to `nvs_write&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:104: undefined reference to `nvs_read&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:106: undefined reference to `nvs_write&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:116: undefined reference to `nvs_read_hist&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:126: undefined reference to `nvs_write&amp;#39;&lt;br /&gt; c:/users/e0645950/documents/otherbranches/champ2_central_uc_fw/nordicsdk/nrf_connect_sdk/v1.5.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\E0645950\Documents\OtherBranches\champ2_central_uc_fw\NordicSDK\NRF_Connect_SDK\nrfConnectprj\champ_light_build_nrf52833/../../../../CHAMPSourceCode/PIC_SDK_AbstractionLayer/HardwareAbstraction/NVSAbstraction.cpp:135: undefined reference to `nvs_write&amp;#39;&lt;br /&gt; ld returned 1 exit status&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;*edited to make shorter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337966?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 15:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca3b2e90-23ec-4571-b5b2-fdfce25b2b4b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Spencer,&lt;/p&gt;
&lt;p&gt;Which tool are you using to build your project?&lt;/p&gt;
&lt;p&gt;Could you post the full error log?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337916?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 12:50:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d14b6da4-4467-45f4-997a-967541466706</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi Sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I saw the example and document and it does look like that&amp;#39;s a step in the right direction. However, when trying to implement it in my code I get an error saying &amp;quot;undefined reference to xxx&amp;quot; where xxx are the different nvs functions like nvs_init, nvs_read, etc. But for some reason, I only get this error when I&amp;#39;m trying to rebuild the solution; I can compile the file I have with the nvs functions by itself and it will compile. I&amp;#39;m not sure why I would be getting undefined references then... any advice?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Spencer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337531?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 14:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2866f18-6fb4-425a-8b5b-03e01bc6de34</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/reference/storage/nvs/nvs.html?highlight=nvs"&gt;Non-Volatile Storage Driver&lt;/a&gt; what you are looking for?&lt;br /&gt;For an example, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/samples/subsys/nvs/README.html"&gt;NVS: Non-Volatile Storage sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There might be some complications when the Bluetooth driver and NVS tries to use flash at the same time, but it should be possible to solve this. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/326914#326914"&gt;this case&lt;/a&gt; for a case where this happened.&lt;/p&gt;
&lt;p&gt;If you face any problems with your implementation, let me know, and I will try to help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337511?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 14:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10f268d2-6889-4500-84b4-11ddebeffc39</guid><dc:creator>SpencerEtn</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Yes, we want to be able to store specific device information and sensor readings to flash storage if possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Storing to flash storage</title><link>https://devzone.nordicsemi.com/thread/337453?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 12:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c379bd48-9383-4336-90cc-a8b1464f60f1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi Spencer&lt;/p&gt;
&lt;p&gt;Just to clarify:&lt;/p&gt;
&lt;p&gt;Do you want to store data not related to the Bluetooth to flash storage?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>