This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-FlashFS (RL-ARM) and NAND Flash

Hi,

Could I use RL-FlashFS and a NAND Flash Chip? (especially MT29F2G08AADWPD chip from Micron) and if yes what about "Bad blocks management"? Is it handle by the library?

I found that I have to provide :

fs_EraseSector
fs_ProgramPage
fs_Init

but what about fs_EraseSector? because on why NAND flash I only found an erase bloc opcode. So what is a sector on my chip? is it a bloc or a group of bloc?

Another thing I don't understand is why we don't provide a read function?

Last question, I have to make the FS_FlashDev.h file but the documentation speek about "sector" but again is it block in my case?

#define SPI_FLASH_DEVICE                              \ 
   DSB(0x10000, 0x000000),     /* Sector Size 64kB */ \ 
   DSB(0x10000, 0x010000),     /* Sector Size 64kB */ \ 
…
#define SF_NSECT    32

How do I make my FS_FlashDev.h with my NAND flash wich is made of 2048 blocks of 64 pages (each page is 2048 + 64 bytes).

Jonathan BERNARD

Parents Reply Children
No data