XilFFS Library API Reference - XilFFS Library API Reference - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

The AMD Fat File System (FFS) library consists of a file system and a glue layer.

This FAT file system can be used with an interface supported in the glue layer. The file system code is open source and is used as it is. Currently, the Glue layer implementation supports the SD/eMMC interface and a RAM based file system. Application uses APIs provided in ff.h. These file system APIs access the driver functions through the glue layer.

The file system supports FAT16, FAT32, and exFAT (optional). The APIs are standard file system APIs. For more information, see http://elm-chan.org/fsw/ff/00index_e.html

Note: The XilFFS library uses R0.16 of the generic FAT filesystem module.

Library Files

The following table lists the file system files.
Table 1. File System Files
File Description
ff.c Implements all the file system APIs
ff.h File system header
ffconf.h File system configuration header – File system configurations such as READ_ONLY, MINIMAL, can be set here. This library uses FF_FS_MINIMIZE and FF_FS_TINY and Read/Write (NOT read only)

The following table lists the glue layer files.

Table 2. Glue Layer Files
File Description
diskio.c Glue layer – implements the function used by file system to call the driver APIs
ff.h File system header
diskio.h Glue layer header