beautypg.com

Otg stack, Application modules, Mass storage disk emulation – Philips ISP1362 User Manual

Page 8: Otg applications (otg mass storage demo/otg tools), Porting modules, Hardware access layer driver, Mass storage bridge, Installation

background image

Philips Semiconductors

ISP1362 Linux Stack User’s Guide

UM10012-_2

© Koninklijke Philips Electronics N.V. 2003. All rights reserved.

User’s Guide

Rev. 1.2—July 2003

8 of 34

product-specific. Therefore, this driver communicates with a mass storage bridge (portable). For more information
on the device stack interface, refer to API ISP1362 Device Stack.

2.3.3. OTG

Stack

The OTG stack consists of the OTG driver. This driver maintains the OTG software FSM, and coordinates the
host and device functionality switching. It interfaces with OTG applications through the Linux file system. For
more information on this interface, refer to API ISP1362 OTG Stack.

2.4. Application

Modules

2.4.1.

Mass Storage Disk Emulation

This module is an application module and emulates a physical disk. It responds to a minimal set of SCSI-II
commands, and uses a file system interface to store the physical disk data. This is developed for the

OTG

mass

storage demo purpose.

2.4.2.

OTG Applications (OTG Mass Storage Demo/OTG Tools)

There are

two

OTG applications:

A GUI-based application

(for PC evaluation kits only)

A command-line-based application

These applications are used to test the OTG mass storage functionality. These are written for the demo.

2.5. Porting

Modules

2.5.1.

Hardware Access Layer Driver

The core modules of the ISP1362 (Host Controller Driver, Device Controller Driver and OTG driver)
communicate with the ISP1362 hardware through this driver. Since hardware access is mostly platform-dependent,
this module must be ported to the target platform. This driver provides an interface to the ISP1362 registers and
buffers, to the ISP1362 I/O ports and interrupts, and configures the ISP1362 based on the platform.

2.5.2.

Mass Storage Bridge

As physical storage disk is specific to the product, a mass storage bridge is needed. Also, as the mass storage disk
is an emulator in the application space, this layer provides an interface to the application module. You need to
port this layer to interface with the physical disk driver (kernel/application).

3. Installation

The ISP1362 evaluation boards are available in the following platforms:

ISP1362 PCI evaluation kit

ISP1362 ISA evaluation kit

ISP1362 add-on card for

Intel PXA250-based Accelent® IDP

TM

.

The ISP1362 Linux stack currently supports the ISP1362 PCI evaluation kit

and ISP1362 add-on card for Accelent

IDP

. Support for other platforms will soon be added to the stack. The same source code will work for all

platforms by changing the compile time options. The following diagram shows the evaluation kit setup example for
the ISP1362 Linux stack.