<?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>flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>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</link><description>Hi Team, NCS v2.3.0 nrf52840 
 MASS example works. 
 I am trying to add support mass storage to example CHAT. I copied the settings prj.conf,Kconfig. 
 00&amp;gt; *** Booting Zephyr OS build v3.2.99-ncs2 *** 00&amp;gt; [00:00:00.002,319] &amp;lt;inf&amp;gt; flashdisk: flashdisk_init_runtime</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jul 2023 19:26:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" 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" /><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/439126?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 19:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bafe7ab-8fd6-4178-9cb4-f4bae31f7545</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Here is the&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11802"&gt;pull request&lt;/a&gt;&lt;span&gt;&amp;nbsp;for disk access support.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thank you for your patience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/431325?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd4ad6d-5c64-4523-93d2-b70bbf704b31</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Thanks for the feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The root cause is i&lt;span&gt;f the partition manager is used, then there is a chance that the storage_partition gets redirected to some littlefs_storage partition placed on the internal SoC. The team is working on it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/431229?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 11:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede17bc3-8920-48bc-b09b-315f74be1264</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Perhaps it will be easier to solve the problem if&amp;nbsp; partition the external flash drive into sections?&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Serhii&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/431084?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 16:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec4a1c2-290d-4ddf-8839-a85ca74f3e76</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The team is looking into the issue, but no promised schedule to fix it. Sorry for the inconvenience.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/431082?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 16:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de6f432b-930a-4743-bdd7-c4484515c2ea</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;br /&gt;yes I &lt;span&gt;checked&amp;nbsp;&lt;/span&gt;it works well.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;//However, as soon as you reset/power down the device you will lose all mesh configuration.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It doesn&amp;#39;t suit us,&amp;nbsp;as I understand it, you found the problem, when will there be a full-fledged fix?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Best regards,&lt;br /&gt;Serhii&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/431050?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 14:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a3e1aeb-f9d1-43ae-99aa-01e88d81d406</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you test this project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/chat_5F00_support_5F00_case.zip"&gt;devzone.nordicsemi.com/.../chat_5F00_support_5F00_case.zip&lt;/a&gt;&amp;nbsp;provided by the team? In this project, the configuration disables the settings feature in Mesh.&amp;nbsp; With that, you will be able to use USB, provision the mesh device, etc. However, as soon as you reset/power down the device you will lose all mesh configuration.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1686751025595v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;
&lt;div&gt;
&lt;dl&gt;
&lt;dd&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/427318?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 17:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b955882-6bb8-4e57-a55c-33346ec9480e</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span&gt;you set CONFIG_APP_MSC_STORAGE_RAM=y&lt;br /&gt; my project also works with RAM but I need&amp;nbsp;&lt;/span&gt;&lt;/span&gt;FLASH_FATFS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/427297?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 15:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6556c726-e996-47a1-9cda-1750d4fcb288</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please test this project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/chatDK_5F00_update_5F00_0524.7z"&gt;devzone.nordicsemi.com/.../chatDK_5F00_update_5F00_0524.7z&lt;/a&gt; and let me know if it can work for you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt;&amp;gt;&amp;gt; Bluetooth Mesh Chat sample &amp;lt;&amp;lt;&amp;lt;
Mount /RAM:: 0
/RAM:: bsize = 512 ; frsize = 512 ; blocks = 158 ; bfree = 158
/RAM: opendir: 0
End of files
Initializing...
[00:00:00.062,957] &amp;lt;inf&amp;gt; fs_nvs: nvs_mount: 8 Sectors of 4096 bytes
[00:00:00.062,957] &amp;lt;inf&amp;gt; fs_nvs: nvs_mount: alloc wra: 0, fd0
[00:00:00.062,988] &amp;lt;inf&amp;gt; fs_nvs: nvs_mount: data wra: 0, 1c
[00:00:00.063,659] &amp;lt;inf&amp;gt; bt_sdc_hci_driver: hci_driver_open: SoftDevice Controller build revision: 
                                            d8 0c 2d 2f 36 ae e2 5c  80 26 80 4c 3f 4d 16 53 |..-/6..\ .&amp;amp;.L?M.S
                                            50 96 c7 73                                      |P..s             
[00:00:00.066,711] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.066,741] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Variant: nRF52x (0x0002)
[00:00:00.066,802] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 216.11532 Build 3803067951
[00:00:00.067,199] &amp;lt;inf&amp;gt; bt_hci_core: bt_init: No ID address. App must call settings_load()
Bluetooth initialized
[00:00:00.072,906] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: Identity: EA:99:19:7D:AC:FD (random)
[00:00:00.072,937] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: HCI: version 5.3 (0x0c) revision 0x124b, manufacturer 0x0059
[00:00:00.072,967] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: LMP: version 5.3 (0x0c) subver 0x124b
[00:00:00.073,211] &amp;lt;inf&amp;gt; bt_mesh_prov_device: bt_mesh_prov_enable: Device UUID: f2728b15-7533-78a8-0d4d-74ea8acc8717
Mesh initialized
uart:~$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will be out of the office until next Tuesday, so you will not get a reply until that.&amp;nbsp; If you are urgent, please create a new support case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/427188?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 10:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e16d9a-9c24-4418-9544-bfab3e6a8428</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I still hope for your help.&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426362?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 15:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b38e0304-7d50-4226-a6c7-a8e1bae5311f</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;all the same errors in RTT,&amp;nbsp;nothing changed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426355?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 15:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a7503d7-5de3-4031-b3e1-761930726769</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see there are two warrings while building your project&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;../src/main.c: In function &amp;#39;main&amp;#39;:
../src/main.c:60:9: warning: implicit declaration of function &amp;#39;setup_disk&amp;#39; [-Wimplicit-function-declaration]
   60 |         setup_disk();
      |         ^~~~~~~~~~
