Tevero Logo  
Go to home page Go to product page Go to services page Go to contact info page Tevero Hjem - Norsk
 

FAQ (Frequently Asked Questions)

Download TFFS doc.

Download shrdconf.h and tffsconf.h file to see what needs to be configured.

Go here for pricing info and conditions.

 
TFFS The Transaction Flash FileSystem (TFFS) provides an easy-to-add component in an embedded system for implementing a secure filesystem. This means that every atomic file operation can be recovered if the system is aborted abnormally. The recovery is simple, and done when mounting a disk, without the need for a slower disk analysis. TFFS is built on top of FDC.

TFFS can also be used on RAM media with RDC for optimal performance and resource use, or for 3rd party media controllers.

TFFS is suitable for embedding with any target and any OS, as long as the C/C++ language is supported. It has been designed in a robust manner in order to cope with restarts and abnormal terminations.


Datasheet:

TFFS provides the following functionality:

  • Recoverable, ensuring consistency between allocation table and disk content.

  • Support of multiple file partitions.

  • Supports directories. ("/" used a directory delimiter)

  • File/directory names can be up to 28 characters (there is no extension awareness, but DOS like extensions can be used)

  • Supports read, write and hidden attributes for files or directories.

  • Supports three user levels of access: NORMAL, HIDDEN and SUPER.

  • Configurable to handle exclusive write access on files, thus protecting a file already opened to be reopened with write access or to be deleted.

  • Configurable to include support for monitoring file actions by using callbacks.

  • Handling of an unlimited number of different vendor linear flash arrays (NOR only), RAM media or 3rd party controllers.

  • The minimum write unit (block) is user defined per partition (minimum 64 bytes)

  • Created and modified timestamps with some restrictions (TFFS version 2)

  
  • Supports the recovery of any aborted write operation (power failure etc.)

  • Optional support for 'errno' updating

  • Some diagnostics functions supported

  • Written in ANSI/ISO C.

  • Host debugging and development support.

The following is required when using TFFS and is not included in TFFS:

  • The FDC and/or RDC product, which can be purchased as a separate module.
  • Provide read, write and erase function for flash array used by FDC. For RDC, only optional read or write functions are required.
  • If used in a preemptive context, protection functions for the selected environment must be implemented..
  • Provide the following C library glue functions: free, malloc, memcmp, memcpy, memset, strcmp, strcpy, strlen, time (optional) and printf (printf only if debugging or diagnostics enabled). The functions are defined in shrdconf.h/tffsconf.h and they must all be reentrant if used in a preemptive environment.
  • Provide a simple file abstraction layer, typically ANSI/ISO C style fopen(), fread() etc. Our FAL product (free) provides this functionality with only minor target adaptations.

© 2000-2010

real competence - real commitment - real-time

mail@tevero.no