Samsung T1000LM026 ユーザーズマニュアル

ページ / 111
Spinpoint M8U-Internal Product Manual REV 3.4 
83 
INSTALLATION 
 
 
 
6.4 
Bulk-Only Transport 
N2 Product transfer data by USB Mass Storage Class Bulk Only Transport  Specification. 
 
6.4.1 Functional Characteristics 
 
6.4.1.1  Bulk-Only Mass Storage Reset (Class-Specific request) 
This  request  is  used  to  reset  the  mass  storage  device  and  its  associated  interface. 
This class-specific  request shall ready the device for the next CBW from the host. 
The host shall send this request  via the default pipe to the device.  The device  shall preserve  the value of its 
bulk data toggle bits and endpoint STALL conditions despite the Bulk-Only  Mass Storage  Reset. 
The device  shall NAK the status  stage of the device  request  until the Bulk-Only  Mass Storage  Reset is 
complete. 
 
 
 
To issue the Bulk-Only  Mass Storage Reset the host shall issue a device request on the default pipe of: 
 
• bmRequestType:  Class, Interface, host to device 
• bRequest field set to 255 (FFh) 
• wValue field set to 0 
• wIndex field set to the interface number 
• wLength field set to 0 
 
 
6.4.1.2  Get Max LUN (Class-Specific request) 
The  device  may  implement  several  logical  units  that  share  common  device  characteristics.  The  host  uses 
bCBWLUN  to  designate  which  logical  unit  of  the  device  is  the  destination  of  the  CBW.  The  Get  Max  LUN 
device  request  is  used  to  determine  the  number  of  logical  units  supported  by  the  device.  Logical  Unit 
Numbers  on the device shall be numbered  contiguously  starting from LUN 0 to a maximum  LUN of 15 (Fh). 
 
 
 
To issue a Get Max LUN device request, the host shall issue a device request on the default pipe of: 
  
• bmRequestType:  Class, Interface, device to host 
• bRequest field set to 254 (FEh) 
• wValue field set to 0 
• wIndex field set to the interface number 
• wLength field set to 1 
 
The  device  shall  return  one  byte  of  data  that  contains  the  maximum  LUN  supported  by  the  device.  For 
example,  if the  device  supports  four  LUNs  then  the  LUNs  would  be  numbered  from  0  to 3 and  the  return 
value would be 3. If no LUN  is associated  with the device, the value returned  shall be 0. The host shall not 
send a command block wrapper (CBW) to a non-existing  LUN. 
Devices that do not support multiple LUNs may STALL  this command.