Standard and Safe Versions

Industry-standard file system compatibility.
Designed to support removable media such as USB drives and SD cards.

RTXCfatfile Standard is a DOS- and Windows-compatible file system designed for embedded systems requiring the attachment of PC-compatible media and, in particular, removable memory devices such as SD cards and USB drives.

RTXCfatfile Safe Typical FAT (File Allocation Table) file system implementations have inherent weaknesses which can lead to file and directory corruption if the system is interrupted during a write routine. When you open a file to modify it, the normal FAT process overwrites the existing data. If the system were to reset during that process a portion of the file would have been changed before a new image was built.  FATfile Safe is a FAT-compatible file system that includes a journaling architecture to guarantee that all file system operations will be carried out in a failsafe manner. If the system resets or loses power unexpectedly, it will return to a coherent, consistent and usable state. The original file remains unchanged until either a file flush or file close is called. At that point the system performs an atomic switch of the file state and the new data become valid.

Both versions of RTXCfatfile are written in ANSI C and can be used on any system without regard to the target processor. It is designed to interface to any standard DOS file system compatible device through standard interface routines (read_sector(), write_sector() etc.).

To assist you in your development, RTXCfatfile comes with sample application code and reference designs. You also get the security of MS-DOS and Windows compatibility, and of knowing that RTXCfatfile is already integrated with the RTXC Quadros real-time operating system.

  • FAT12/16/32
  • Long Filenames
  • Robust
  • Multiple Volumes
  • Mix of media types
  • Media Error Handling
  • Fully PC-compatible
  • Multiple files open for reading/writing
  • ANSI C compliant source code included
  • Standard API (fopen, fclose, fwrite, etc.)
  • Detailed User and Reference Guide
  • Sample drivers and hardware reference designs for:
    • MultiMediaCards
    • Secure Digital Cards
    • Compact Flash Cards
MultiMediaCard and Secure Digital Cards

This is probably the simplest method to add a DOS compatible file media to your embedded device. Quadros provides a range of drivers and reference designs for interfacing to SD and MMC cards including standard SPI implemented in either hardware or software.

Compact Flash Cards

Compact Flash cards require a more complex communication with a PC compatible media but offers performance advantages because of the wider data bus thus generally a higher throughput is achieved and in many cases a reduced CPU load. Where appropriate, Quadros also provides hardware design information and CPLD logic.

RAM Drive

RAM is particularly useful in getting a system up and running without any hardware dependencies. A RAM driver is included with RTXCfatfile.