beautypg.com

7 write long, 32h/33h), 8 read verify (40h) – Toshiba MK6017MAP User Manual

Page 62: 9 write verify, 3ch)

background image

360014937

Copyright ©2000 Toshiba corporation. All rights reserved.

- 562 -

If an error occurs during multi-sector transfer, it will terminate the transfer by setting error information in
status register and error register, without shifting into data transfer mode from the host. CY, HD, SN ( LBA)
registers show the address where error has occurred.

10.8.7 Write Long

7

(32h/33h)

If Long bit is “1”, this command write the data and the associated ECC data information supplied by the host.
The data field transfer is 16 bit wide, but the ECC information is accepted in only 8 bits.

10.8.8 Read Verify (40h)


COMMAND CODE

0 1 0 0 0 0 0 0

REGISTER

REGISTER SETTING

NORMAL COMPLETION

DR

drive no.

no change

CY

starting cylinder

last possible

HD

starting head

last possible

SN

starting sector

start sector

SC

no. of sector to be read

00H

LBA

starting address

last address

This command is identical to a Read command except that DRQ bit is not set and no data is sent to the host.
This allows the system to verify the integrity of the drive. A single interrupt is generated upon completion of
a command or when an error occurs.

10.8.9 Write Verify

8

(3Ch)

COMMAND CODE

0 0 1 1 1 1 0 0

REGISTER

REGISTER SETTING

NORMAL COMPLETION

DR

drive no.

no change

CY

starting cylinder

last possible

HD

starting head

last possible

SN

starting sector

start sector

SC

no. of sector to be written

00H

LBA

starting address

last address

This command is identical to a Write sector command except that verification is not performed. A Write
verify command transfers the number of sectors (1-256) defined in SC register from the host to the drive,
then the data is written on the media. The starting sector is defined in CY, HD, SN (LBA) registers.

Upon receipt of the command, the drive sets DRQ until one sector of data is transferred from the host, then
resets DRQ, sets BSY. In case of multi- sector transfer, it sets DRQ, resets BSY and generate an interrupt to
report the host that the host is ready to receive 1 sector of data. The drive will seek to the target track if the
R/W head is not on the target track (implied seek). Reaching the target sector, the command transfers the

7

ATA/ATAPI-4 defines this command as Vendor specific. The drive supports this command to maintain ATA-3, and the previous

models compatibility. User is recommended not to use this command.

8

ATA/ATAPI-4 defines this command as Vendor specific. The drive supports this command to maintain ATA-3 compatibility. User is

recommended not to use this command.