Usb Mass Storage Class Driver (Hmscd) - Renesas X 600 Series Manual

Usb host mass storage class driver (hmsc)
Table of Contents

Advertisement

Renesas USB Device
3.

USB Mass Storage Class Driver (HMSCD)

3.1
Basic Functions
HMSCD is registered in HCD when the application (APL) starts the device driver. The functions of HMSCD are as
follows.
1. Verifying devices (determining if USB storage devices are ready to operate)
2. Communicating storage commands using the BOT protocol
3.2
Issuing Requests to HMSCD
The interface functions described below are used when accessing USB storage devices. In response to requests from a
higher layer, HMSCD sends notification of results by means of function return values.
3.3
Functions and Features
HMSCD comprises three layers: wrapper layer for HMSDD (DDI functions), wrapper layer for HCD (HCI functions),
and HMSCD itself. The DDI function is modified when HMSDD is changed, and the HCI function is modified when
HCD is changed. This can use Host mass storage class driver without changing it.HMSCD supports storage commands
necessary for accessing USB storage devices and sample storage commands.
HMSCD has the following features.
Support for USB mass storage class BOT.
Support for SFF-8070i (ATAPI) and SCSI USB mass storage subclasses.
Sharing of a single pipe for IN/OUT directions or multiple devices.
Sample device driver (HMSDD) provided.
Specific indication of interface (connection example) with FAT file system library.
Specific indication of interface (connection example) with HCD of USB-BASIC-F/W.
3.4
Pipe Information Table
Table 3.1 lists details of the HMSCD pipe information table.
Table 3.1
Pipe Information Table
Register
PIPE1 (receive pipe setting)
1
PIPECFG
BFRE = 0, DBLB = 1, SHTNAK = 1
Settings other than the above obtained
from descriptor.
2
PIPEMAX
None (Obtained from descriptor.)
3
PIPEPERI
None
4
FIFOPORT
CPU access to CFIFO
R01AN0513EJ0110 Rev.1.10
Aug 10, 2011
USB Host Mass Storage Class Driver(HMSC)
PIPE1 (transmit pipe setting)
BFRE = 0, DBLB = 1,
Settings other than the above obtained from
descriptor.
None (Obtained from descriptor.)
None
CPU access to CFIFO
Page 12 of 55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx62n groupR8a66597

Table of Contents