5 smart execute off-line immediate – Toshiba MK6017MAP User Manual

Page 99

Advertising
background image

360014937

Copyright © 2000 Toshiba corporation. All rights reserved.

-

599 -

10.8.33.5 SMART Execute Off-line Immediate

COMMAND CODE

1 0 1 1 0 0 0 0

REGISTER

REGISTER SETTING

NORMAL COMPLETION

DR

DRIVE No.

no change

CY C24Fh

no

change

HD

no

change

SN

Subcommand specific

no change

SC

no

change

FT D4h

no

change

This command causes the device to immediately initiate the activities that collect SMART data in an
off-line mode and then save this data to the device's non-volatile memory, or execute a self-diagnostic test
routine in either captive or off-line mode.
The sector Number register shall be set to specify the operation to be executed.

SMART EXECUTE OFF-LINE IMMEDIATE Sector Number register values

Value

Description of subcommand to be executed

0

Execute SMART off-line routine immediately in off-line mode

1

Execute SMART Short self-test routine immediately in off-line mode

2

Execute SMART Extended self-test routine immediately in off-line mode

3-126 Reserved

127

Abort off-line mode self-test routine

128 Reserved
129

Execute SMART Short self-test routine immediately in captive mode

130

Execute SMART Extended self-test routine immediately in captive mode

131-255 Reserved

10.8.33.5.1 Off-line mode


The following describes the protocol for executing a SMART EXECUTE OFF-LINE IMMEDIATE
subcommand routine (including a self-test routine) in the off-line mode.

a) The device executes command completion before executing the subcommand routine.
b) After clearing BSY to zero and setting DRDY to one after receiving the command, the device shall not set

BSY nor clear DRDY during execution of the subcommand routine.

c) If the device is in the process of performing the subcommand routine and is interrupted by any new

command from the host except a SLEEP, SMART DISABLE OPERATIONS, SMART EXECUTE
OFF-LINE IMMEDIATE, or STANDBY IMMEDIATE command, the device suspends or aborts the
subcommand routine and service the host within two seconds after receipt of the new command. After
servicing the interrupting command from the host the device may immediately re-initiate or resume the
subcommand routine without any additional commands from the host.

d) If the device is in the process of performing a subcommand routine and is interrupted by a SLEEP

command from the host, the device may abort the subcommand routine and execute the SLEEP
command. If the device is in the process of performing any self-test routine and is interrupted by a
SLEEP command from the host, the device shall abort the subcommand routine and execute the SLEEP
command.

e) If the device is in the process of performing the subcommand routine and is interrupted by a SMART

DISABLE OPERATIONS command from the host, the device shall suspend or abort the subcommand
routine and service the host within two seconds after receipt of the command. Upon receipt of the next
SMART ENABLE OPERATIONS command the device may, either re-initiate the subcommand routine or
resume the subcommand routine from where it had been previously suspended.

f) If the device is in the process of performing the subcommand routine and is interrupted by a SMART

EXECUTE OFF-LINE IMMEDIATE command from the host, the device shall abort the subcommand
routine and service the host within two seconds after receipt of the command. The device shall then
service the new SMART EXECUTE OFF-LINE IMMEDIATE subcommand.

Advertising