Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manual do Utilizador Página 48

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 97
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 47
48
9.24 SendATACommand()
This function specifies to send a selected ATA Command event to the script.
Format : SendATACommand( Command, Feature, Field Name, Field Value, Nexus Info);
Parameters
Command Command code of the ATA Command event:
_ANY
0x25 : "READ DMA EXT";
0x35 : "WRITE DMA EXT";
0xD1 : "CHECK MEDIA CARD TYPE";
For complete list of ATA Command Codes, refer to Appendix-B
.
Feature: Feature value of the chosen command of ATA Command event.
The Value combines with the Command code and results in the
formation of different combinations of ATA Commands.
Command Code + Feature Value-1 = ATA Command-1
Command Code + Feature Value-2 = ATA Command-2
For example:
0xE4 + 00 = 0xE400 READ_BUFFER
0xE4 + FF = 0xE4FF READ_PORT_MULTIPLIER
Field Name Refer to SendSSPTransport ()
.
Field Value Refer to SendSSPTransport ()
.
Nexus Info Refer to SendSSPTransport ()
.
Example
SendATACommand (_ANY);
SendATACommand (0x35); # Write DMA Ext.
SendATACommand (0x25, _ANY, "", 0, '500062B000001074',
'50060560000003C4', 0); # Read DMA Ext.
Vista de página 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 96 97

Comentários a estes Manuais

Sem comentários