Resource Usage
The file system is designed to fit many kinds of embedded design requirements. Several features can be excluded from build to get a minimal system that can efficiently access any FAT media. In the following section memory usage for different typical 16 and 32- bit systems is listed.
Please note that the values are valid for the given approximate values. Features can affect the size of others. For example if FAT32 is deactivated, the format function gets smaller because the 32 bit specific part of format is not added into the compilation.
This minimal configuration supports FAT12/16, but has no media format features, no directory support, no free disk space function and only one file can be opened at a time.
16-bit CPUs
System
| Detail | Description |
|---|---|
| CPU | M16C |
| Tool chain | IAR Workbench for M16C V2.12A |
| Memory Model | Data model: Near pointer; Constants: near memory |
| Compiler options | Highest size optimization |
| Device driver | MMC/SD driver |
Memory requirements
| Detail | ROM [Bytes] | RAM [Bytes] |
|---|---|---|
| Minimal file system | 11384 | 1122 |
| MMC/SD driver | +2172 | 528 |
| Additional support for | ||
| Directory | +2654 | +1310 (for each directory) |
| (Auto) format | +2175 | 0 |
| Diskinfo | +758 | 0 |
| FAT32 | +658 | 0 |
| Additional open files | 0 | 1060 |
32-bit CPUs
System
| Detail | Description |
|---|---|
| CPU | ARM 7 |
| Tool chain | IAR Workbench for ARM V4.11A |
| Memory Model | ARM7, thumb instructions; no interwork; |
| Compiler options | Highest size optimization; |
| Device driver | MMC/SD driver |
Memory requirements
| Detail | ROM [Bytes] | RAM [Bytes] |
|---|---|---|
| Minimal file system | 10298 | 1129 |
| MMC/SD driver | +2358 | 532 |
| Additional support for | ||
| Directory | +2208 | +1328 (for each directory) |
| (Auto) format | +2056 | 0 |
| Diskinfo | 488 | 0 |
| FAT32 | 352 | 0 |
| Additional open files | 0 | 1068 |
Resource Usage
