Appendix b – ata commands, Appendix-b – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual
Page 89

89
Appendix B – ATA Commands
See the include file “VS_ATA_Commands.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 ATA_CMD_ (e.g.
CFA_ERASE_SECTORS would be ATA_CMD_ CFA_ERASE_SECTORS)
CFA_ERASE_SECTORS
= 0xC0
CFA_REQUEST_EXTENDED_ERROR_CODE
= 0x03
CFA_TRANSLATE_SECTOR
= 0x87
CFA_WRITE_MULTIPLE_WITHOUT_ERASE
= 0xcd
CFA_WRITE_SECTORS_WITHOUT_ERASE
= 0x38
CHECK_MEDIA_CARD_TYPE
= 0xD1
CHECK_POWER_MODE
= 0xE5
DEVICE_CONFIGURATION
= 0xB1
DEVICE_RESET
= 0x08
DOWNLOAD_MICROCODE
= 0x92
EXECUTE_DEVICE_DIAGNOSTIC
= 0x90
FLUSH_CACHE
= 0xE7
FLUSH_CACHE_EXT
= 0xEA
GET_MEDIA_STATUS
= 0xDA
IDENTIFY_DEVICE
= 0xEC
IDENTIFY_PACKET_DEVICE
= 0xA1
IDLE
= 0xE3
IDLE_IMMEDIATE
= 0xE1
MEDIA_EJECT
= 0xED
MEDIA_LOCK
= 0xDE
MEDIA_UNLOCK
= 0xDF
NOP
= 0x00
PACKET
= 0xA0
READ_BUFFER
= 0xE4
READ_DMA
= 0xC8
READ_DMA_EXT
= 0x25
READ_DMA_QUEUED
= 0xC7
READ_DMA_QUEUED_EXT
= 0x26
READ_LOG_EXT
= 0x2F
READ_MULTIPLE
= 0xC4
READ_MULTIPLE_EXT
= 0x29
READ_NATIVE_MAX_ADDRESS
= 0xF8
READ_NATIVE_MAX_ADDRESS_EXT
= 0x27
READ_SECTORS
= 0x20
READ_SECTORS_WITHOUT_RETRY
= 0x21
READ_SECTORS_EXT
= 0x24
READ_VERIFY_SECTORS
= 0x40
READ_VERIFY_SECTORS_WITHOUT_RETRY
= 0x41
READ_VERIFY_SECTORS_EXT
= 0x42
SECURITY_DISABLE_PASSWORD
= 0xF6
SECURITY_ERASE_PREPARE
= 0xF3
SECURITY_ERASE_UNIT
= 0xF4
SECURITY_FREEZE_LOCK
= 0xF5
SECURITY_SET_PASSWORD
= 0xF1
SECURITY_UNLOCK
= 0xF2
SEEK
= 0x70