Compact FAT FileSystem for Rabbit-based products

The Z-World FAT (File Allocation Table) file system to be used with serial flash memories. The small footprint of this well defined, industry-standard file system makes it ideal for embedded systems. This Dynamic C implementation of the FAT file system has a directory structure that can be accessed with either Unix or DOS style paths, and is compatible with Z-World removable media products and products using non-removable serial flash such as the RCM3700 and RCM3300. The standard directory structure allows for monitoring, logging, Web browsing, and FTP updates of data and applications contained in the files. A battery-backed write-thru cache reduces wear on the serial flash device and a round-robin cluster assignment spreads the wear over the device.

The FAT library can be used in either blocking or non-blocking mode and supports both FAT12 and FAT16.

The following table shows the API functions that are included in the FAT module:

Function Category Function Names
Device and
partition operations
fat_Init
fat_EnumDevice
fat_EnumPartition
fat_FormatDevice
fat_FormatPartition
fat_PartitionDevice
fat_MountPartition
fat_UnmountPartition
File operations
fat_Close
fat_CreateFile
fat_Delete
fat_Open
fat_Read
fat_Truncate
fat_Write
fat_xWrite
Directory operations
fat_CreateDir
fat_OpenDir
fat_ReadDir
 
Status operations
fat_Free
fat_FileSize
fat_GetAttr
fat_GetName
fat_SetAttr
fat_Status
Administrative
fat_CreateTime
fat_LastAccess
fat_LastWrite
fat_SyncFile
fat_SyncPartition
fat_tick

More information:
FAT Manual (471 Kbyte PDF)