Hi,


thank you all for your inputs and links. I will take a look into it.

Best regards,
Michal Lenc

---------- Původní e-mail ----------
Od: Simon Filgis <si...@ingenieurbuero-filgis.de>
Komu: dev@nuttx.apache.org
Datum: 25. 2. 2023 14:43:33
Předmět: Re: W25Nx NAND flash support
"Hi Michael,

In addition, if you want to load your elf directly to the memory mapped 
flash storage, you need some flashloader for your debug tool. I can help 
with segger's flashloader if that is of interest. (dsk)
https://www.segger.com/products/debug-probes/j-link/technology/j-link-dsk/

Simon

--
Ingenieurbüro-Filgis
USt-IdNr.: DE305343278
--
sent by mobile phone

Alan C. Assis <acas...@gmail.com> schrieb am Sa., 25. Feb. 2023, 14:29: 

> Hi Michal,
>
> There is some discussion about it here:
> https://www.mail-archive.com/dev@nuttx.apache.org/msg04981.html
>
> and here:
> https://lists.apache.org/thread/kh5t6fn24q97d3qxzthksld4l3jtw27c
>
> In a nutshell:
>
> 1) If parallel NAND Flash is used your MCU will need first the NAND
> Flash controller driver. SPI and QSPI NAND are different story;
> 2) NuttX needs the basic NAND Bad-Block search function infrastructure 
> (look nand_devscan() is not updating the bad-block table)
> 3) NuttX needs a File System able to handle NAND Flash
>
> Currently there is no FS on NuttX able to handle NAND.
> So you can port the CHFS from NetBSD or take a look at dhara
> (https://github.com/dlbeer/dhara).
>
> Maybe LittleFS or SmartFS could be extended to handle NAND.
>
> BR,
>
> Alan
>
> On 2/25/23, Michal Lenc <michall...@seznam.cz> wrote:
> > Hello,
> >
> >
> >
> > I am looking into usage of w25nx NAND flash communicating over QSPI. 
What
> > is
> > the current support of NAND flash memories in NuttX? I found out some 
> > warnings in drivers/mtd/README.txt regarding the lack of a file system
> that
> >
> > could handle NAND memories but I am not sure if they are still actual or

> > those problems were solved. There are some header files and source code
> > files for NAND memory support but some of them seem to be incomplete 
> (like
> > nand_initialize() function for example
> > https://github.com/apache/nuttx/blob/
> > master/include/nuttx/mtd/nand.h#L105).
> >
> >
> >
> >
> > Would the implementation of w25nx flash require some further involvement

> in
> >
> > file system support or just the implementation of w25nx driver itself 
> > (similar to already implemented w25q NOR flash)?
> >
> >
> >
> >
> > Thanks.
> >
> > Best regards,
> > Michal Lenc
> >
>
"

Reply via email to