D.FAT Filesystem for Embedded DSP Systems

The D.FAT file systems can be used on DSP platforms to perform a variety of tasks:

  • Write log-files to the Flash memory
  • Log acquired data
  • Update program and parameter files
  • Store HTML pages, scripts, and images on browser-based user interfaces
DModule2 DSP, FPGA, and Analog I/O Module Stack

A file system is required by many applications, for example by FTP and HTTP servers running on the DSP system. The D.SignT D.FAT file system provides this functionality. D.FAT supports RAM disks, SD- and MMC-cards and the onboard Flash memory of D.Module DSP boards. With user-provided low-level drivers, even SSD and hard disks are usable. D.FAT supports FAT12, FAT16 and FAT32 with 512 byte cluster size and file size up to 4G byte. Filenames use 8.3 format and full long filename support.

getcwd()get current working directory
chdir()change directory
mkdir()make directory
rmdir()remove directory
dir()list directory content
ren()rename file or directory
del()delete file or directory
fopen()open a file for reading, writing, appending, etc.
fclose()close a file
fread()block read from file
fgetc()read character from file
fgets()read string from file
fscanf()formatted read from file
fwrite()block write to file
fputc()write character to file
fputs()write string to file
fprintf()formatted write to file
fsize()get file size
ftell()get current file pointer position
fgetpos()get current file pointer position
fseek()set file pointer position
_feof()test for end of file
dFatAddDrivecreate and add a drive
dFatInitinitialize file system on the specified drive
formatformat file system
SetRamDiscset RAM disk parameter
dFatVolchange volume
dFatFlushflush file system
dFatDoneclose file system
D.FAT-xxxxFile System Library for D.Module, EVMs and DSK Starter Kits

xxxx = DSP Module or Processor Type

Shopping Cart