<?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>CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100104/config_app_msc_storage_ram-vs-flash_fatfs</link><description>Hi Team, NCS v2.3.0 nrf52840 
 my project works as expected with CONFIG_APP_MSC_STORAGE_RAM=y 
 but I need storage FLASH_FATFS 
 
 I set CONFIG_APP_MSC_STORAGE_FLASH_FATFS =y and the disk does not open in Windows, it gives an error window when connecting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jul 2023 08:54:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100104/config_app_msc_storage_ram-vs-flash_fatfs" /><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/436926?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 08:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0c806b-2967-4a1d-9763-8e1dc910d807</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Here is the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11802"&gt;pull request&lt;/a&gt;&amp;nbsp;for disk access support.&lt;br /&gt;&lt;br /&gt;Thank you for your patience.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/435238?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 12:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f619e97-6ee1-4061-a138-7e4933b942a5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Due to vacation time and hence reduced staffing, we would need more time to look into your issue. This issue has been reported, but some delay in replying should be expected. I will get back to you when I get new information.&lt;br /&gt;&lt;br /&gt;I am sorry for any inconvenience. &lt;br /&gt;&lt;br /&gt;Thank you for your patience and understanding.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/434414?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 10:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3508b65c-bbd7-4aab-9f28-b8063c2e344f</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/chatDK040723.rar"&gt;devzone.nordicsemi.com/.../chatDK040723.rar&lt;/a&gt;&lt;br /&gt;can fill the slot1 once, but writes Confirmed: FALSE, Active: FALSE, Permanent:FALSE&lt;br /&gt;&lt;br /&gt;still looks like CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y it doesn&amp;#39;t work&amp;nbsp;&lt;br /&gt;&lt;br /&gt;large files does not react at all does not update in any way.&lt;br /&gt;&lt;br /&gt;I apologize for the delay due to work switched to 2.4.0 NCS&amp;nbsp;we hope to replace the FOTA to Mesh DFU&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/434403?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 09:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5176e28c-a8cb-4609-a14c-d74487c9aaa1</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1688462603588v1.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/434392?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 08:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5a756a-441b-441b-9edd-7e064b98807e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="dejans"]Could you please describe how you perform FOTA and provide all steps to reproduce your issue?[/quote]
&lt;p&gt;We might need all necessary steps for reproducing your problem.&lt;/p&gt;
[quote user="Sergnrf"]the update most often does not start and freezes, or ends with the message connection time out.[/quote]
&lt;p&gt;What happens when update freezes? Does it make any progress and then freezes?&lt;br /&gt;Could you please show message connection time out?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/434182?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 11:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aa79bf0-0aff-435b-be6f-8d8ec70cce48</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There were no differences from the previous one, I added your recommendations, the mass storage worked, I don&amp;rsquo;t get rtt errors, the update most often does not start and freezes, or ends with the message connection time out.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Serhii&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/433998?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 15:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:309bee69-9218-42ee-8240-94b7403a2e06</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please describe how you perform FOTA and provide all steps to reproduce your issue?&lt;br /&gt;&lt;br /&gt;Could you provide your new project if there are differences with previously uploaded one?&lt;/p&gt;
&lt;p&gt;Could you also provide log which would show us the error that you get when performing FOTA?&lt;br /&gt;&lt;br /&gt;Due to vacations and potential limited staff availability, I cannot provide the expectation for problem resolution. However, I will look into your problem together with our developers and I will keep you updated with relevant new information. I have already reached out to our developers internally.&lt;br /&gt;&lt;br /&gt;Thank you for your patience and understanding.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/433719?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 13:54:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ffa1dd6-3d83-4ae5-aa6b-46c478d57411</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;#CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;mass storage works,&amp;nbsp;but FOTA update stopped working.&lt;br /&gt;When can we expect a complete solution to the problem?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Serhii&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/433126?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 08:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f2236f9-f2dc-44a4-8a64-acca6250f582</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have replicated your issue using NCS v2.3.0. There are currently 2 options how you can fix the build error.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;First option:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;//in prj.conf, comment out configuration option CONFIG_BOOTLOADER_MCUBOOT
#CONFIG_BOOTLOADER_MCUBOOT=y
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Second option:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;//in prj.conf, make a following change to CONFIG_NVS
CONFIG_NVS=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;With either one of above-mentioned changes, you should be able to build your project successfully.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432923?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 10:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ac9b12-8a27-43d6-9570-79ce20dd5539</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_NCS_SAMPLES_DEFAULTS=y

