A SERVICE OF

logo

Getting Started with ADSP-BF548 EZ-KIT Lite 4-3
Using ADSP-BF548 EZ-KIT Lite As A Mass Storage Device
code. The supplied software includes mass storage class and bulk transfer
class device drivers. In this exercise, we will use the mass storage device
driver.
The main principle behind the operation of a USB mass storage device is
that communication from the host to the device takes the form of basic
Small Computer Systems Interface (SCSI) commands wrapped inside
standard USB transactions. The SCSI is a long-established standard inter-
face for the interconnection of system peripherals. The USB mass storage
class uses some SCSI basic commands for reading sectors from and writing
sectors to the device’s storage medium, and for finding out the medium’s
storage capacity. The USB host software is responsible for dealing with the
higher-level aspects of mass storage, such as file system organization. The
USB device software is responsible for implementing the low-level sector
read and write commands, appropriate for the medium being used. The
VisualDSP++ 5.0 mass storage device class software includes code that
implements the necessary SCSI commands for the EZ-KIT Lite hard disk.
Example 5: USB Project
This chapter’s example project (Example_5.dpj) is a straightforward piece
of code that makes the EZ-KIT Lite hard disk available to a PC as a
removable storage device. All the code has to do is to open and configure
the supplied USB mass storage device class driver; the underlying support
code does the hard work. The source files included in the project are:
Example_5.c. The source file contains all of the project-specific
code in function
main().
adi_ssl_Init.h. The project-specific header file defines the numbers
of various SSL resources that the project requires.
adi_ssl_Init.c. The common source file defines functions for ini-
tializing and terminating the SSL components. The SSL-related
examples in this tutorial use a project-specific copy of