ATA Command Table OPCode

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

ATA COMMAND TABLE (in OPCode Order)

ATA Command SCT LBA SEGMENT ACCESS SCT READ LONG SCT WRITE LONG
SCT RETURN ERROR RECOVERY CONTROL

Instruction SCT_LSAP SCT_LSAP_GPL SCT_RL_GPL SCT_WL_GPL


SCT_RERC_GPL

OP

SCT_LSA SCT_LSAP SCT_RL SCT_WL


SCT_RERC

SCT RETURN FEATURE CONTRLL


SCT RETURN FEATURE OPTION FLAG

SCT_ RFC_GPL
SCT_ RFOF_GPL

SCT_ RFC
SCT_ RFOF

SCT RETURN SCT DATA TABLE


SCT SET ERROR RECOVERY CCONTROL

SCT_DT_GPL
SCT_ SERC_GPL

SCT_DT
SCT_ SERC

SCT SET FEATURE CONTRLL SCT STATUS REQUEST SOFTWARE RESET NOP CFA REQUEST EXTENDED ERROR DEVICE RESET READ SECTOR(S) READ SECTOR(S) WITHOUT RETRIES READ LONG READ LONG WITHOUT RETRIES READ SECTOR(S) EXT READ DMA EXT READ DMA QUEUED EXT READ NATIVE MAX ADDRESS EXT READ MULTIPLE EXT READ STREAM DMA EXT READ STREAM EXT READ LOG EXT READ LOG EXT COMP READ LOG EXT DIR READ LOG EXT SELF TEST READ STREAM ERROR LOG READ STREAM PERFORMANCE LOG WRITE STREAM ERROR LOG WRITE SECTOR(S)
WRITE SECTOR(S) WITHOUT RETRIES

SCT_ SFC_GPL SCT_REQST_GPL Reset CfaReqErr DevRst RdSec RdSecN RdLong RdLongN RdSecEx RdDmaEx RdDmaQEx RdNativeMaxEx RdMulEx RdStrDma RdStrPio RdLogEx RdLogExComp RdLogExDir
RdLogExSelfTest

SCT_ SFC
SCT_REQST

RdStrErrLog RdStrPfmLog WrStrErrLog WrSec WrDmaN WrLong WrLongN WrSecEx WrDmaEx WrDmaQEx SetMaxEx CfaWrSec

REST NOP CFRE DRST RDSK RDSKN RSECN RDLG RLN RDSE RDMX RDQX RNME RDME RSTD RSTP RLEX RLEC RLED RLET RSTE RPFM WSTE WDSK WDMAN WTLG WTLGN WDSE WDMX WDQX SAME CFWS

SRST 00h 03h 08h 20h 21h 22h 23h 24h 25h 26h 27h 29h 2Ah 2Bh 2Fh 2Fh 2Fh 2Fh 2Fh 2Fh WSEC 2Fh 30h 30h WLN WSEX 32h 33h 34h 35h 36h 37h 38h

RSEC RSN

RDLGN RSEX

RMEX

WRITE LONG WRITE LONG WITHOUT RETRIES WRITE SECTOR(S) EXT WRITE DMA EXT WRITE DMA QUEUED EXT SET MAX ADDRESS EXT
CFA WRITE SECTOR(S) WITHOUT ERASE

WRITE MULTIPLE EXT WRITE STREAM DMA EXT WRITE STREAM EXT CFA WRITE VERIFY WRITE VERIFY WRITE DMA FUA EXT WRITE DMA QUEUE FUA EXT WRITE LOG EXT WRITE DMA WITHOUT RETRIES READ VERIFY SECTOR(S) READ VERIFY SECTOR(S) WITHOUT RETRIES READ VERIFY SECTOR(S) EXT WRITE UNCORRECTABLE EXT WRITE UNCORRECTABLE EXT_FL WRITE UNCORRECTABLE EXT_FNL WRITE UNCORRECTABLE EXT_PL WRITE UNCORRECTABLE EXT_PNL READ LOG DMA EXT CFA FORMAT SECTORS CONFIGURE STREAM WRITE LOG DMA EXT TRUSTED RECEIVE TRUSTED RECEIVE DMA TRUSTED SEND TRUSTED SEND DMA READ FPDMA QUEUED WRITE FPDMA QUEUED SEEK CFA TRANSLATE SECTOR EXECUTE DEVICE DIAGNOSTIC INITIALIZE DEVICE PARAMETERS DOWNLOAD MICROCODE IDENTIFY PACKET DEVICE SERVICE SMART DISABLE OPERATIONS SMART ENABLE OPERATION
SMART ENABLE/DISABLE AUTOSAVE
SMART ENABLE/DISABLE AUTO OFFINE

WrMulEx WrStrDma WrStrPio CfaWrVerify WrVerify WrDmaFuaEx WrDmaQFuaEx WrLogEx RdVfy RdVfyN RdVfyEx

WDME WSTD WSTP CFWV WV

WMEX

WDFE WDQF WRLE RVFYN RVFE WUNCX WUNCEX_FL WUNCEX_FNL WUNCEX_PL WUNCEX_PNL RVN

39h 3Ah 3Bh 3Ch 3Ch 3Dh 3Eh 3Fh 40h 41h 42h 45h 45h 45h 45h 45h 47h 50h 51h 57h 5Ch 5Dh 5Eh 5Fh 60h 61h 70h 87h 90h 91h 92h A1h A2h B0h B0h
B0h

