English
Language : 

UM0290 Datasheet, PDF (43/76 Pages) STMicroelectronics – This document presents a description
UM0290
Mass storage demo
Table 14. SCSI Command Set(1) (continued)
Command Name
OpCode
Command
Support
Description
Reference
Start Stop Unit
0x1B
Enable or disable the Logical Unit for
M
media access operations and controls
certain power conditions
Test Unit Ready
0x00
M
Request the device to report if it is ready
Verify (10)
0x2F
M
Verify data on the media
Write (10)
0x2A
M
Transfer binary data from the host to the
media
Command Support key: M = support is mandatory, O = support is optional
RBC
SPC-2
RBC
RBC
1. This table doesn’t show all the SCSI commands. For more information please refer to the SPC and RBC
specifications.
5.3
5.3.1
Mass storage demo implementations
The STR7/9 USB IP presents two modes for the bulk transfer: simple and double buffer
modes. So describe these two modes this demo provides two different implementations,
one for each mode. The major difference between the two implementations is the data
transfer management.
This chapter presents the two implementations supported by the demo.
Hardware configuration interface
The hardware configuration interface is a layer between the USB application (in our case the
Mass Storage demo) and the internal/external hardware of the STR microcontroller. This
internal and external hardware is managed by the STR Standard Software Library, so from a
firmware point of view, the hardware configuration interface is the firmware layer between
the USB application and the standard library. Figure 11 shows the interaction between the
different firmware components and the hardware environment.
43/76