STM32+FAT+RAM disc
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-04-14 3:01 AM
Posted on April 14, 2009 at 12:01
STM32+FAT+RAM disc
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:09 AM
Posted on May 17, 2011 at 13:09
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).Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:09 AM
Posted on May 17, 2011 at 13:09
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