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

Flash File system in SPI flash device

i have developed a LPC2388 based board which has an SPI Flash memory Chip. This Memory will be used as the USB MSC storage media.
Also I want to put the FAT file system in this flash mem,and access the files stored. For this i am planning to use the KEIL RL-FlashFS Library.
First of all,I want to know whether i can do all the above things. Has anybody worked on the RL_flashFS? What are the functions to be called to initialise the FAT file system in the SPI flash mem? i have tried using finit() and fformat()but the memory seems to be still uninitialised and i am not able to use the fopen / fclose function. the Controller justs hangs.
I have made all the required changes for SPI flash mem access,fs_spi_ProgramPage() function and the FS_SPI_FlashDev.h header and the necessary changes in File_Config.h.Am i missing something?
Please help
Thanks,
Vinaya

0