File System Architecture
The CONNECT File System architecture (shown above) is designed in a modular fashion that allows it to support multiple different storage I/O devices, and has been optimised for tight integration with OPENRTOS or SAFERTOS.
FAT16/FAT32 File System
The File System layer implements the FAT16/FAT32 protocol. This layer translates the file operations to block I/O requests and forwards it to the corresponding Storage I/O Device driver. This layer also manages dynamic attachment/removal of storage devices.
File System API
The File System API layer provides two interfaces to the applications. One is a POSIX interface that provides standard file API functions such as fopen(), fread(), fwrite() and fclose() etc., The second is a Native interface that provides non-standard API for operations like directory management and file system management.
Storage Media Driver
The Storage Media Driver is a hardware dependent driver for the file system software stack. It provides low level I/O functions allowing the rest of file system to access the storage devices for accessing NAND/NOR/SD/MMC and RAM Disk devices.