<?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>Read only mass storage application using External NOR Flash Drive</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38473/read-only-mass-storage-application-using-external-nor-flash-drive</link><description>I have an application where a unit contains a nrf52840 and will act as a central device, collect the data from peripheral device and store into the onboard memory. Upon the completion of the collection,The data must be fetched from the unit using a USB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 13:33:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38473/read-only-mass-storage-application-using-external-nor-flash-drive" /><item><title>RE: Read only mass storage application using External NOR Flash Drive</title><link>https://devzone.nordicsemi.com/thread/149062?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 13:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d18403b-90d1-43a2-8326-3d66cd652b95</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, that is true. The SDK does not have any example&amp;nbsp;where you can dynamically change between read-only and writable. Perhaps there are other file system implementations that make it easier, but I don&amp;#39;t know of any.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only mass storage application using External NOR Flash Drive</title><link>https://devzone.nordicsemi.com/thread/148863?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 16:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3fcfc32-d6a3-4b3b-8629-01895718ac28</guid><dc:creator>Kishan Patel</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;Since its a global def, If I set the _FS_READONLY,&amp;nbsp; I wouldn&amp;#39;t have any access to write functions. I want to write to the filesystem locally when its not mounted, and only do read only when its mounted as USB mass storage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only mass storage application using External NOR Flash Drive</title><link>https://devzone.nordicsemi.com/thread/148725?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 07:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68cb604c-aa49-4c49-84cb-c79a064a1481</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/usbd_msc_example.html?cp=4_0_0_4_5_50_7"&gt;USB MSC Example&lt;/a&gt;&amp;nbsp;demonstrates most of what you describe here. It can use both internal flash memory, and (more relevant in your case) external flash memory via QSPI. I do not have experience with the&amp;nbsp;MX66L2G45G, but I would be surprised if you run into significant problems. The example is not read-only, but that is supported by the underlying &lt;a href="http://elm-chan.org/fsw/ff/00index_e.html"&gt;FatFs&lt;/a&gt;&amp;nbsp;by setting the&amp;nbsp;_FS_READONLY define in ffconf.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>