<?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>Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth</link><description>Hi, 
 We need to save 3 strings to flash using NVS. Based on the code sample in zephyr\samples\subsys\nvs we set the initialization and then write and read these data. 
 To have successful read back we need to make some dummy write to NVS before, else</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Sep 2021 07:31:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth" /><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/331618?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 07:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1550303b-7e9d-44d5-a275-49df928f0e0b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The settings module will use the &amp;#39;settings_storage&amp;#39; instead of the &amp;#39;storage&amp;#39; partition now when the Partition Manager is enabled, so you can remove the storage partition and keep settings_storage + user_storage.&lt;/p&gt;
&lt;p&gt;CONFIG_SETTINGS_NVS_SECTOR_COUNT will work in the same way as before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/331360?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 14:37:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ed1e367-ad4c-4659-8514-0ce49ee5796b</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Vidar,&lt;/p&gt;
&lt;p&gt;The error still remains.&lt;/p&gt;
&lt;p&gt;This is not clear for me, the dts and overlay files will be ignored about &amp;amp;flash0 part only ?&lt;/p&gt;
&lt;p&gt;The content seems not identical to my overlay file...&amp;nbsp; Is the code below the &amp;quot;perfect&amp;quot; equivalence of my overlay ? (it doesn&amp;#39;t work neither)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;storage:
  address: 0xf8000
  size: 0x6000
  end_address: 0xfe000
  placement:
    before: 
    - user_storage
  region: flash_primary
user_storage:
  address: 0xfe000
  size: 0x2000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; I can build now&lt;/p&gt;
&lt;p&gt;According to my pm_static.yml there is 3 &amp;quot;storage&amp;quot; partitions&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;- settings_storage size 0x2000 (generated only with MCU Boot)&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;- storage size 0x6000 (default 0x8000)&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;- user_storage size 0x2000 (new custom partition from storage)&lt;/p&gt;
&lt;p&gt;Knowing this, CONFIG_SETTINGS_NVS_SECTOR_COUNT=4 should still influence on storage ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;...
settings_storage:
  address: 0xf6000
  end_address: 0xf8000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x2000
sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000
storage:
  address: 0xf8000
  end_address: 0xfe000
  placement:
    before:
    - user_storage
  region: flash_primary
  size: 0x6000
user_storage:
  address: 0xfe000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x2000&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/331284?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 11:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e0e5b1-e580-43ae-904f-38407a174bcc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I should have pointed this out earlier, but the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/scripts/partition_manager/partition_manager.html#partition-manager"&gt;partition manager&lt;/a&gt; will take over and manage the memory layout once you start doing &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/ug_multi_image.html"&gt;Multi-image builds&lt;/a&gt;. This means that the DTS configuration will be ignored.&lt;/p&gt;
&lt;p&gt;Please try to add the yaml code below into a file named &amp;quot;pm_static.yml&amp;quot; and place it in your project directory. This should configure the partition manager to include your partition.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;user_storage:
  address: 0xfc000
  size: 0x2000
  end_address:0xfe000
  placement:
    before: 
    - settings_storage
  region: flash_primary
settings_storage:
  address: 0xfe000
  size: 0x2000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/331231?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 07:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74d52d5d-993f-4ef1-aa7c-593f5fbad5f6</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;It used to work fine but now I face problem to compile the same code with MCUBoot enabled...&lt;/p&gt;
&lt;p&gt;This MACRO generates an error&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;fs.offset = FLASH_AREA_OFFSET(user_storage);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632728419076v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I use one partition named storage this work but as soon as I split it in storage + user-storage it fails.&lt;/p&gt;
&lt;p&gt;The overlay of my custom board nRF52840 is as below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* User storage */
&amp;amp;flash0 {
    partitions {
        storage_partition: partition@f8000 {
            label = &amp;quot;storage&amp;quot;;
            reg = &amp;lt; 0xf8000 0x6000 &amp;gt;;
        };
            
        user_partition: partition@fe000 {
            label = &amp;quot;user-storage&amp;quot;;
            reg = &amp;lt; 0xfe000 0x2000 &amp;gt;;
        };
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;proj.conf extract&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NVS concern:

# Enable bonding
CONFIG_SETTINGS=y
CONFIG_BT_BONDABLE=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS_NVS=y
CONFIG_SETTINGS_NVS_SECTOR_COUNT=4

New lines MCUBoot concern:

# Bootloader
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_UTIL_LOG_LEVEL_DBG=y
CONFIG_MCUMGR_LOG_LEVEL_DBG=y

# DFU and OTA update
CONFIG_DFU_TARGET=y
CONFIG_DFU_TARGET_MCUBOOT=y
CONFIG_FLASH=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_RING_BUFFER=y

# Firmware signing
CONFIG_SIGN_IMAGES=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Any idea on what could be wrong ?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/326934?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 09:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:787d72bc-026f-436c-b223-8d22bc92cd34</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update.&lt;/p&gt;
[quote userid="24186" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/326922#326922"]So your point is that every user NVS data should go in a dedicated partition and the OS NVS data will take place in the original storage partition.[/quote]
&lt;p&gt;I think creating a new storage partition might be the easiest way to ensure separation between the NVS area used by Settings from the NVS area you are using in your application. But it&amp;#39;s not the only solution, you could also use the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/kconfig/CONFIG_SETTINGS_NVS_SECTOR_COUNT.html"&gt;CONFIG_SETTINGS_NVS_SECTOR_COUNT&lt;/a&gt; configuration and prevent Settings from allocating the whole partition to itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/326922?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 08:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a33477-e231-41d5-8c52-6d8429ffa544</guid><dc:creator>Romain</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/326914#326914"]Are these 2 sectors currently placed in the same partition as Bluetooth settings?[/quote]
&lt;p&gt;Yes they were...&lt;/p&gt;
&lt;p&gt;But I tried your proposal and it seems working fine.&lt;br /&gt;The Bluetooth settings now takes 4 sectors instead of 8.&lt;/p&gt;
&lt;p&gt;So your point is that every user NVS data should go in a dedicated partition and the OS NVS data will take place in the original storage partition.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/326914?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 08:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47bb534a-05b1-4ec7-812d-9636c2c214e8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="24186" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/326906#326906"]you propose to separate NVS to 2x16kb partitions. Could that be really OK ?[/quote]
&lt;p&gt;This was just an example. Bluetooth settings will allocate 4 sectors with this partitioning. My point is that your NVS instance should not cover the same flash area as the other NVS instance used by Settings.&lt;/p&gt;
[quote userid="24186" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/326906#326906"]custom NVS parameters defines 2 (3 in Simon example) sectors[/quote]
&lt;p&gt;Are these 2 sectors currently placed in the same partition as Bluetooth settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/326906?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 07:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afdb3858-abe9-436d-a252-f5c6010cb672</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/325502#325502"]&lt;strong&gt; &lt;/strong&gt;have you defined a new flash partition for your NVS instance[/quote]
&lt;p&gt;No I didn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;But I am not clear with sectors overlapping on the storage partition which is 32kb. Bluetooth settings defines 8 sectors of 4096b (the whole storage partition as defined in dts), my custom NVS parameters defines 2 (3 in Simon example) sectors of 4096b and you propose to separate NVS to 2x16kb partitions. Could that be really OK ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/325502?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 12:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f2c6806-9641-45af-9ab5-5f2b5dd3ab03</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It sounds like NVS should have plenty of time to complete the write operations then. So the question why CONFIG_BT_GATT_CACHING=n seems to improve the behaviour still remains. Would you be able to share your project so I can try to debug it here (assuming it can run on a nordic DK without too much effort). Otherwise I&amp;#39;ll just try to set up a new project.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit: &lt;/strong&gt;have you defined a new flash partition for your NVS instance so there is not any conflict with the NVS instance used by Settings?&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1629368366375v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/325251?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 09:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afaf0fa4-c338-48ba-beaf-dc8b46d29a81</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I am reading and writing a characteristic manually through an app so there is a few seconds between a successive write and read back. I tried again with more than 5s but nothing changed.&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/325160#325160"]I didn&amp;#39;t manage to replicate the issue with the sample code Simon had uploaded here[/quote][quote userid="24186" url="~/f/nordic-q-a/77781/problem-to-read-back-flash-with-nvs-when-concurrent-use-with-bluetooth/324850#324850"] you need to connect to a central to reproduce the issue[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/325160?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 14:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81730131-bc54-47cc-9c7c-779d4d99dc39</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t manage to replicate the issue with the sample code Simon had uploaded here, but I&amp;#39;m guessing the problem in your case might be that the app is attempting to read back the data before it has actually been stored to flash (Note: write API is not synchronous).&lt;/p&gt;
&lt;p&gt;Have you tried to add a delay (k_sleep(), etc) after the write to give NVS more time to complete the flash writes before reading the data back again?&lt;/p&gt;
[quote user="rop_"]How is GATT caching interacting with NVS ?[/quote]
&lt;p&gt;&amp;nbsp;GATT caching causes more data to be stored with NVS so that may explain why it takes longer to store your user data. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/324850?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 12:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59153d31-b9dc-46e7-af14-aeb626b55f8e</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;When I implicitly set CONFIG_BT_GATT_CACHING=n (default value is y) it works fine until step 6.&lt;/p&gt;
&lt;p&gt;I guess you need to connect to a central to reproduce the issue as there is no issue until step 3.&lt;/p&gt;
&lt;p&gt;How is GATT caching interacting with NVS ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/324693?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 14:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dc987aa-26e0-412c-90b5-c2dc06d45c4c</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Hi Simon,&lt;br /&gt;&lt;br /&gt;Yes I got (almost) the same log except that&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I had to add CONFIG_LOG_PRINTK=y in proj.conf&lt;/li&gt;
&lt;li&gt;The order of printk messages is not the same (due to priority level ?)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
Before nvs_init() from app
[00:00:10.525,390] &#x1B;[0m&amp;lt;dbg&amp;gt; fs_nvs.nvs_recover_last_ate: Recovering last ate from sector 0&#x1B;[0m
[00:00:10.530,975] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: 3 Sectors of 4096 bytes&#x1B;[0m
[00:00:10.530,975] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, ff0&#x1B;[0m
[00:00:10.530,975] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0&#x1B;[0m
[00:00:10.531,280] &#x1B;[0m&amp;lt;dbg&amp;gt; fs_nvs.nvs_recover_last_ate: Recovering last ate from sector 0&#x1B;[0m
[00:00:10.536,804] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: 8 Sectors of 4096 bytes&#x1B;[0m
[00:00:10.536,804] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, ff0&#x1B;[0m
[00:00:10.536,834] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0&#x1B;[0m
[00:00:10.536,926] &#x1B;[0m&amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision: 
                                         58 5d 8b 31 54 67 00 e9  b8 4a a7 df a9 9c e4 1c |X].1Tg.. .J......
                                         b3 0b ce 74                                      |...t             &#x1B;[0m
[00:00:10.538,604] &#x1B;[0m&amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()&#x1B;[0m
Enable bluetooth sucess!
Item at id 1 was found: data1
Item at id 2 was found: data2
Item at id 3 was found: data3&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will try to expose some code to reproduce our issue...&lt;/p&gt;
&lt;p&gt;Basically we are doing the following&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;init nvs&lt;/li&gt;
&lt;li&gt;read then write the default value if empty nvs&lt;/li&gt;
&lt;li&gt;enable Bluetooth (which inits the nvs again)&lt;/li&gt;
&lt;li&gt;connect to a central and enable some characteristics&lt;/li&gt;
&lt;li&gt;write a new value to nvs&lt;/li&gt;
&lt;li&gt;read the last value from nvs&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to read back flash with NVS when concurrent use with Bluetooth</title><link>https://devzone.nordicsemi.com/thread/321658?ContentTypeID=1</link><pubDate>Sun, 25 Jul 2021 14:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc8aba9d-62ff-4e87-898d-1b7169b7441c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I tried to reproduce this issue but was not able to, can you test the&amp;nbsp;attached sample with NCS v1.6.0 and check if you get the same output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
Before nvs_init() from app
Enable bluetooth sucess!
Item at id 1 was found: data1
Item at id 2 was found: data2
Item at id 3 was found: data3
&amp;gt; fs_nvs.nvs_recover_last_ate: Recovering last ate from sector 0
[00:00:00.013,549] &amp;lt;inf&amp;gt; fs_nvs: 3 Sectors of 4096 bytes
[00:00:00.013,549] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, ff0
[00:00:00.013,549] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
[00:00:00.017,303] &amp;lt;dbg&amp;gt; fs_nvs.nvs_recover_last_ate: Recovering last ate from sector 0
[00:00:00.022,796] &amp;lt;inf&amp;gt; fs_nvs: 8 Sectors of 4096 bytes
[00:00:00.022,827] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, ff0
[00:00:00.022,827] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
[00:00:00.022,918] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision:
                                         58 5d 8b 31 54 67 00 e9  b8 4a a7 df a9 9c e4 1c |X].1Tg.. .J......
                                         b3 0b ce 74                                      |...t
[00:00:00.024,688] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nvs_5F00_and_5F00_ble.zip"&gt;devzone.nordicsemi.com/.../nvs_5F00_and_5F00_ble.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I have misunderstood your issue, please attach a sample that demonstrates it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>