AM64x MCU+ SDK  08.02.00
FreeRTOS+FAT File System

Introduction

FreeRTOS+FAT is an open source, thread aware and scalable FAT12/FAT16/FAT32 DOS/Windows compatible embedded FAT file system for use with and without the RTOS. In the current integration, only the NO-RTOS form of the library is supported. The FreeRTOS support will be added in a subsequent release. Please refrain from using the FreeRTOS+FAT ported layer for file operations in an RTOS environment as the APIs will not be thread safe.

In this SDK, FreeRTOS+FAT is integrated to work with the MMCSD driver. The porting layer supports any device (SD/eMMC) connected to the MMCSD ports 0 or 1. There is SysConfig support for the FreeRTOS+FAT integrated module. So, to use the FreeRTOS+FAT in your application, just add the FreeRTOS+FAT module under FILE SYSTEMS in the SysConfig. It will automatically add an MMCSD instance. The underlying media can be selected in the FreeRTOS+FAT SysConfig config. Currently "SD" and "EMMC" can be selected.

Since the NO-RTOS version of the library is integrated, FreeRTOS+FAT is also used in the Secondary Bootloader application which uses SD card as boot media. You can refer to these examples here for API usage. Most of the initialization is done by the Sysconfig itself.

For the full FreeRTOS+FAT API reference, please refer to the below table.

Additional References

Website Link Description
FreeRTOS+FAT File System Complete documentation of the FreeRTOS+FAT file system and API references