WUNCEX

RdLogEx_DMA CfafmtTrk CfgStr WrLogEx_DMA TCG_Receive


TCG_Receive_DMA

RLEX_DMA

CFFT CFST
WRLE_DMA

TCG_RCV TCG_RCV_DMA

TDG_Send TDG_Send_DMA RDMA_NCQ WDMA_NCQ CfaTransSec Diagnose InitDevPara Download IdfyPktDev Service SmDisable SmEnable
SmAutoSv

RFPDMAQ
WFPDMAQ

SEEK CFTS DIAG SETP DNLD IDPD SRVC SDSO SESO


SAAS

DIAG

SMDI SMEN
SMAS

SAOL ExeSmO SmRdAtbThd SmRdData SmRdLog SmRdLogComp SmRdLogDir


SmRdLogSelfTest

B0h SMOI B0h B0h B0h B0h


B0h

SMART EXECUTE OFFLINE IMMEDIATE


SMART READ ATTRIBUTE THRESHOLDS

SEOI SRAT SMRD SRLS


SMRC

SMART READ DATA SMART READ LOG SMART READ LOG COMPREHENSIVE SMART READ LOG DIRECTORY SMART READ LOG SELF TEST LOG SMART READ LOG SUMMARY

SMRL

SmRdLogSum

SMLD SMRT SMRS

B0h B0h B0h

SMART RETURN STATUS SMART SAVE ATTRIBUTE VALUES SMART WRITE LOG
DEVICE CONFIGURATION FREEZE LOCK

DEVICE CONFIGURATION IDENTIFY DEVICE CONFIGURATION RESTORE

DEVICE CONFIGURATION SET


ADD LAB(S) TO NV CACHE PINNED SET

SmStatus SmSvAtb SmWrLog DevCfgFrzLock DevCgfIdfy DevCfgRestore DevCfgSet AddPinSet FlushNV QueryMiss QueryPinSet RmvPinSet RtnPwrMode SetPwrMode CfaKeyChange CfaRdKey CfaStdRead CfaEraseSec RdMul WrMul SetMul RdDmaQ RdDma RdDMAN WrDma WrDmaQ CfaWrMul WrMulFuaEx ChkMedType GetMedStatus MedLock MedUnlock StandbyIm IdleIm Standby RdBuf ChkPwrMode Sleep FlushCache WrBuf FlushCacheEx Identify MedEject SetFeature

SRSS SSAV SWLS DCOF DCOI DCOR DCOS

SMWL DCFL DCFI DEFR DCFS

B0h B0h B0h B1h B1h B1h B1h B6h B6h B6h B6h B6h B6h B6h

FLUSH NV CACHE QUERY NV CACHE MISSES QUERY NV CACHE PINNED SET REMOVE LAB(S) FROM NV CACHE PINNED SET RETURN NV CACHE POWER MODE SET NV CACHE POWER MODE CFA KEY MANAGEMENT CHANGE KEY MANAGEMENT VALUE CFA KEY MANAGEMENT READ KEY MATERIAL
CFA KEY MANAGEMENT STRUCTURE READ

CFKC CFRK CFSR CFES RMUL WMUL SMUL RDMQ RDMA RDMAN WDMA WDMQ CFWM WMFE CHMT GTMS LOCK UNLK STBI IDLI STBY IDLE RBUF CKPW SLEP FLSH WBUF FLSE IDFY EJCT SETF

B9h B9h B9h C0h C4h C5h C6h C7h C8h C9h CAh CCh CDh CEh D1h DAh DEh DFh E0h E1h E2h E3h E4h E5h E6h E7h E8h EAh ECh EDh EFh

CFA ERASE SECTORS READ MULTIPLE WRITE MULTIPLE SET MULTIPLE MODE READ DMA QUEUED READ DMA READ DMA WITHOUT RETRIES WRITE DMA WRITE DMA QUEUED
CFA WRITE MULTIPLE WITHOUT ERASE

WRITE MULTIPLE FUA EXT CHECK MEDIA CARD TYPE GET MEDIA STATUS MEDIA LOCK MEDIA UNLOCK STANDBY IMMEDIATE IDLE IMMEDIATE STANDBY IDLE READ BUFFER CHECK POWER MODE SLEEP FLUSH CACHE WRITE BUFFER FLUSH CACHE EXT IDENTIFY DEVICE MEDIA EJECT SET FEATURES

CHPW

FLEX

SECURITY SET PASSWORD SECURITY UNLOCK SECURITY ERASE PREPARE SECURITY ERASE UNIT CFA WEAR LEVEL SECURITY FREEZE LOCK SECURITY DISABLE PASSWORD READ NATIVE MAX ADDRESS SET MAX ADDRESS SET MAX FREEZE LOCK SET MAX LOCK SET MAX SET PASSWORD SET MAX UNLOCK

SecuSetPsw SecuUnlock SecuErasePrep SecuEraseUnit CfaWearLevel SecuFrzLock SecuDisPsw RdNativeMax SetMaxAddr SetMaxFrzLock SetMaxLock SetMaxSetPswd SetMaxUnlock

SESP SEUL SERP SEEU CFWL SFZL SEDP RNMA SMXA SMFL SMLK SMSP SMUN

SMAX

F1h F2h F3h F4h F5h F5h F6h F8h F9h F9h F9h F9h F9h

You might also like