# Deffered logging helps improve LPN power consumption
# when friendship is established.
CONFIG_LOG_MODE_DEFERRED=y

# General configuration
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
#CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_HWINFO=y
CONFIG_DK_LIBRARY=y
#CONFIG_PM_SINGLE_IMAGE=y
#CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x8000
#CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=y

# Bluetooth configuration
CONFIG_BT=y
CONFIG_BT_COMPANY_ID=0x0059
CONFIG_BT_DEVICE_NAME=&amp;quot;Mesh Chat&amp;quot;
CONFIG_BT_L2CAP_TX_MTU=69
CONFIG_BT_L2CAP_TX_BUF_COUNT=8
CONFIG_BT_OBSERVER=y
CONFIG_BT_PERIPHERAL=y
#CONFIG_BT_SETTINGS=y
CONFIG_BT_RX_STACK_SIZE=2000

# Disable unused Bluetooth features
CONFIG_BT_CTLR_DUP_FILTER_LEN=0
CONFIG_BT_CTLR_LE_ENC=n
CONFIG_BT_DATA_LEN_UPDATE=n
CONFIG_BT_PHY_UPDATE=n
CONFIG_BT_CTLR_CHAN_SEL_2=n
CONFIG_BT_CTLR_MIN_USED_CHAN=n
CONFIG_BT_CTLR_PRIVACY=n

# Bluetooth Mesh configuration
CONFIG_BT_MESH=y
CONFIG_BT_MESH_RELAY=y
CONFIG_BT_MESH_FRIEND=y
CONFIG_BT_MESH_ADV_BUF_COUNT=13
CONFIG_BT_MESH_RX_SEG_MAX=10
CONFIG_BT_MESH_TX_SEG_MAX=10
CONFIG_BT_MESH_PB_GATT=y
CONFIG_BT_MESH_GATT_PROXY=y
CONFIG_BT_MESH_DK_PROV=y

# Enable Bluetooth mesh models debug logs
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_MESH_LOG_LEVEL_DBG=y

# Enable Shell module and use UART as a backend
CONFIG_SHELL=y
CONFIG_SHELL_BACKEND_SERIAL=y

CONFIG_USE_SEGGER_RTT=y

CONFIG_STDOUT_CONSOLE=y

#USB related configs
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Zephyr MSC sample&amp;quot;
CONFIG_USB_DEVICE_PID=0x0008
CONFIG_LOG=y
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE=y
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_MAIN_STACK_SIZE=1536
CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
#CONFIG_APP_MSC_STORAGE_RAM=y

# FOTA FOTA FOTA
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
# Enable point to point DFU over SMP
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y
CONFIG_MCUMGR_CMD_OS_MGMT=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
# Enable the Bluetooth (unauthenticated) and shell mcumgr transports.
CONFIG_MCUMGR_SMP_BT=y
CONFIG_MCUMGR_SMP_BT_AUTHEN=n

CONFIG_BT_L2CAP_TX_MTU=252
#CONFIG_BT_L2CAP_RX_MTU=252
#CONFIG_BT_RX_BUF_LEN=260
CONFIG_BT_BUF_ACL_RX_SIZE=256
CONFIG_BT_DATA_LEN_UPDATE=y
CONFIG_BT_AUTO_DATA_LEN_UPDATE=y

# Some command handlers require a large stack.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

# Enable Extended Advertiser to advertise BT SMP service
CONFIG_BT_EXT_ADV=y
CONFIG_BT_EXT_ADV_MAX_ADV_SET=4

