5.4 Command Protocol
5.4 Command Protocol
The host should confirm that the BSY bit of the Status register of the device is 0
prior to issue a command. If BSY bit is 1, the host should wait for issuing a
command until BSY bit is cleared to 0.
Commands can be executed only when the DRDY bit of the Status register is 1.
However, the following commands can be executed even if DRDY bit is 0.
•
EXECUTE DEVICE DIAGNOSTIC
•
INITIALIZE DEVICE PARAMETERS
5.4.1 PIO Data transferring commands from device to host
The execution of the following commands involves data transfer from the device
to the host.
•
READ SECTOR (S) (EXT)
•
SMART READ DATA
•
SMART READ LOG
•
DEVICE CONFIGURATION IDENTIFY
•
READ BUFFER
•
IDENTIFY DEVICE
•
READ LOG EXT
The execution of these commands includes the transfer one or more sectors of data
from the device to the host. Following shows the protocol outline.
a) The host writes any required parameters to the Features, Sector Count, Sector
Number, Cylinder, and Device/Head registers.
b) The host writes a command code to the Command register.
c) The device sets the BSY bit of the Status register and prepares for data
transfer.
d) When one sector of data is available for transfer to the host, the device sets
DRQ bit and clears BSY bit. The drive then asserts INTRQ signal.
e) After detecting the INTRQ signal assertion, the host reads the Status register.
The host reads one sector of data via the Data register. In response to the
Status register being read, the device negates the INTRQ signal.
C141-E250
5-129
Summary of Contents for MHW2040AT - Mobile 40 GB Hard Drive
Page 1: ...C141 E250 01EN MHW2080AT MHW2060AT MHW2040AT DISK DRIVES PRODUCT MANUAL ...
Page 4: ...This page is intentionally left blank ...
Page 8: ...This page is intentionally left blank ...
Page 10: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 54: ...This page is intentionally left blank ...
Page 74: ...This page is intentionally left blank ...
Page 260: ...This page is intentionally left blank ...
Page 264: ...This page is intentionally left blank ...
Page 266: ...This page is intentionally left blank ...
Page 272: ...This page is intentionally left blank ...
Page 274: ...This page is intentionally left blank ...
Page 276: ......
Page 277: ......
Page 278: ......