<?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>nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68470/nrf52840-external-spi-nand-flash-fatfs</link><description>Dear all, 
 so far, for my external SPI NAND Flash memory chip development (Micron 256MB SLC NAND), I have been writing and reading data with my own, very basic level, flash memory library. 
 But, due to the fact that I have not implemented a solid bad</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Dec 2022 09:12:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68470/nrf52840-external-spi-nand-flash-fatfs" /><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/401443?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 09:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:726ffa58-82a5-4d98-beec-3b3593c9e7f4</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t done any progress with it since our project requirements didn&amp;#39;t need a file system as it came out due to the low number of write/erase cycles. So I kept a&amp;nbsp; bare metal implementation for now.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/401403?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 05:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c11701ac-4f3b-4a3a-8f66-6bec350076b7</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/masterlee"&gt;masterLee&lt;/a&gt;&amp;nbsp; I am also working on the same application. Did you get this working with littleFs??&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your help will be appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/336394?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62814ab4-4457-46f8-99fa-4d5a06af401b</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Hi, sorry for the delayed answer. I have paused the development with littleFS for some time now due to change of design plans.I will probably resume development at some point but I don&amp;#39;t know when yet. Either way I will update this post to let you know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/336391?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b844e311-48bb-40e2-a6e5-7e82e288bf06</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Hi, sorry for the delayed answer. I have paused the development with littleFS for some time now due to change of design plans. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/336298?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 20:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ec2ee64-a0e8-43a0-987e-14b62e582c81</guid><dc:creator>AustinEngineer</dc:creator><description>&lt;p&gt;Hi @masterLee did you get this working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/327871?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 03:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b9ad6d-fddd-4fe1-8077-e1f2b64f11be</guid><dc:creator>coyodha</dc:creator><description>&lt;p&gt;Hi masterLee,&lt;/p&gt;
&lt;p&gt;I am interested in this.&lt;/p&gt;
&lt;p&gt;Have you tried getting it working with littlefs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/281284?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 10:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d08048-0a96-4ba4-955b-56600b7fea47</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome, if you&amp;nbsp;get the example running&amp;nbsp;and share it here it would be appreciated &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/281277?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 10:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945a833b-486d-4e77-8075-4c663057cf6a</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;ok I will try it and if it goes well I will post an example for it.&lt;/p&gt;
&lt;p&gt;Thank you for your time and support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/281274?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 10:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e53e798-bc7c-4c54-ab1f-42e669267234</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is the same library as the one used in Zephyr, yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should be possible to integrate with the nRF5 SDK, but it is not something we have tried or have any examples for.&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: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/281093?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 12:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d0720f3-bd8b-4185-bcb1-e030e136721d</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I checked it and, If I get it right, think I can use it as a separate third party library in my project.&lt;/p&gt;
&lt;p&gt;Please check the following link &lt;a href="https://github.com/littlefs-project/littlefs"&gt;https://github.com/littlefs-project/littlefs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/281074?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 10:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d45f304-2586-4ebd-8184-37ff6d9d4929</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As you may or may not know we are slowly moving to a different software architecture called NCS (nRF Connect SDK), based on the Zephyr RTOS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In Zephyr there is a file system called littlefs that includes wear levelling, and is suited for using external flash devices:&lt;br /&gt;&lt;a href="https://docs.zephyrproject.org/latest/samples/subsys/fs/littlefs/README.html"&gt;https://docs.zephyrproject.org/latest/samples/subsys/fs/littlefs/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately migrating to NCS is probably not the best idea if you&amp;#39;re short on time, as there is no easy way to port a project from the nRF5 SDK to NCS.&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: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/280796?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 09:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53726c9d-3e4d-4847-9ea3-4f92c5d379c3</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;The device I use is the MT29F2G01 (256MB) flash and in the near future I will move to MT29F8G01(1GB) flash.&lt;/p&gt;
&lt;p&gt;For now I use my own custom drivers for accessing the memory which works rather well BUT my main issue is the bad block management and wear leveling. I have created a basic mechanism for bad block management but I would like to find something much more tested. The thing is that I am on a hurry for my next project and time for low level debugging is a luxury at this point unfortunately. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Micron gives a package with drivers but it seems to me so messed up and with very insufficient commenting that is why I decided to make my own driver in the first place where things are much more straightforward.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 + External SPI NAND FLASH + FATFS</title><link>https://devzone.nordicsemi.com/thread/280672?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 15:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b9e18df-c4f9-42d6-b113-d2647b4c68d6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. No, as you have found there is no bad block management or wear leveling built into the fatFS driver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. The flash drivers in the nRF5 SDK have not been tested for use with any NAND flash devices.&amp;nbsp;&lt;br /&gt;Do you have any documentation for the device you are thinking of using?&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></channel></rss>