<?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>nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77434/nrf5340-use-fatfs-filesystem</link><description>I have successfully ported the fatfs file system to my application code, but copying the files is very slow. I&amp;#39;m trying to modify the mass_storage.c file,follwing is my code 
 Although my changes will speed up file copying, I am running out of RAM space</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Aug 2021 08:55:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77434/nrf5340-use-fatfs-filesystem" /><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/325428?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 08:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:215dc6b2-9854-4ad6-ac17-552c4dbb5fe5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What kind of host device do you use to send the data?&lt;/p&gt;
&lt;p&gt;Looking at your changes, I see you configure the buffer to 70000 in size. Any particular reason you chose this number?&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t you also get a speed improvement if you picked a number that is a multiple of the BLOCK_SIZE, but smaller than 70000?&lt;/p&gt;
&lt;p&gt;Say 16384?&lt;/p&gt;
&lt;p&gt;Then you should reduce RAM usage, while still providing a larger buffer for the flash operations.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/324739?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 02:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94d2601a-7fca-47c5-a27d-2e816dff7878</guid><dc:creator>tianwanjie</dc:creator><description>&lt;p&gt;&lt;span&gt;The &lt;em&gt;&lt;span class="skip"&gt;communication&amp;nbsp;&lt;/span&gt;&lt;/em&gt;speed&amp;nbsp;between soc and nor flash is 32M, and I&amp;#39;ve already grabbed it through the logic analyzer&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/324633?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 10:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3967f1ce-2cdc-4f5f-863b-2a0c4ebb3141</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Have you tried probing the interface between the SoC and the storage device, to see whether there is much activity?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/324093?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 22:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba3ee6c-8028-41af-b789-3f3a9e9fb802</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I will be looking into this issue over the next few days.&amp;nbsp;We do not yet have any answer for you. As Simon mentioned, many key engineers are still on vacation, so please expect a delayed answer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/322733?ContentTypeID=1</link><pubDate>Sat, 31 Jul 2021 02:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae20854-74af-4956-bc3c-2ddfefe5cd8e</guid><dc:creator>tianwanjie</dc:creator><description>&lt;p&gt;Is there any conclusion&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/320600?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 05:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6564790-c8ab-4045-b309-d288fb185148</guid><dc:creator>tianwanjie</dc:creator><description>&lt;p&gt;this is my configuration,when i test it takes me 15minutes copy 7MB files to extern nor flash,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/fatfs_5F00_test.rar"&gt;devzone.nordicsemi.com/.../fatfs_5F00_test.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/320585?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 02:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5184c94e-1da9-469c-8e42-cea2ef5cf7d4</guid><dc:creator>tianwanjie</dc:creator><description>&lt;p&gt;&lt;span&gt;You can&amp;#39;t use our configuration, our external NOR Flash is not the same as the NOR Flash on the DK board, we refer to the routine&amp;nbsp; path is &amp;ldquo;v1.5.1-dev\zephyr\samples\subsys\usb\mass\src\main.c&amp;quot;&amp;nbsp; , you can download to the DK board, then copy a 7MB file to see the file transfer speed&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/320417?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 11:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0e0d9d-4048-4621-94ea-931a3c5b6060</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the delay on this, I&amp;#39;ll look into this. A huge part of the support team is on summer vacation, and you may expect delayed answer.&lt;/p&gt;
&lt;p&gt;Could you upload your application as a zipped file (prj.conf, overlay files, main.c etc..), such that I can test it myself.&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><item><title>RE: nrf5340 use fatfs filesystem</title><link>https://devzone.nordicsemi.com/thread/319916?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 02:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0c1b659-16af-4b53-90fb-4246b6ce0d59</guid><dc:creator>tianwanjie</dc:creator><description>&lt;p&gt;&lt;span&gt;Please help to solve it&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>