beautypg.com

Introduction, Overview, Requirements – Sundance SMT387-FS User Manual

Page 5

background image

Introduction

This document describes the file system software package provided for use with the

Sundance SMT387 module. It includes descriptions of the functions available in the package

as well as details of the procedures to be used when setting up a new hard disk drive for use

with the SMT387.

Overview

The SMT387 File System Package allows an application running on the SMT387 to read and

write files in FAT32 file systems on attached SATA hard disk drives. Attaching the same hard

disk drive to a personal computer running Windows XP or Windows 2000 allows the same

FAT32 file system to be read and written by applications on that computer.

The library should only be used in a single user task. Use in multiple tasks will result in data

corruption. If you need to access a FAT32 file system from more than one user task, you

must use inter-task communication to forward requests from one task to another.

Within the task that is using the File System Package, multiple threads can all access files at

the same time, subject to available memory. The SMT387 File System Package

synchronizes access to the files, and manages all file system metadata such as File

Allocation Tables (FATs) and directory records. The package is compatible with the Diamond

stand-alone library for use in fully embedded applications.

Performance features included in the SMT387 File System Package include a data buffering

facility to decouple user threads from activity on the disk drive, and a preallocation facility

designed to reduce the time taken when files are extended.

Requirements

The following requirements must be met for a system to be able to use the SMT387

File System Package:

• SMT387 module with V2 DSP silicon.
• One or two attached SATA disk drives.
• Diamond version 2.5.2 or later.

Page 5