<?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>SPI NOR FLASH with FatFS in nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89586/spi-nor-flash-with-fatfs-in-nrf52832</link><description>Hi everyone! 
 I am working on a project where I have to store files inside a FLASH coming from a GATT server , and be able to manage them through FAT in a GATT client . The part of sending and receiving data through BLE works correctly. 
 I am using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jul 2022 15:54:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89586/spi-nor-flash-with-fatfs-in-nrf52832" /><item><title>RE: SPI NOR FLASH with FatFS in nRF52832</title><link>https://devzone.nordicsemi.com/thread/376061?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 15:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43bbe214-8445-4a7a-8ab5-84785975a6e7</guid><dc:creator>HerreraVanHalen </dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;Ok, right now I&amp;#39;m taking the course on &lt;strong&gt;DevAcademy&lt;/strong&gt;, once I finish the course I&amp;#39;ll start migrating my app to the &lt;strong&gt;nRF Connect SDK&lt;/strong&gt; and modifying the&lt;strong&gt; FS examples (FATFS and littlefs)&lt;/strong&gt; to work with &lt;strong&gt;Serial NOR FLASH&lt;/strong&gt;. If I have any problem I will let you know through this ticket.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your time,&lt;br /&gt;&lt;br /&gt;Fernando&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI NOR FLASH with FatFS in nRF52832</title><link>https://devzone.nordicsemi.com/thread/375449?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 06:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379fd5e2-83c0-46a9-ac8e-a8df29c61566</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The fatfs driver and library for the nRF5 SDK won&amp;#39;t be updated/supported and is only in maintenance mode, as we have shifted our focus to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;, so our recommendation would be to move to the nRF Connect SDK for any new projects in general, as that is the SDK that will be supported, updated and have the latest bug fixes.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re new to working with the Zephyr RTOS I would recommend checking out the &lt;a href="https://academy.nordicsemi.com/"&gt;DevAcademy &lt;/a&gt;that will get you started and up and running with the nRF Connect SDK. We also have &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/fs/fs.html"&gt;FS sample applications&lt;/a&gt; both for FATFS and littlefs for a place to start out with your file system application.&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: SPI NOR FLASH with FatFS in nRF52832</title><link>https://devzone.nordicsemi.com/thread/375435?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 03:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb8f7222-214c-4d73-88f3-f90a84cc8162</guid><dc:creator>HerreraVanHalen </dc:creator><description>&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;Hi Simon!&amp;nbsp;&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We have an android application, where we create files and then send them via BLE from a GATT server (APP) to a GATT client (nRF52832).&lt;/p&gt;
&lt;p&gt;Our GATT Client is the nRF52832 chip, once the data is received by the GATT Client (Files), the nRF52832 has to store them in FLASH in the form of a file, since we need to be able to read, write and delete files.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Is this a requirement for your project? &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Yes, we need a filesystem that mounts to NOR FLASH properly, and FatFS seems like the best alternative. The fastest solution would be to use SD, but we want to optimize costs, and we are not going to use a lot of storage capacity (Not for now), we intend to use a NOR FLASH of 4MB and a maximum of 8MB.&lt;/p&gt;
&lt;p&gt;We have projects with USB and FATFS mounted on SPI NOR FLASH working properly with Microchip&amp;#39;s PIC32MX family using the Harmony V3 framework, I tried migrating the code to nRF52832 but was unsuccessful, it doesn&amp;#39;t work properly.&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;What do you recommend?&amp;nbsp;Thanks for your time.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Fernando&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI NOR FLASH with FatFS in nRF52832</title><link>https://devzone.nordicsemi.com/thread/375334?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 13:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a1a0af-cef5-4371-bbd6-62e3d13fdc30</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is there a specific reason you&amp;#39;re using FatFS instead of the standard SPI driver for the device you&amp;#39;re using as an external flash? The FatFS module is rather old and contain a few bugs that are hard to do something about, and it will likely be much easier to use the SPI &amp;quot;as intended&amp;quot; instead of forcing a FatFS onto it. Is this a requirement for your project? If not I think it would save you a lot of sweat and tears to drop it.&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></channel></rss>