../src/main.c:61:15: warning: implicit declaration of function &amp;#39;usb_enable&amp;#39;; did you mean &amp;#39;bt_enable&amp;#39;? [-Wimplicit-function-declaration]
   61 |         err = usb_enable(NULL);
      |               ^~~~~~~~~~
      |               bt_enable&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To fix them, I create&amp;nbsp;&lt;span&gt;mass.h and include it and&amp;nbsp;zephyr/usb/usb_device.h. Also, update the checklist to include&amp;nbsp;mass.h.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426161?ContentTypeID=1</link><pubDate>Thu, 18 May 2023 16:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb38bc7e-faf4-4601-8d1d-3794f9dabeb9</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;sure&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/chatDKmass.zip"&gt;devzone.nordicsemi.com/.../chatDKmass.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426160?ContentTypeID=1</link><pubDate>Thu, 18 May 2023 15:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fca3572a-ce34-4e7e-8c69-1ae14d79f556</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Sergnrf"]MASS example works[/quote]
&lt;p&gt;I only see the MASS shown as a portable device and cannot be formatted. Could you provide your worked&amp;nbsp;&lt;span&gt;MASS example for the test?&lt;/span&gt;&lt;/p&gt;
&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/pastedimage1684423184583v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is it possible also to provide your&amp;nbsp;&lt;span&gt;CHAT example combined with the MASS example?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426097?ContentTypeID=1</link><pubDate>Wed, 17 May 2023 19:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfefa319-fc9f-466d-a263-5afce0c75fae</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;span&gt;MASS example works,&amp;nbsp;how to combine it with the CHAT example so that it works?&amp;nbsp;&lt;br /&gt;CHAT example&amp;nbsp;this is the development of Nordic.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/426096?ContentTypeID=1</link><pubDate>Wed, 17 May 2023 18:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f9fc2d-3619-41b0-bd85-70cd5e528164</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Since the mass sample is provided by Zephyr, you can ask &lt;a href="https://discord.com/invite/Ck7jw53nU2"&gt;Zephyr Discord&lt;/a&gt;. Maybe the feature is not supported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/425989?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 18:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46cdac6e-d93d-454d-8379-26d663dcbcdc</guid><dc:creator>Sergnrf</dc:creator><description>&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-node/ &amp;amp;storage_partition;

&amp;amp;mx25l256 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		storage_partition: partition@0 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x00000000 DT_SIZE_K(32000)&amp;gt;;
		};
	};
};

/ {
	msc_disk0 {
		compatible = &amp;quot;zephyr,flash-disk&amp;quot;;
		partition = &amp;lt;&amp;amp;storage_partition&amp;gt;;
		disk-name = &amp;quot;NAND&amp;quot;;
		cache-size = &amp;lt;4096&amp;gt;;
	};
};&lt;/pre&gt;&lt;br /&gt;DT_SIZE_K(32000)&amp;nbsp;I change to&amp;nbsp;&lt;span&gt;0x00020000&amp;nbsp;and the error goes away but the disk doesn&amp;#39;t work at all.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;I set CONFIG_APP_MSC_STORAGE_RAM&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;the disk appears but windows says disk cannot be formatted.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3857.chat.zip"&gt;devzone.nordicsemi.com/.../3857.chat.zip&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashdisk_init_runtime: Error -22 while getting page info, usb_msc: mass_storage_init: Storage init ERROR !!!! - Aborting USB init</title><link>https://devzone.nordicsemi.com/thread/425967?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 17:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4853c751-c074-46e1-aafc-3ba64c703670</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]00&amp;gt; [00:00:00.002,838] &amp;lt;err&amp;gt; flashdisk: flashdisk_init_runtime: Error -22 while getting page info[/quote]
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-22 means EINVAL,&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;page at offs or idx doesn&amp;#39;t exist.&amp;nbsp;Try to copy mass/board/&lt;/span&gt;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/samples/subsys/usb/mass/boards/nrf52840dk_nrf52840.overlay"&gt;nrf52840dk_nrf52840.overlay&lt;/a&gt;&amp;nbsp;to the target project.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[quote user=""]00&amp;gt; [00:00:00.003,509] &amp;lt;err&amp;gt; fs: fs_mount: fs mount error (-5)[/quote]
&lt;p&gt;Try to add&amp;nbsp;&lt;span&gt;CONFIG_APP_MSC_STORAGE_RAM&lt;/span&gt;&lt;span&gt;=y in the prj.conf. If this cannot work, please upload the&amp;nbsp;prj.conf.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>