# One extra connection for mesh GATT/proxy and one for SMP BT.
CONFIG_BT_MAX_CONN=3

# One extra identity for SMP service
CONFIG_BT_ID_MAX=2
# end FOTA FOTA FOTA end

# FOTA External flash
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y

CONFIG_NVS=n 							
CONFIG_SETTINGS=n 	
CONFIG_PM_SINGLE_IMAGE=n 					
# CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x8000		
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n 				
CONFIG_BT_SETTINGS=n
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432918?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 10:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5112687-56dd-4333-9fd4-c3df497818c4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you share your changed prj.conf file?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432894?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 09:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd95d251-6fdf-45cd-9ccc-272bd2fb4353</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;fixed it but the error is still the same&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432892?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 09:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:762fee52-fbec-4b48-aadf-76b09bc562e1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have tested your sample and found 2 pairs of conflicting lines in your prj.conf.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NVS=y
and
CONFIG_NVS=n
as well as 
CONFIG_PM_SINGLE_IMAGE=y
and
CONFIG_PM_SINGLE_IMAGE=n&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You should&amp;nbsp;have assigned the value for each configuration option once.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NVS=n
CONFIG_PM_SINGLE_IMAGE=n&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432588?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 20:07:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dea09ab-e8cb-4c45-8770-62114169bdcd</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;sure&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/chatDK.zip"&gt;devzone.nordicsemi.com/.../chatDK.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Serhii&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/432462?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 08:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9777bc26-c48f-4df5-b322-f3071ebc1b7d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There might be a problem with coexistence of storage partition with external flash partition. It would be useful if I could reproduce this issue. Could you make a minimal sample which I could use for this purpose?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/431560?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 16:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a6a5589-3620-49c1-9846-b5bc3158e19d</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;In version with FOTA and&amp;nbsp;&lt;span&gt;CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;when I add to&amp;nbsp;&lt;span&gt;prj.conf your&amp;nbsp;changes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;when I set CONFIG_NVS=n I have error&lt;pre class="ui-code" data-mode="text"&gt;C:\ncs\v2.3.0\nrf\include\flash_map_pm.h:41:22: error: &amp;#39;PM_storage_partition_ID&amp;#39; undeclared (first use in this function)
   41 | #define PM_ID(label) PM_##label##_ID
      |                      ^~~
C:\ncs\v2.3.0\nrf\include\flash_map_pm.h:46:35: note: in expansion of macro &amp;#39;PM_ID&amp;#39;
   46 | #define FIXED_PARTITION_ID(label) PM_ID(label)
      |                                   ^~~~~
c:\da\ncs\chat\src\mass.c:23:41: note: in expansion of macro &amp;#39;FIXED_PARTITION_ID&amp;#39;
   23 | #define STORAGE_PARTITION_ID            FIXED_PARTITION_ID(STORAGE_PARTITION)
      |                                         ^~~~~~~~~~~~~~~~~~
c:\da\ncs\chat\src\mass.c:34:36: note: in expansion of macro &amp;#39;STORAGE_PARTITION_ID&amp;#39;
   34 |         mnt-&amp;gt;storage_dev = (void *)STORAGE_PARTITION_ID;
      |                                    ^~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\nrf\include\flash_map_pm.h:41:22: note: each undeclared identifier is reported only once for each function it appears in
   41 | #define PM_ID(label) PM_##label##_ID
      |                      ^~~
C:\ncs\v2.3.0\nrf\include\flash_map_pm.h:46:35: note: in expansion of macro &amp;#39;PM_ID&amp;#39;
   46 | #define FIXED_PARTITION_ID(label) PM_ID(label)
      |                                   ^~~~~
c:\da\ncs\chat\src\mass.c:23:41: note: in expansion of macro &amp;#39;FIXED_PARTITION_ID&amp;#39;
   23 | #define STORAGE_PARTITION_ID            FIXED_PARTITION_ID(STORAGE_PARTITION)
      |                                         ^~~~~~~~~~~~~~~~~~
