Specifications

59
Figure 21 MPFS Image Format
The length of the Reserved Block is defined by MPFS_RESERVE_BLOCK. This
block can be used by the main application to store simple configuration values.
The storage begins with one or more MPFS FAT entries, followed by one or
more file data. The FAT entry describes the file name, location and its status.
Figure 22 below describes the format for the FAT entry.
Figure 22 MPFS Fat Entry Format
The Flag indicates whether the current entry is in use, deleted, or at the end of
the FAT. Each entry also contains either a 16 or 24-bit address value. The
length is determined by the type of memory used, as well as the memory size
model. If the internal program space is used, and the Microchip TCP/IP stack
project is compiled with a small memory model, 16-bits are used. If the large
memory model is selected, a 24-bit address is used. All EEPROM configurations
use 16-bit addressing. This implies a maximum MPFS image size of 64 Kbytes
for these devices.
MPFS uses a short naming scheme for file name of “8 + 3” (8 bytes for the name,
3 bytes for the extension). The 16-bit address gives the start of the first file data