2009-04-14 03:01 AM
STM32+FAT+RAM disc
2011-05-17 04:09 AM
Hi everyone!
Maybe someone did a project where there was support for FAT with a RAM (RAM disc)? I mean not memory cards (SD, MMC).2011-05-17 04:09 AM
To accomplish this, one can simply use DosFS and instead of remapping the ''DosFS_Read/Write'' to ''SDIO_Read/SDWrite'', just use any function you have to interface to your external memory (FSMC?).
You probably understand that the only advantage of FAT(16/32) is portability to Windows machines? If you want to read or write data to ram, in an organised way, why not use a simple table like: [FileNumber, PartNumber, AdressStart, AdressStop] Where you can write to a large buffer, update the file end. If you are writting to an older file, then you can use the part number to implement a fragmentation management. Hope this helps. -Relaxe