c:\da\ncs\chat\src\mass.c:34:36: note: in expansion of macro &amp;#39;STORAGE_PARTITION_ID&amp;#39;
   34 |         mnt-&amp;gt;storage_dev = (void *)STORAGE_PARTITION_ID;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/431553?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 15:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f40a6c9-401c-42ea-afb4-7729435801f8</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you Dejan,&amp;nbsp;I will be satisfied with this option if I can replace&amp;nbsp;shell_print to some kind of uart_tx?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To give out an msg array to the uart.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/431444?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 09:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce4a92c3-acba-473a-9b16-c1ebbaa6821f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;This may or may not be related to your issue, but due to some blocking behavior when working with USB, all shell_print statements in model_handler.c should ideally be either removed or replaced by either printk or LOG.&lt;br /&gt;&lt;br /&gt;Regarding the persistent USB storage, I have tested successfully with a following configuration changes applied to your project:&lt;br /&gt;&lt;br /&gt;prj.conf&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NVS=n 							
CONFIG_SETTINGS=n 	
CONFIG_PM_SINGLE_IMAGE=n 					
# CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x8000		
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n 				
CONFIG_BT_SETTINGS=n
CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
#CONFIG_APP_MSC_STORAGE_RAM=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;nrf52840dk_nrf52840.overlay&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;storage_partition: partition@0 {
			label = &amp;quot;storage&amp;quot;;
			#reg = &amp;lt;0x00000000 DT_SIZE_K(8000)&amp;gt;;
			reg = &amp;lt;0x00000000 0x00020000&amp;gt;;
		};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;With above-mentioned changes I could see USB disk with persistent storage after the reset.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/431003?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 11:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a49464e-19c2-4bbd-85b9-240a63c9802a</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;so far nothing has helped.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Serhii&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/430923?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 08:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22e4e1ff-c924-4722-bdf7-ab73f08e6264</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The issue might not be with any of the samples (mass and chat) independently, but with the way how they are used together. We have looked into it, and it might potentially be configuration/devicetree/partition problem.&lt;br /&gt;&lt;br /&gt;Could you provide information on how this issue is connected with your other&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99806/flashdisk_init_runtime-error--22-while-getting-page-info-usb_msc-mass_storage_init-storage-init-error---aborting-usb-init"&gt;issue&lt;/a&gt;?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You could also have a look at this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98797/mass-example-with-external-flash-not-working-with-config_bootloader_mcuboot-y"&gt;discussion&lt;/a&gt;&amp;nbsp;for some further hints.&lt;br /&gt;&lt;br /&gt;Did you have any progress related to this issue yourself? Could you provide status update from your side?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/429643?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 17:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cadc1a5-1785-461f-aea6-4036ace6a5b2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have made an internal inquiry. I will get back to you when I get more information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/429642?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 17:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5fa062-de76-49f3-b39a-48976f8c5713</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;CONFIG_APP_MSC_STORAGE_FLASH_FATFS is Kconfig option in the scope of zephyr/samples/subsys/usb/mass sample.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/429195?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 07:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c67788e-8dd3-46e0-be9f-2b5a7b1d04b1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Sergnrf"]I use CHAT + MASS&amp;nbsp;when I add I come to the example that I posted here for you[/quote]
&lt;p&gt;Thank you for providing this information. &lt;br /&gt;&lt;br /&gt;You could start with mass sample and then add the functionalities that you need to it. In this way, you could narrow down the problem to a specific change which introduces&amp;nbsp;the problem.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/428950?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 09:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de9a0729-c4dd-4b20-a980-f03d386731e4</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;I use CHAT + MASS&amp;nbsp;when I add I come to the example that I posted here for you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS</title><link>https://devzone.nordicsemi.com/thread/428923?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 08:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c3128d-cb8a-4f19-9ad9-29053a863961</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you based your project on the mass sample, you could start adding the changes one-by-one to the mass sample in order to find which one of the introduced changes breaks the storage.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>