Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0290 Datasheet(PDF) 48 Page - STMicroelectronics

Part # UM0290
Description  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 Datasheet(HTML) 48 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 44Page - STMicroelectronics UM0290 Datasheet HTML 45Page - STMicroelectronics UM0290 Datasheet HTML 46Page - STMicroelectronics UM0290 Datasheet HTML 47Page - STMicroelectronics UM0290 Datasheet HTML 48Page - STMicroelectronics UM0290 Datasheet HTML 49Page - STMicroelectronics UM0290 Datasheet HTML 50Page - STMicroelectronics UM0290 Datasheet HTML 51Page - STMicroelectronics UM0290 Datasheet HTML 52Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 76 page
background image
Mass storage demo
UM0290
48/76
5.3.6
SCSI protocol implementation
The aim of the SCSI Protocol is to provide a correct response to all SCSI commands
needed by the operating system on the PC host. This section details the method of
management for all implemented SCSI commands.
●
INQUIRY Command (OpCode = 0x12):
Send the needed inquiry page data (in this demo only the page 0 and the standard
page are supported) with the needed data length according to the ALLOCATION
LENGTH field of the command.
●
SCSI READ FORMAT CAPACITIES Command (OpCode = 0x23):
Send the Read Format Capacities data response (ReadFormatCapacity_Data[ ]
from the files SCSI_data.c).
●
SCSI READ CAPACITY (10) Command (OpCode = 0x25):
Send the Read Capacity (10) data response (ReadCapacity10_Data[ ] from the
file SCSI_data.c).
●
SCSI MODE SENSE (6) Command (OpCode = 0x1A):
Send the Mode Sense (6) data response (Mode_Sense6_data[
]
from the file
SCSI_data.c).
●
SCSI MODE SENSE (10) Command (OpCode = 0x5A):
Send the Mode Sense (10) data response (Mode_Sense10_data[ ] from the file
SCSI_data.c).
●
SCSI REQUEST SENSE Command (OpCode = 0x03):
Send the Request Sense data response. Note that the Request_Sense_Data [ ]
array (file SCSI_data.c) is updated using the function Set_Scsi_Sense_Data() in
order to set the Sense key and the ASC fields according to any error occurring during
the transfer.
●
SCSI TEST UNIT READY Command (OpCode = 0x00):
Always return a CSW with COMMAND PASSED status.
●
SCSI PREVENT\ALLOW MEDIUM REMOVAL Command (OpCode = 0x1E):
Always return a CSW with COMMAND PASSED status.
●
SCSI START STOP UNIT Command (OpCode = 0x1B):
This command is sent by the PC host when a user right-clicks on the device (in
Windows) and selects the Eject operation. In this case the firmware programs the data
in the internal Flash using the function Stor_Data_In_Flash().
●
SCSI READ10 (OpCode = 0x28) and SCSI WRITE 10 (OpCode = 0x2A):
The host issues these two commands to perform a read or a write operation. In these
cases the device has to verify the address compatibility with the memory range and the
direction bit in the bmFlag of the command. If the command is correctly validated the
firmware launches the read or write operation from the internal RAM.
●
SCSI VERIFY 10 (OpCode =0x2F):
The Verify command requests the device to verify the data written on the medium. In
this case no Flash-like memory support is used, so when the command Verify is
received, the device tests the BLKVFY bit. If set to one, a Command Passed status is
returned in the CSW.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com