Download Vinculum II User Guide

Transcript
Document Reference No.: FT_000289
Vinculum II User Guide
AN_151 User Manual Version 1.4.0-SP1
Clearance No.: FTDI# xxx
Comments
The driver must be initialised by calling this function before it can be opened and attached to the SPI
Master.
4.2.2.5 File Systems
4.2.2.5.1 FAT File System
The FAT File System is implemented as both an API and as a driver to allow flexibility in an
application. Knowledge of the underlying aspects of the file system is not required, as low-level
operations are managed by the driver or API.
There are restrictions given relating to the way in which the file system is used and guidance on how
to obtain maximum performance from the file system.
The primary target application for the FAT File System is Flash disks, however, there are no design
limitations on using it with hard disks with a suitable USB interface. The FTDI supplied SD card driver
is also supported by the FAT File System.
Driver Hierarchy
FAT Driver hierarchy:
FAT Driver
FAT API
BOMS Class Driver
SD Card Driver
USB Host Driver
SPI Master Driver
Other MSI Driver
VOS Kernel
USB Host Hardware
SPI Master
Hardware
Other Hardware
The fatdrv_init() function must be called to initialise the driver before the kernel scheduler is started
with vos_start_scheduler().
Library Files
USBHost.a
SPIMaster.a
BOMS.a
SDCard.a
FAT.a
FAT.a
Header Files
USBHost.h
SPIMaster.h
BOMS.h
SDCard.h
MSI.h
MSI.h
FAT.h
FAT.h
API Hierarchy
FAT API hierarchy:
FAT API
BOMS Class Driver
SD Card Driver
USB Host Driver
SPI Master Driver
Other MSI Driver
VOS Kernel
USB Host Hardware
SPI Master
Hardware
Other Hardware
Copyright © 2011 Future Technology Devices International Ltd.
376