Re: NAND Flash supported Board suggestion

2024-05-30 Thread Sebastien Lorquet
Hello, Yes, the inability to write individual bits in already programmed sectors is a HUGE constraint. We have flash like this in some high security embedded products, and it required a full redesign of our flash interface. Wear leveling is doable, but the particular bit that made us think

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Xiang Xiao
On Mon, May 27, 2024 at 4:00 AM Gregory Nutt wrote: > There is some brief information about dhara here: > https://github.com/dlbeer/dhara . It is an FTL that provides many of the > features described previously: > > * Wear leveling, > * Hardware/software EEC > > It does not appear to do > >

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Gregory Nutt
There is some brief information about dhara here: https://github.com/dlbeer/dhara . It is an FTL that provides many of the features described previously: * Wear leveling, * Hardware/software EEC It does not appear to do * Bad block detection * Marking of bad blocks The nicest thing is th

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Alan C. Assis
I found the discussion in the thread "W25Nx NAND flash support" I think they gave up submitting support after some bad criticism from a user! Best Regards, Alan On Sun, May 26, 2024 at 4:00 PM Saurav Pal wrote: > Hi all, > > Thank you for the knowledgeable insights! > > Regards, > Saurav Pal

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Saurav Pal
Hi all, Thank you for the knowledgeable insights! Regards, Saurav Pal On Sun, 26 May, 2024, 18:03 Alan C. Assis, wrote: > It is at drivers/mtd/dhara.c > > Unfortunately NuttX is full of "hidden features", that is something that I > try to avoid during the code view: > > All new features needs

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Alan C. Assis
It is at drivers/mtd/dhara.c Unfortunately NuttX is full of "hidden features", that is something that I try to avoid during the code view: All new features needs proper Documentation/ I think YAFFS was discussed here sometime ago, but I don't remember all the details. I had the impression that

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Nathan Hartman
On Sat, May 25, 2024 at 8:58 PM Gregory Nutt wrote: > > Seems like dhara.c was integrated into mainline, but they didn't submit > > support to YAFFS (if I remember correctly it was because YAFFS requires > > license payment for commercial usage). > > There no references to either under fs/. > > T

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Gregory Nutt
Seems like dhara.c was integrated into mainline, but they didn't submit support to YAFFS (if I remember correctly it was because YAFFS requires license payment for commercial usage). There no references to either under fs/. The YAFFS website is not responding.  This is what I get about licensin

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Alan C. Assis
Thank you Greg for clarifying! I think Xiang Xiao and guohao15 also worked with NAND recently (DHARA and YAFFS). Seems like dhara.c was integrated into mainline, but they didn't submit support to YAFFS (if I remember correctly it was because YAFFS requires license payment for commercial usage).

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Gregory Nutt
> Mr. Greg Nutt implemented it for Atmel about 10 years ago, but if I > remember correctly, he never got it well tested because there is no FS for > NAND on NuttX. I did test the FS's that were available and they mostly worked on these platforms.  I could actually run nxffs and smartfs for a l

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Alan C. Assis
Hi Saurav, AFAIK, the only MCUs with NAND Flash controllers supported on NuttX are samv3 and sama5. Mr. Greg Nutt implemented it for Atmel about 10 years ago, but if I remember correctly, he never got it well tested because there is no FS for NAND on NuttX. I think if you decide to use an SPI NA

NAND Flash supported Board suggestion

2024-05-24 Thread Saurav Pal
Hi all, I'm working on creating a file system for NAND Flash for NuttX as part of GSoC '24. I would be thankful of any suggestions that you might have for the type of board that I should use and the NAND flash as well. Thank you in advance. Regards, Saurav Pal