[ Pobierz całość w formacie PDF ]

DR drive no. no change
CY no change
HD no change
SN no change
SC shown below 00/FFH (for E5/98 command)
no change (for other command)
FT no change
Power Control is a group of commands which controls low power mode in the drive. The drive has three
types of power mode:
Idle, Stand-by and Sleep mode
At the completion of disk access, the drive automatically enters the idle mode.
There are two ways to shift to the stand-by mode ( to stop rotation of spindle motor ).
By a command from the host
By internal timer
The internal timer is set by Stand-by or Idle command. The period is equivalent to SC x 5 seconds. If
Stand-by or Idle command is executed when SC=0 and the drive receives no access from host for 45
minutes, the drive automatically enters the stand-by mode.
If the drive receives disk access command from the host when it is in stand-by mode , the spindle starts
rotating and the drive executes read/write operation.
After power on, the spindle starts rotating and enters the idle mode. During idle or stand-by, READY bit is
set and the drive is ready to receive a command.
To be specific , there are four different sub-commands defined by lower 4 bits of command as follows. The
drive is in the idle mode and the auto stand-by ( timer setting:45 min.) when it is in default condition after
power- on.
10.8.20.1 Stand-by Immediate (E0/94)
SC=X (Don't care)
The drive enters the stand-by mode immediately by this command. If the drive is already in the stand-by
mode, it does no-operation and the stand-by timer doesn t start .The drive issues an interrupt and reports the
host that the command has been completed before it virtually enters the stand-by mode .
10.8.20.2 Idle Immediate (E1/95)
SC=X
The drive enters the idle mode immediately by this command. If the drive is already in the idle mode, it does
no-operation. If stand-by timer is enabled, timer will start. After the drive enters the idle mode, the drive
issues interrupt to report the host that the command has been completed.
Copyright 2002 Toshiba corporation. All rights reserved.
- 570 -
360042730
10.8.20.3 Stand-by (E2/96)
This command causes the device to enter stand-by mode.
If SC is non-zero then stand-by timer shall be enabled. The value in SC shall be used to determine the time
programmed into the stand-by timer.
If SC is zero then the stand-by timer is disabled.
Value in SC register Setting
0 Time out disabled
1-240 (SC x 5) sec.
241-251 ((value - 240) x 30) min.
252 21 min
253 Period between 8 and 12 hrs
254 Reserved
255 21 min 15 sec.
When the specified time period has passed, the drive enters stand-by mode. If a disk access command is
received during stand-by mode, the spindle starts rotating and the drive executes read/write operation. After
completing the command, the drive reset stand-by timer and the timer starts counting down.
10.8.20.4 Idle (E3/97)
This command causes the device to enter idle mode.
If SC is non-zero then stand-by timer shall be enabled. The value in SC shall be used to determine the time
programmed into the stand-by timer.
If SC is zero then the stand-by timer is disabled.
Value in SC register Setting
0 Time out disabled
1-240 (SC x 5) sec.
241-251 ((value - 240) x 30) min.
252 21 min
253 Period between 8 and 12 hrs
254 Reserved
255 21 min 15 sec.
When the specified time period has expired, the drive enters the stand-by mode. If disk access command is
received during the stand-by mode, the spindle starts rotating and executes read/write operation. After
completing the command, The drive resets stand-by timer and the timer starts counting down.
10.8.20.5 Check Power Mode (E5/98)
SC result value=00 indicates that the drive is in stand-by mode or going into stand-by mode or is shifting from
stand-by mode into idle mode.
SC result value=FFH indicates that the drive is in idle mode.
10.8.20.6 Sleep (E6/99)
When SC=X, the drive enters sleep mode immediately. After entering the sleep mode, the drive issues an
interrupt to report the host that the command has been completed. The drive recovers from sleep mode and
enters stand-by mode by receiving a reset.
Copyright 2002 Toshiba corporation. All rights reserved.
- 571 -
360042730
10.8.21 Read Buffer (E4h)
1 1 1 0 0 1 0 0
COMMAND CODE REGISTER
REGISTER SETTING NORMAL COMPLETION
DR drive no. no change
CY no change
HD no change
SN no change
SC 00H
FT no change
This command transfers a specified sector of data ( 512 bytes) from the 128kB buffer in the drive to the host.
When this command is issued, the drive sets BSY, sets up the buffer for read operation, sets DRQ, resets
BSY, and generates an interrupt. The host reads up to 512 bytes of data from the buffer.
10.8.22 Write Buffer (E8h)
1 1 1 0 1 0 0 0
COMMAND CODE REGISTER
REGISTER SETTING NORMAL COMPLETION
DR drive no. no change
CY no change
HD no change
SN no change
SC 00H
FT no change
This command transfers a sector of data from the host to the specified 512 bytes of 128kB buffer of the
drive . When this command is issued, the drive will set up the buffer for write operation, and set DRQ. The
host may then write up to 512 bytes of data to the buffer.
Copyright 2002 Toshiba corporation. All rights reserved.
- 572 -
360042730
10.8.23 Identify Device (ECh)
1 1 1 0 1 1 0 0
COMMAND CODE REGISTER
REGISTER SETTING NORMAL COMPLETION
DR drive no. no change
CY no change
HD no change
SN no change
SC 00H
FT no change
The identify device command requests the drive to transfer parameter information to the host. When the
command is issued, the drive sets BSY, stores the required parameter information in the sector buffer, sets
the DRQ bit, and issues an interrupt. The host may read the parameter information of the sector buffer. The
parameter words in the buffer are arranged as shown in Table10.8.23-1^3.
Copyright 2002 Toshiba corporation. All rights reserved.
- 573 -
360042730
Table 10.8-1 Identify Information
WORD DESCRIPTION Hex.
0 General configuration 0040
15 0=ATA device
14-8 Reserved
7 1=Removable cartridge device
6 1=Fixed device
5-3 Reserved
2 Response incomplete
1-0 Reserved
1 Number of default logical cylinders [1*]
2 Specific configuration C837
3 Number of default logical heads [2*]
4 Reserved 0000
5 Reserved 0000
6 Number of default logical sectors h logical track [3*]
7-9 Reserved
10-19 Serial Number (20 ASCII characters)
20 Reserved 0000
21 Reserved 0000
22 Number of vendor specific ECC bytes transferred on READ/WRITE LONG 002E
commands
23-26 Firmware Revision (8 ASCII characters)
27-46 Controller model # (40 ASCII characters)
47 15-8 80h 8010
7-0 00H = READ/WRITE MULTIPLE command not implemented
01H- FFH = Maximum number of sectors that can be transferred per
interrupt on READ/WRITE MULTIPLE commands
48 Reserved 0000
49 Capabilities 2F00
15-14 Reserved
13 1=Standby timer values as specified in ATA/ATAPI-5 specification are
supported
0=Standby timer values are vendor specific
12 Reserved
11 1=IOCHRDY supported
10 1=IOCHRDY can be disabled
9 1
8 1
7-0 Reserved
50 Capabilities 4000
15 0 (Fixed)
14 1 (Fixed)
13-1 Reserved
0 1= a device specific Standby timer value minimum.
51 15-8 PIO data transfer cycle timing mode 0200
7-0 Reserved
52 Reserved 0000
53 15-3 Reserved 0007
2 1=the fields reported word 88 are valid
0=the fields reported word 88 are not valid
1 1=the fields reported words 64-70 are valid
0=the fields reported words 64-70 are not valid [ Pobierz całość w formacie PDF ]