
6.13 Read Sector(s) (20h)
This command reads from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests
256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this command is
issued and after each sector of data (except the last one) has been read by the host, the Drive sets BSY, puts the
sector of data in the buffer, sets DRQ, clears BSY, and generates an interrupt. The host then reads the 512 Bytes
of data from the buffer.
If an error occurs, the read terminates at the sector where the error occurred. The Command Block Registers
contain the cylinder, head, and sector number of the sector where the error occurred. The flawed data are
pending in the sector buffer. Table 29 defines the Read Sector command Byte sequence.
Table 29: Read sector(s)
Task File Register
7
6
5
4
3
2
1
0
COMMAND
20h
DRIVE/HEAD
1
LBA
1
D
Head (LBA 27-24)
CYLINDER HI
CYLINDER LOW
SECTOR NUM
SECTOR COUNT
FEATURES
Cylinder High (LBA23-16)
Cylinder Low (LBA15-8)
Sector Number (LBA7-0)
Sector Count
nu
6.14 Read Verify Sector(s) (40h or 41h)
This command is identical to the Read Sectors command, except that DRQ is never set and no data is transferred
to the host. When the command is accepted, the Drive sets BSY. When the requested sectors have been verified,
the Drive clears BSY and generates an interrupt.
If an error occurs, the verify terminates at the sector where the error occurs. The Command Block Registers
contain the cylinder, head and sector number of the sector where the error occurred. The Sector Count Register
contains the number of sectors not yet verified.
Table 30 defines the Read Verify Sector command Byte sequence.
Table 30: Read Verify Sector(s)
Task File Register
7
6
5
4
3
2
1
0
COMMAND
40h or 41h
DRIVE/HEAD
1
LBA
1
D
Head (LBA 27-24)
CYLINDER HI
CYLINDER LOW
SECTOR NUM
SECTOR COUNT
FEATURES
Cylinder High (LBA23-16)
Cylinder Low (LBA15-8)
Sector Number (LBA7-0)
Sector Count
nu
6.15 Request Sense (03h)
This command requests extended error information for the previous command. Table 31 defines the Request
Sense command Byte sequence.
Table 32 defines the valid extended error codes. The extended error code is returned to the host in the Error
Register.
Table 31: Request sense
Task File Register
7
6
5
4
3
2
1
0
COMMAND
03h
DRIVE/HEAD
1
LBA
1
D
nu
CYLINDER HI
CYLINDER LOW
SECTOR NUM
SECTOR COUNT
FEATURES
nu
nu
nu
nu
nu
Swissbit AG
Industriestrasse 4
Swissbit reserves the right to change products or specifications without notice.
Revision: 1.41
CH-9552 Bronschhofen
Switzerland
www.swissbit.com
industrial@swissbit.com
F-100_data_sheet_CA-HxBR_Rev141.doc
Page 25 of 51