<?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>USBD_MSC example and porting custom FW to PCA10056 issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90543/usbd_msc-example-and-porting-custom-fw-to-pca10056-issue</link><description>I am using the nRF52840 DK (PCA10056 2.0.1) with SDK v17.0.2 + s140_7.2.0 and am having trouble with the USBD_MSC example. When plugged into my Win 10 PC, three drives show up. Two are 190KB drives and one is the correct 8MB drive. The 190KB drives cannot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Aug 2022 21:24:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90543/usbd_msc-example-and-porting-custom-fw-to-pca10056-issue" /><item><title>RE: USBD_MSC example and porting custom FW to PCA10056 issue</title><link>https://devzone.nordicsemi.com/thread/379778?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 21:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900fe91f-c88b-4406-80de-3406ff3cbad9</guid><dc:creator>Tosa</dc:creator><description>&lt;p&gt;Hi Einar, I forgot to change&amp;nbsp;QSPI_CONFIG_ADDRMODE in sdk_config.h to 24bit. Anyhow, thanks for your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD_MSC example and porting custom FW to PCA10056 issue</title><link>https://devzone.nordicsemi.com/thread/379577?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 14:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57973393-eeeb-4824-900b-c5f785649a19</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The 8 MB drive is the external flash. The 190 kB RAM drive should also be formattable from Windows, and is so when I test. However, the empty drive (search for&amp;nbsp;m_block_dev_empty in the main.c of the example) cannot be formatted, and it is not really meaningful. The RAM disk is also of limited value, so unless it is relevant for you I would strip away&amp;nbsp;m_block_dev_ram and related code from the example also, so that you are left with the drive that is on the external QSPI flash.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding&amp;nbsp;&amp;nbsp;&lt;/span&gt;FR_NO_FILESYSTEM that indicates no FAT filesystem, and you write you get an error when formatting, but I cannot see from here what the issue was.&amp;nbsp; As I understand you got the 8 MB drive (which is the only flash drive) in the sample working, so it could be interesting to compare your code with the example? And perhaps also your changes to port your app to the DK against the code that is working your your custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>