HP (Hewlett-Packard) EZ-KIT Switch User Manual


 
SSL File System Service
5-2 Getting Started with ADSP-BF548 EZ-KIT Lite
“Example 6: Displaying a Bitmap File on the EZ-KIT Lite” on
page 5-4
“Example 6: Project Options” on page 5-4
“Example 6: Application Structure” on page 5-9
“Example 6: Running” on page 5-12
SSL File System Service
The file system service is a major addition to the SSL in VisualDSP++ 5.0.
Embedded applications targeting Blackfin processors now have a direct
means of accessing data held on mass storage devices using standard C
library functions or custom APIs.
Built on the existing system service and device driver models, the FSS can
be configured to use different physical devices and different file system
organizations by changing only a few settings in its initialization parame-
ters. The initial release of the FSS is accompanied by physical device
drivers for ATA/ATAPI attached devices, such as the ADSP-BF548
EZ-KIT Lite hard disk, SD devices, and USB mass storage host (for
flash/pen drives plugged into the EZ-KIT Lite). Also included is a soft-
ware driver supporting FAT 12/16/32 file systems. The open architecture
of the FSS means that the FSS can be used with different combinations of
drivers to support a flash file system on NAND flash memory or an
ISO-9660 file system on an attached CD drive with minimal changes to
application-level code.
At the application level, the easiest way to use FSS is to exploit its ‘plugga-
bility’ and hook an initialized instance of FSS into the C library’s I/O
system via a single function call. Thereafter, all of the file-oriented func-
tions of the standard header <stdio.h> (such as fopen(), fread(), and