Appendix c – scsi commands, Appendix c – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual
Page 91

91
Appendix C – SCSI Commands
See the include file “VS_SCSICommands.inc“ in the ..\SASVFScripts or ..\SATAVFScripts subfolder of the
main SAS Protocol Suite or SATA Protocol Suite folder for defined constants for use in scripts.
Note: This file needs to be included in the VSE Script to be able to use the defined constants.
Note: The SCSI commands listed below are defined with the following prefix SCSI_CMD_ (e.g.
SBC_FORMAT_UNIT would be SCSI_CMD_ SBC_FORMAT_UNIT)
//SBC
SBC_FORMAT_UNIT
=
0x04
SBC_LOCK_UNLOCK_CACHE10
=
0x36
SBC_LOCK_UNLOCK_CACHE16
=
0x92
SBC_PRE_FETCH10
=
0x34
SBC_PRE_FETCH16
=
0x90
SBC_READ6
=
0x08
SBC_READ10
=
0x28
SBC_READ12
=
0xA8
SBC_READ16
=
0x88
SBC_READ_CAPACITY10
=
0x25
SBC_9E
=
0x9E
SBC_READ_DEFECT_DATA10
=
0x37
SBC_READ_DEFECT_DATA12
=
0xB7
SBC_READ_LONG
=
0x3E
SBC_REASSIGN_BLOCKS
=
0x07
SBC_REBUILD16
=
0x81
SBC_7F
=
0x7F
SBC_REGENERATE16
=
0x82
SBC_REZERO_UNIT
=
0x01
SBC_SEEK6
=
0x0B
SBC_SEEK10
=
0x2B
SBC_SET_LIMITS10
=
0x33
SBC_SET_LIMITS12
=
0xB3
SBC_START_STOP_UNIT
=
0x1B
SBC_SYNCHRONIZE_CACHE10
=
0x35
SBC_SYNCHRONIZE_CACHE16
=
0x91
SBC_VERIFY10
=
0x2F
SBC_VERIFY12
=
0xAF
SBC_VERIFY16
=
0x8F
SBC_WRITE6
=
0x0A
SBC_WRITE10
=
0x2A
SBC_WRITE12
=
0xAA
SBC_WRITE16
=
0x8A
SBC_WRITE_AND_VERIFY10
=
0x2E
SBC_WRITE_AND_VERIFY12
=
0xAE
SBC_WRITE_AND_VERIFY16
=
0x8E
SBC_WRITE_LONG
=
0x3F
SBC_WRITE_SAME10
=
0x41
SBC_WRITE_SAME16
=
0x93
SBC_XDREAD10
=
0x52
SBC_XDWRITE10
=
0x50
SBC_XDWRITEREAD10
=
0x53
SBC_XDWRITEEXTENDED16
=
0x80
SBC_XPWRITE10
=
0x51
SBC_ERASE10
=
0x2C