We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
Am I going mad? I have the RealView-MDK ARM dev system with the RTOS and TCP/IP package. Included in that is a FAT implementation for Flash devices.
I have an SPI DataFlash (AT45DB321D) which is working fine. Read/Write/Erase etc all tested and functioning.
I now want to use the FAT Filesystem on the dataflash device. However after poking through all the FAT code, it appears it will only work on MMC/SD devices? Or am I missing something?
Any advice would be appreciated.
Thanks
Chris
Also in File_Config.h there is a #ifdef block which fills the FAT functions with null functions (right at the end), if the Memory Card Device support is not included. I don't have a memory card, but I do want to use FAT...What gives?
I'm sorry, but I just don't know. I'd need the code and documentation in front of me to make any more guesses. If it's annoying you now drop Keil a line - I'll bet it's something small that will only be obvious with hindsight!
Did you implement the fs_spi_ProgramPage() function and the FS_SPI_FlashDev.h header?
www.keil.com/.../rlarm_fs_cfgspiflash.htm
www.keil.com/.../rlarm_fs_spicfgprogf.htm
www.keil.com/.../rlarm_fs_spi_flashprg_c.htm