| 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 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.
|
|
-
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.
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.
|