Home

Profibus

Net Theory

Service

Products

Download Docu

EC32

RTC-32

SMB New

New: Preventive Maintenance Issues

Support New

Disclaimer


RTOS-32


Statistic

Private

Translate

 


ICS

Industrielle Automatisierungssysteme GmbH

 
           
Home News Products Company Profile EC32-Info Download Contact
 

Introduction on RTFiles-32

The information on this page has been provided with kind permission of On-Time.

Please check the pages at http://www.on-time.com for updated information.

RTFiles-32 is a FAT-12/16/32 compatible file system for embedded systems. It allows embedded systems to access files on mass storage devices such as floppy disks and hard disks which can be shared with MS-DOS, Windows, or any other operating system which supports FAT disk volumes.

RTFiles-32's documented device driver structure allows it to be ported to many different environments and storage media. Device drivers for commonly used devices such as floppy disks and IDE drives are included. Custom drivers can easily be incorporated.

The main features of RTFiles-32 are:

  • Unlimited Number of Files
    RTFiles-32 can handle as many open files as required by the application. Only about 100 bytes of RAM is required for each open file.
  • Up to 32 Logical Drives
    RTFiles-32 easily handles many physical or logical drives.
  • Supports FAT-12, FAT-16, and FAT-32
    RTFiles-32 supports the same FAT (File Allocation Table) formats as MS-DOS, Windows, and many other systems. Media can be shared between RTFiles-32 and other operating systems to exchange data.
  • Long File Name Support
    On all three FAT types, file names with up to 255 characters are allowed.
  • Supports Diskettes, Flash, SRAM Cards, and Hard Disks
    RTFiles-32 supports diskette drives and media with 360k, 1.2M, 720k, 1.44M, and 2.88M capacity. IDE disks with CHS (Cylinder, Head, Sector) or LBA (Logical Block Addressing) interfaces as well as IDE and DiskOnChip flash disks are supported. Adding custom drivers is easily accomplished through RTFiles-32's documented device driver interface.
  • Supports Removable Devices and Hot Swapping
    Floppy disks and removable hard disks (e.g., disks in PCMCIA sockets) can be removed and reinserted while an application is running. Devices are automatically remounted as needed. Critical error handling support is available to handle disk removal of devices in use.
  • Supports UDMA Transfer Mode
    IDE disks are automatically operated in Ultra DMA mode, if supported by the disk and host controller.
  • Supports Hard Disks up to 2 Terabytes Size
    The latest standards (such as LBA) for extended sector addressing are supported if also supported by the disk controller.
  • Support for Contiguous Files
    RTFiles-32 can preallocate files to reside in a single contiguous chain of sectors. In this way, it can be guaranteed that no extra seek operations are required for contiguous read or write operations. Thus, the application can rely on achieving the maximum possible data throughput for such files.
  • Efficient Cache Support
    RTFiles-32 will cache frequently accessed data such as a volume's FAT or directories. The application has full control over the size of the cache and how delayed write operations should be handled. Large data blocks being read or written contiguously are not cached to avoid cache thrashing.
  • Extensive Diagnostics Support
    RTFiles-32 has functions to query the state of its cache in great detail. For each file or for a complete volume, the degree of fragmentation can be enquired. A disk-check function is supplied to detect and fix file system errors in unattended embedded applications.
  • Native API
    RTFiles-32 has its own native API consisting of about 45 functions. The native API is best suited for optimal performance and control.
  • Win32 Compatible API
    If used with RTTarget-32, RTFiles-32 emulates about 30 file I/O related Win32 functions. Thus, existing Win32 applications accessing files can be supported without source code modifications.
  • C/C++ and Pascal Run-Time System Support
    Through RTFiles-32's Win32 API emulation, all file I/O functions of the respective run-time systems are fully supported. C functions such as fopen, fread, fprintf, etc., work unmodified with RTFiles-32. The same is true for C++ classes such as iostream.
  • Multitasking Support
    When RTFiles-32 is used with a multitasking system such as On Time's RTKernel-32, all RTFiles-32 operations contain appropriate locking to support simultaneous calls from several tasks. Simultaneous access to different devices is fully supported (e.g., one task reads from a hard disk while another writes to a diskette). I/O device wait times are made available to other tasks by blocking the waiting tasks at a semaphore until the device I/O completion is signalled by an interrupt.
  • Low Interrupt Latencies
    Although RTFiles-32's device drivers are interrupt-driven, they never disable interrupts and do not process data transfers in interrupt handlers.
  • Installable Device Drivers
    RTFiles-32's device driver interface is very simple. Only three non-trivial functions are required to access a device: MountDevice, ReadSectors, and WriteSectors. All drivers shipped with RTFiles-32 come with complete source code which can be used as a model to implement custom drivers.
  • Installable System Drivers
    RTFiles-32 needs only a few functions of the underlying system (e.g., to install interrupt handlers or to set/reset semaphores, etc.). RTFiles-32 comes with system drivers for RTTarget-32 and/or RTKernel-32. These drivers are shipped with complete source code, allowing the implementation of alternate drivers.
     
Next: RTIP-32

back to previous page
 

 

         
Home Search Sitemap Our friends Security FAQ Contact

 

 

© 2004 ICS GmbH. All rights reserved. - Last update: December 12, 2004 - Webadmin: service@ics-control.com