Part Number Hot Search : 
IRF6637 CXD1177Q SM540ZT 00DIA5AR LH5P8128 KTY82120 1N6702US PMBT390
Product Description
Full Text Search
 

To Download MK6006GAH Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  toshiba corporation digital media network company page 1 of 153 ? 2003, copyright toshiba corporation all rights reserved 1.1.1.1.1.1.1.1 toshiba toshiba hard disk drive specification 1.8 inch hard disk drive MK6006GAH/mk4006gah /mk3006gal rev. 01                           ref 360050398
toshiba corporation digital media network company page 2 of 153 ? 2003, copyright toshiba corporation all rights reserved revision history 1.8 inch hard disk drive MK6006GAH/mk4006gah/mk3006gal product specification revision date 00 2004-07-01 initial issue 01 2004-08-10                       
toshiba corporation digital media network company page 3 of 153 ? 2003, copyright toshiba corporation all rights reserved the hard disk drive and product specifications contain essential information for the protection of users and others from possible injury and property damage and to ensure correct handling. please check that you fully understand the definition of the following messages (signs and graphical symbols) before going on to read the text, and always follow the instructions. please describe requirements in the instruction manual of the product in which the drive is mounted and ensure that users are made thoroughly aware of them. important messages read this manual and follow its instructions. signal words such as caution and note, will be followed by important safety info rmation that must be carefully reviewed. indicates a potentially hazardous situati on which if not avoided, may result in minor injury or property damage.  note gives you helpful information.  ~ toshiba corporation shall not be liable for any damage due to the fault or negligence of users, fire, earthquake, or other accident beyond the control of toshiba corporation. ~ toshiba corporation shall not be liable for any incidental or consequential damages including but not limited to change or loss of stored data, loss of profit, or interruption of business, which are caused by use or non-usability of the product. ~ toshiba corporation shall not be liable for any damage result from failure to comply with the contents in the product specification. ~ toshiba corporation shall not be liable for any damage based on use of the product in combination with connection devices, software, or other devices provided by toshiba corporation with the product.  (). limitation of liability
toshiba corporation digital media network company page 4 of 153 ? 2003, copyright toshiba corporation all rights reserved    ? since the drive is not designed or manufactured to be used for a system including equipment (*1) directly linked with human life, etc., toshiba corporation shall not be liable for this type of use. *1: equipment directly linked with human life, etc. corresponds to the following.  medical equipment such as life support systems, equipment used in operations | etc. ? when the drive is to be used for a system including equipment (*2) linked with human safety or having a serious influence on the safe maintenance of public function, etc., special consideration (*3) must be given with regard to operation, maintenance, and management of the system. *2: a system including equipment linked with human safety or having a serious influence on the safe maintenance of public function, etc. corresponds to the following.  a main equipment control system used in atomic power plants, a safety protection based system used in atomic facilities, other important safety lines and systems.  an operation control system for mass transport, an air-traffic control system. *3: special consideration means that a safety system (fool proof design, fail safe design, redundancy design, etc.) is established as a result of adequate consultation with toshiba engineers.  usage restrictions
toshiba corporation digital media network company page 5 of 153 ? 2003, copyright toshiba corporation all rights reserved   do not disassemble, remodel or repair.  disassembly, remodeling or repair may cause injury, failure, or data loss.  do not drop.  dropping may cause injury.   do not touch sharp edges or pins of the drive.  sharp protrusions etc. may cause injury.  hold the drive by both sides when carrying it. safety
toshiba corporation digital media network company page 6 of 153 ? 2003, copyright toshiba corporation all rights reserved   observe the following to prevent failure, malfunction or data loss.  ? follow the specifications for 7. power supply (page17), 9. environment (page 22, 23), etc. when using.  failure to do so may cause damage to the drive. ? observe cautions in 8.3 mounting instruction (page18) and 10.6 load / unload  (page27 ) when handling, setting up, or using the drive. ? take anti-static measures in order to avoid damage to the drive when handling it.  the drive uses parts susceptible to dam age due to esd (electrostatic discharge).  wear esd proof wrist strap in accordance with the usage s pecified when handling a drive that is not in an anti-static protection bag. ? there is a certain probability of the drive causing failure including data error or data loss.  take preventive steps such as backing up data etc. without exception in order to prevent loss etc. in cases where data loss may result in loss or damage.  please include this in the instruction manual etc. of the system in which th is device is used and ensure that users are made thoroughly aware of it. ? inserting or pulling out the drive when the power is turned on may cause damage to the drive.  exchange the drive etc. after the power of hdd is turned off. ? extreme shock to the drive may cause damage to it, data corruption, etc..  do not subject the drive to extreme shock such as dropping, upsetting or crashing against other objects. ? do not touch the top cover since application of force to it may cause damage to the drive. ? do not stack the drive on another drive or on other parts etc. or stack them on top of it during storage or transportation.  shock or weight may cause parts distortion etc.. ? labels and the like attached to the drive are also used as a seal for maintenance of its performance.  do not remove them from the drive. ? attachment of dielectric materials such as metal powder, liquid, etc. to live parts such as printed circuit board patterns or pins etc. may cause damage to the drive.  avoid attachment of these materials. ? do not place objects which generate magnetic fields such as magnets, speakers, etc. near the drive. magnetism may cause damage to the drive or data loss. note safety
toshiba corporation digital media network company page 7 of 153 ? 2003, copyright toshiba corporation all rights reserved table of contents 1. scope.......................................................................................................................... .............................. 11 2. general de scripti on............................................................................................................ ........... 11 3. key feat ures ................................................................................................................... .................... 13 4. basic speci ficatio n ............................................................................................................ .............. 15 5. performa nce .................................................................................................................... ................... 16 6. power requi remen ts ............................................................................................................. ......... 17 6.1 s upply v oltage ............................................................................................................................... ......17 6.2 p ower c onsumption .............................................................................................................................17 6.3 e nergy c onsumption e fficiency .......................................................................................................17 7. mechanical sp ecificat ions ...................................................................................................... ... 18 7.1 d imension and weight ..........................................................................................................................18 7.2 d rive o rientation ............................................................................................................................... .18 7.3 m ounting i nstructions .......................................................................................................................18 7.3.1 installa tion ................................................................................................................... ...................19 8. environmenta l limits........................................................................................................... ......... 22 8.1 t emperature and h umidity .................................................................................................................22 8.1.1 temperature .................................................................................................................... ................22 8.1.2 humidi ty ....................................................................................................................... ...................22 8.2 v ibration ............................................................................................................................... .................22 8.3 s hock ............................................................................................................................... .......................22 8.4 a ltitude ............................................................................................................................... ..................23 8.5 a coustics  s ound p ower  ................................................................................................................23 8.6 s afety s tandards ............................................................................................................................... ..24 8.7 emc a daptability ............................................................................................................................... .25 8.8 m agnetic f ields ............................................................................................................................... ....25 9. reliabi lity.................................................................................................................... ........................ 26 9.1 e rror r ate ............................................................................................................................... ..............26 9.1.1 non - recoverable error rate ......................................................................................................... 26 9.1.2 seek erro r rate ................................................................................................................ ...............26 9.2 m ean t ime to f ailure (mttf) ............................................................................................................26 9.3 p roduct l ife ............................................................................................................................... ...........26 9.4 r epair ............................................................................................................................... ......................26 9.5 p reventive m aintenance (pm) ...........................................................................................................26 9.6 l oad /u nload ............................................................................................................................... ...........27 10. host in terf ace ................................................................................................................. .............. 28 10.1 c abling ............................................................................................................................... ....................28 10.1.1 interface connect or............................................................................................................ .............28 10.2 e lectrical specification ....................................................................................................................29 10.2.1 cable length an d capaci tance................................................................................................... ......29 10.2.2 dc input/output characteri stics................................................................................................ ....29 10.3 i nterface connector ...........................................................................................................................30 10.3.1 ata interfac e connector ........................................................................................................ .........30 10.3.2 pin assi gnment ................................................................................................................. ..............31 10.3.3 signal tr eatment ............................................................................................................... .............32 10.3.4 series re sistance.............................................................................................................. ................33 10.3.5 signal des criptio n ............................................................................................................. ..............33
toshiba corporation digital media network company page 8 of 153 ? 2003, copyright toshiba corporation all rights reserved 10.4 h ost i nterface t iming ........................................................................................................................ 35 10.4.1 program i/o wr ite ti ming....................................................................................................... ...... 35 10.4.2 program i/o re ad ti ming........................................................................................................ ...... 36 10.4.3 multiword dma write ti ming ..................................................................................................... .37 10.4.4 multiword dma read ti ming ...................................................................................................... .38 10.4.5 ultra dma timing ............................................................................................................... .......... 39 10.4.6 reset ti ming ................................................................................................................... ................ 48 10.5 g rounding ............................................................................................................................... .............. 48 10.6 a ddress d ecoding ............................................................................................................................... .49 10.7 r egister d escription .......................................................................................................................... 50 10.7.1 data re gister .................................................................................................................. ................ 50 10.7.2 error re gister ................................................................................................................. ................ 51 10.7.3 features register (write pr ecompensation register ) ................................................................. 51 10.7.4 sector count regi ster.......................................................................................................... ........... 52 10.7.5 sector number regi ster ......................................................................................................... ........ 53 10.7.6 cylinder low regist ers ......................................................................................................... ......... 53 10.7.7 cylinder high regist ers........................................................................................................ ......... 53 10.7.8 device/head regist er ........................................................................................................... .......... 54 10.7.9 status re gister ................................................................................................................ ............... 55 10.7.10 command re gister............................................................................................................... ....... 56 10.7.11 alternate stat us regi ster...................................................................................................... ..... 58 10.7.12 device contro l regi ster ........................................................................................................ ...... 58 10.7.13 device addre ss regi ster ........................................................................................................ ...... 58 10.8 c ommand d escriptions ....................................................................................................................... 60 10.8.1 nop ( 00h) ..................................................................................................................... ................. 61 10.8.2 recalibrate (1xh) ............................................................................................................. ............. 61 10.8.3 flush cache (e7h)............................................................................................................. ........... 61 10.8.4 flush cache ex t ( eah) ......................................................................................................... ..... 61 10.8.5 read sector (20h/ 21h)......................................................................................................... ......... 62 10.8.6 read sector ext ( 24h) ......................................................................................................... ....... 62 10.8.7 write sector (30h/ 31h)........................................................................................................ ......... 63 10.8.8 write sector ext ( 34h) ........................................................................................................ ....... 63 10.8.9 read verify (40h) ............................................................................................................. ............ 64 10.8.10 read verify ext ( 42h) ......................................................................................................... .... 64 10.8.11 write verify (3ch) ............................................................................................................ ........ 65 10.8.12 format track (50h) ........................................................................................................... ..... 65 10.8.13 seek (7xh ).................................................................................................................... .............. 66 10.8.14 toshiba sp ecif ic............................................................................................................... ............ 66 10.8.15 execute diagnost ics ( 90h)..................................................................................................... ... 67 10.8.16 initialize device para meters (91h) ......................................................................................... 67 10.8.17 download microco de ( 92h)...................................................................................................... .68 10.8.18 read multiple (c4h) ........................................................................................................... ...... 69 10.8.19 read multiple ext ( 29h) ....................................................................................................... .. 70 10.8.20 write multiple (c5h) .......................................................................................................... ...... 70 10.8.21 write multiple ext ( 39h) ...................................................................................................... .. 72 10.8.22 set multiple mo de (c 6h)....................................................................................................... ... 72 10.8.23 read dma (c8h/c 9h)............................................................................................................ ... 73 10.8.24 read dma ex t (25h) ............................................................................................................ .. 73 10.8.25 write dma (cah/ cbh) ........................................................................................................... .74 10.8.26 write dma ex t (35h) ........................................................................................................... .. 74 10.8.27 power contro l (e xh)........................................................................................................... ...... 75 10.8.28 read buffer (e4h)............................................................................................................. ........ 77 10.8.29 write buffer (e8h)............................................................................................................ ........ 77 10.8.30 identify devi ce ( ech)......................................................................................................... ...... 77 10.8.31 set max (f9h).................................................................................................................. ......... 91 10.8.32 set max address ext (37h ) ............................................................................................... 94 10.8.33 read native max a ddress (f8h) ........................................................................................... 94 10.8.34 read native max addr ess ext (27h) ................................................................................... 95
toshiba corporation digital media network company page 9 of 153 ? 2003, copyright toshiba corporation all rights reserved 10.8.35 set features (efh)............................................................................................................ ........96 10.8.36 security set passw ord (f 1h) .......................................................................................97 10.8.37 security unloc k (f2h ).....................................................................................................98 10.8.38 security erase p repare (f 3h) .....................................................................................98 10.8.39 security erase uni t (f4h)..............................................................................................99 10.8.40 security freeze lo ck (f5h) ..........................................................................................99 10.8.41 security disable pa ssword (f 6h) ............................................................................100 10.8.42 smart function set (b0h ) ......................................................................................................1 00 10.8.43 read log ex t (2fh) ............................................................................................................ ...121 10.8.44 write log ex t (3fh) ........................................................................................................... ...127 10.8.45 device configur ation (b 1h)..................................................................................................... ..127 10.9 s ecurity m ode f eature s et ..............................................................................................................135 10.9.1 security mode default setting.................................................................................................. .....135 10.9.2 initial setting of the user password ........................................................................................... ..135 10.9.3 security mode operat ion from po wer-on......................................................................................136 10.9.4 password lost .................................................................................................................. ...............137 10.9.5 command table .................................................................................................................. ..........138 10.10 s elf -m onitoring , a nalysis and r eporting t echnology .........................................................139 10.10.1 attrib utes ..................................................................................................................... ..............139 10.10.2 attributes values .............................................................................................................. .........139 10.10.3 smart function de fault se tting...............................................................................................13 9 10.11 a daptive p ower m ode c ontrol ....................................................................................................140 10.11.1 performanc e idle............................................................................................................... .........140 10.11.2 active idle .................................................................................................................... ..............140 10.11.3 low powe r id le ................................................................................................................. .........140 10.11.4 transition time ................................................................................................................ ..........140 10.12 r eset ............................................................................................................................... ..................141 10.13 d rive 0/d rive 1 c onfiguration ......................................................................................................142 10.14 c ache m emory ............................................................................................................................... ..143 10.14.1 cache opera tions............................................................................................................... ........143 10.14.2 notes for wr ite cache .......................................................................................................... .......143 10.15 a utomatic w rite r eallocation ...................................................................................................143 11. protoc ol ....................................................................................................................... ................... 144 11.1 pio data in commands ........................................................................................................................145 11.2 pio data out commands .....................................................................................................................145 11.3 n on - data commands ...........................................................................................................................147 11.4 dma data transfer commands .........................................................................................................149 11.5 u ltra dma............................................................................................................................ ...............150 11.6 o ther timings ............................................................................................................................... .......153
toshiba corporation digital media network company page 10 of 153 ? 2003, copyright toshiba corporation all rights reserved table of figures f igure 1 mk3006gal d imensions ................................................................................................................20 f igure 2 MK6006GAH/mk4006gah d imensions ............................................................................21 f igure 3 ata interface connector ............................................................................................................................... .30 f igure 4 p assword set security mode power - on flow .........................................................................................136 f igure 5 u ser password lost ............................................................................................................................... ........137 f igure 6 o ptional jumper for d rive 0/d rive 1 .........................................................................................................142 t able 10.3-1 s ignal pin assignment ............................................................................................................................... .31 t able 10.3-2 s ignal treatment ............................................................................................................................... ........32 t able 10.6-1 r egister map ............................................................................................................................... .................49 t able 10.6-2 d ecode l ogic ............................................................................................................................... ................49 t able 10.7-1 d iagnostic mode error register ..............................................................................................................51 t able 10.7-2 c ommand c ode ............................................................................................................................... .............57 t able 10.8-1 i dentify i nformation ............................................................................................................................... ..78 t able 10.8-2 i dentify i nformation (c ontinued )...........................................................................................................79 t able 10.8-3 i dentify i nformation (c ontinued )...........................................................................................................80 t able 10.8-4 i dentify i nformation (c ontinued )...........................................................................................................81 t able 10.8-5 i dentify i nformation (c ontinued )...........................................................................................................82 t able 10.8-6 set max f eatures register values .......................................................................................................91 t able 10.8-7 set max set password data content ...............................................................................................92 t able 10.8-8 d evice c onfiguration i dentify data stracture .................................................................................129 t able 10.8-9 d evice c onfiguration o verlay data stracture .................................................................................132 t able 10.9-1 s ecurity mode command actions ...........................................................................................................138 t able 10.12-1 i nitialization of t ask f ile registers ...................................................................................................141 t able 11.6-1 o ther timings . .............................................................................................................................. .............153
toshiba corporation digital media network company page 11 of 153 ? 2003, copyright toshiba corporation all rights reserved 2. scope this document describes the specif ications of the following model, mk3006gal /mk4006gah/MK6006GAH of 1.8- inch type winchester disk drives. . factory number sales number hdd1442 mk3006gal hdd1564 mk4006gah hdd1544 MK6006GAH 3. general description the mk3006gal/mk4006gah/MK6006GAH which is noted hereinafter as l mk3006gal/mk4006gah/MK6006GAH z or as l the drive z comprises a series of intelligent disk drives . the drive features an ata-2 / 3 / 4 / 5 / 6 interf ace embedded controller that requires a simplified adapter board for interfacing to an at or at compatible bus . the drives employ winchester technology and a closed loop servo control system which have m ade high recording density of 149.6 m bit/mm 2 (96.5g bit/in 2 )(mk3006gal/MK6006GAH), 131.7 m bit/mm 2 (85.0g bit/in 2 )(mk4006gah)and average access time of 15 msec with highest reliability of 300,000 hours for mttf (mean time to failure) possible. the drive is distinctive for its small and light body. the mk3006gal/mk4006gah/MK6006GAH consists of an hda (head disk assembly) and a printed circuit board. the hda has a sealed modul e which contains a disk spindle assembly, a head actuator assembly and an air filt ration system. this hda adopts wi nchester technology which enhances high reliability. the actuator is a rotary voice coil motor which enables high-speed access. the disk is driven directly by a dc sp indle motor. air filtration is provi ded by a high performance air filtration system using both breather and circulation filters. the drive provides a carriage lock mechanism which is activated automatically upon power down in order to prevent head/media from being damaged when it is not operating or under shipment. the printed circuit board which is set externally to the hda and equipped with all the electric circuitry necessary to operate the drive exc ept the head drivers . the power s upply and interface signal connectors are mounted on the board. only the head control ic?s are located within the hda. the circuitry perform the following functions: read/write, task file control, spindle motor contro l, seek and head positioning servo control, abnormal condition detection and shock sensor control.
toshiba corporation digital media network company page 12 of 153 ? 2003, copyright toshiba corporation all rights reserved   do not disassemble, remodel or repair.  disassembly, remodeling or repair may cause injury, failure, or data loss. ? there is a certain probability of the drive causing failure including data error or data loss.  take preventive steps such as backing up data etc. without exception in order to  prevent loss etc. in cases where data loss may result in loss or damage. ? do not touch the top cover since application of force to it may cause damage to the drive. ? do not stack the drive on another drive or on other parts etc. or stack them on top of it during storage or transportation.  shock or weight may cause parts distortion etc.. ? labels and the like attached to the drive are also used as hermetic sealing for maintenance of its performance.  do not remove them from the drive. note safety
toshiba corporation digital media network company page 13 of 153 ? 2003, copyright toshiba corporation all rights reserved 4. key features ? high capacity in smallest size . 1.8 inch-type 2 platters accommoda ting formatted capacity of 60.0116gb (MK6006GAH)/40.000gb(mk4006gah), 1 platter accommodating formatte d capacity of 30.0058gb(mk3006gal). . slim ( mk3006gal: 5 mm in height, MK6006GAH: 8mm in height) and light (mk3006gal: 51 gram in weight, MK6006GAH/mk4006gah: 62 gram in weight) design. ? fast access and fast transfer rate . quick spin up of spindle motor 3 sec. . average access time 15 msec enabled by optimized balan ce of a head actuator assembly and an efficiently designed magnet of rotary vcm. . bus transfer rate up to 100 megabytes per second and disk transfer 283 megabits maximum per second,(mk3006gal/MK6006GAH),265 megabits maximum per second. (mk4006gah) . read ahead cache and write cach e enhancing system throughput. ? intelligent interface . ata-2/ata-3/ata-4/ata-5/ ata-6 interface supported. . ultra100 supported. . quick address conversion in translation mode. . translation mode which enables any drive configuration. . lba (logical block address) mode. . multi word dma,  ultra-dma  modes  and  advanced pio mode supported. ? data integrity . automatic retries and corrections for read errors. . 520 bits computer generated ecc polynomial with 10 bits symbol 24 burst on-the-fly error correction capability. ? high reliability . powerful self- diagnostic capability. . shock detection with shock sensor circuit for high immunity against operating shock up to 4,900 m/s 2 ( 500 g ). . automatic carriage lock secures heads on the ramp with high immunity against non operating shock up to 14,700 m/s 2 (1,500g). ? low power consumption ? supply voltage: 3.3v
toshiba corporation digital media network company page 14 of 153 ? 2003, copyright toshiba corporation all rights reserved . low power consumption by adaptive power mode control .
toshiba corporation digital media network company page 15 of 153 ? 2003, copyright toshiba corporation all rights reserved 5. basic specification model mk3006gal MK6006GAH mk4006gah formatted capacity ( gigabytes ) 30.0058 60.0116 40.000 number of sectors 58, 605,120 117,210,240 78,126,048 servo design method sector servo recording method 60/61 me2pr4+mnp recording density track / mm (tpi ) 4704 (119.5k) 4331 (110k) typ. bit / mm ( bpi ) 31.8k (808k ) max. 29.0k (737k ) max. flux change / mm ( frpi ) 32.3k (821k ) max. 29.5k (750k ) max. number of disks 1 2 number of data heads 2 4 number of user data cylinders 55,728 38,160 bytes per sector 512
toshiba corporation digital media network company page 16 of 153 ? 2003, copyright toshiba corporation all rights reserved 6. performance mk3006gal MK6006GAH mk4006gah access time ( msec ) <*1> track to track seek <*2> 3 average seek <*3> 15  max. seek <*4> 26 rotation speed ( rpm ) 4,200 + 0.1% average latency time ( msec ) 7.14 internal transfer rate ( mbits / sec ) 131.1  283.3 155  265 host transfer rate ( mbytes / sec ) ultra dma mode 100 pio mode 16.6 sector interleave 1:1 track skew yes buffer size ( mbytes ) 2 2 or 8 2 cache read ahead cache write cache start time <*5> ( up to drive ready) 3.5 sec ( typical ) 20 sec ( maximum ) recovery time from stand- by <*5> 3 sec ( typical ) 20 sec ( maximum ) command overhead ( msec ) 1 <*1> under the condition of normal voltage, 25 o c normal temperature and bottom side down. <*2> average time to seek all possibl e adjacent track without head switching. <*3> weighted average time to travel between all po ssible combination of track calculated as below. weighted average access time = [ sum of p(n)*t (n) ] / [ sum of p(n) ], n = 1 to n. where, n ; total number of tracks. p(n); total number of seek for stroke n [ = 2*(n - n) ]. t(n); average seek time for stroke n. average seek time to seek to stro ke n is the average time to 1,000 seeks for stroke n, with random head switch. <*4> average time for 1,000 full stroke seeks with random head switches. <*5> typical values are for the condition of normal voltage, 25 o c normal temperature and placing bottom side down. maximum values are for all conditions specified in this document.
toshiba corporation digital media network company page 17 of 153 ? 2003, copyright toshiba corporation all rights reserved 7. power requirements 7.1 supply voltage allowable voltage 3.3v + 5% allowable noise/ripple 70 mv p-p or less (note 1) when dc power is interrupted,+3.3v voltage drop must be greater than or equal 0v. 7.2 power consumption average(note 1) mk3006gal ? MK6006GAH ? mk4006gah start 1.2 w maximum seek (note 2) 1.1 w typical read / write(note 3) 1.1 w typical active idle (note 4 ) 0.4 w typical low power idle (note 5) 0.3 w typical stand- by (note 6) 0.12 w typical sleep 0.07 w typical (note 1) under normal condition ( 25 o c, 101.3 kpa ( 1,013 mb ) ) and 3.3v + 0%. (note 2) the seek average current is specified based on three operations per 100 ms. (note 3) the read/write current is specified based on three operations of 63 sector read/write per 100 ms. (note 4) motor is rotating at normal speed but none of read, write or seek is executed. (note 5) motor is rotating at normal speed but heads are unloaded on the ramp. (note 6) motor is not rotating and heads are unloaded on the ramp. 7.3 energy consumption efficiency energy consumption efficiency (w/gb) classification power consumption at low power idle / capacity mk3006gal 0.010 d mk4006gah 0.0075 e MK6006GAH 0.005 e energy consumption efficien cy is calculated in accord ance with the law regardi ng efficiency of energy consumption :energy saving law,1979 law number 49. calculation of energy consumption is dividing consumed energy by the capacity. the consumed energy and capacity shall be meas ured and specified by the energy saving low.
toshiba corporation digital media network company page 18 of 153 ? 2003, copyright toshiba corporation all rights reserved 8. mechanical specifications 8.1 dimension and weight mk3006gal MK6006GAH/mk4006gah width (mm) 54.0 0.2 height (mm) 5.0 + 0.15 8.0 + 0.15 depth (mm) 78.5 0.3 warpage (mm) interconnected area width (shorter side) depth (longer side) 0.15 max. 0.35 max. substrate area (thickness including warpage) 5.35 max. 8.35 max. weight 51 max. 62 max. figure 1 and figure 2 show an outline of the drive. 8.2 drive orientation the drive can be installed in all axes (6 directions). 8.3 mounting instructions  ? take anti-static measures in order to avoid damage to the drive when handling it. the drive uses parts susceptible to damage due to esd (electrostatic discharge). wear esd proof wrist strap in accordance with the usage specified when handling a drive that is not in an anti-static protection bag. ? extreme shock to the drive may cause damage to it, data corruption, etc..  do not subject the drive to extreme shock such as dropping, upsetting or crashing against other objects. ? do not place objects which generate magnetic fields such as magnets, speakers, etc. near the drive. magnetism may cause damage to the drive or data loss.  note safety
toshiba corporation digital media network company page 19 of 153 ? 2003, copyright toshiba corporation all rights reserved 8.3.1 installation 1) the drive should be interconnected of mounted carefully on the surface of 0.1mm or less flatness to avoid excessive distortion. 2) the drive can be easily damaged by shocks. in order to prevent the damege, avoid giving shock to the drive. 3) don?t apply any force to the top cover. 4) the drive contains several parts which may be easily damaged by esd(electric static discharge). avoid touching the interface connector pins and surface of pcb. 5) the temperature of top cover and the base must always be kept under 65 c to maintain the required reliability. (if the drive runs continuousely or spins- up frequently, the temperature of the top cover may rise to 15 c maximum. if the drive is used in ambient temperature of 50 c or more, it should be kept where adequate ventilation is available to keep the temperature of top cover under 65 c) 6) be careful when removing the drive from the hos t device. the drive may have heated up during operation. 7) do not disassemble, modify or repair. 8) a rattle heard when the drive is moved is not a sign of failure. 9) provision for tying the dc logic ground and the cha ssis ground together or for separating these ground is user specific. agreeable locations of chassis ground are in figure 1 and figure 2.
toshiba corporation digital media network company page 20 of 153 ? 2003, copyright toshiba corporation all rights reserved figure 1 mk3006gal dimensions unit: m m
toshiba corporation digital media network company page 21 of 153 ? 2003, copyright toshiba corporation all rights reserved figure 2 MK6006GAH/mk4006gah dimensions unit: mm
toshiba corporation digital media network company page 22 of 153 ? 2003, copyright toshiba corporation all rights reserved 9. environmental limits 9.1 temperature and humidity 9.1.1 temperature operating 5 o c- 60 o c gradient 15 o c / hour maximum non- operating - 20 o c- 65 o c gradient 15 o c / hour maximum under shipment - 40 o c- 70 o c gradient 30 o c / hour maximum ( packed in toshiba?s original shipping package. ) the temperature of top cover and base must be kept under 65 ? at any moment to maintain the desire reliability. 9.1.2 humidity operating 8%- 90% r.h. ( no condensation. ) non- operating 8%- 90% r.h. ( no condensation. ) under shipment 5%- 90% r.h. ( packed in toshiba?s original shipping package. ) max. wet bulb 29 o c (operating) 40 o c (non- operating) 9.2 vibration operating 4 mm p-p displacement. 5-15 hz no unrecoverable error. 19.6 m/s 2 ( 2.0g ) 15- 500 hz sine wave sweeping 1 oct./ minute no unrecoverable error. non operating 10 mm p-p displacement. 5-15 hz no unrecoverable error. 49 m/s 2 ( 5.0g ) 15- 500 hz sine wave sweeping 1 oct./ minute no unrecoverable error. 9.3 shock operating 4,900 m/s 2 ( 500g ) 2 msec half sine wave repeated twice maximum / second no unrecoverable error. non- operating 14,700 m/s 2 ( 1500g ) 1 msec half sine wave repeated twice maximum / second no unrecoverable error. under shipment 70 cm free drop no unrecoverable error. apply shocks in each direction of the drive?s three mutually perpendicular axes, one axis at a time. ( packed in toshiba?s original shipping package. )
toshiba corporation digital media network company page 23 of 153 ? 2003, copyright toshiba corporation all rights reserved 9.4 altitude operating - 300 m to 3,000 m non operating - 400 m to 15,000 m 9.5 acoustics  sound power  mk3006gal MK6006GAH/ mk4006gah 16db 18db for idle mode ( spindle in rotating ). 22db 24db randomly select a track to be sought in such a way thatevery track has equal probability of being selected. seek rate(n s ) is defined by the following formura: n s = 0.4 / ( t t = t l ) t t is published time to seek fr om one randam track to another without including rotational latency; t l is the time for the drive to ratate by half a revolution. measurements are to be taken in accordance with iso 7779.
toshiba corporation digital media network company page 24 of 153 ? 2003, copyright toshiba corporation all rights reserved 9.6 safety standards the drive satisfies the following standards . mk3006gal MK6006GAH/mk4006gah underwriters laboratories (ul) 1950 canadian standard association (csa)c22.2 no.950 tuv rheinland en 60 950 bureau of standards,metrology and ins p ection d33003 ministry of information and c ommunication (note1) (note 1) marks of ministory of information and communication mk3006gal MK6006GAH made in japan made in philippines made in china made in indonesia mk4006gah made in japan made in philippines made in china made in indonesia MK6006GAH 2004-06 2004-06 toshiba corporation toshiba corporation toshiba corporation toshiba corporation toshiba corporation toshiba corporation MK6006GAH MK6006GAH e-h011-04-2071(b) e-h011-04-2071(b) e-h011-04-2071(b) 2004-06 2004-05 toshiba corporation toshiba corporation mk3006gal toshiba corporation toshiba corporation e-h011-04-2071(b) 2004-05 2004-05 toshiba corporation toshiba corporation mk3006gal e-h011-04-2071(b) e-h011-04-2071(b) mk3006gal MK6006GAH e-h011-04-2071(b) toshiba corporation toshiba corporation / 2004-06 toshiba corporation / 2004-05 toshiba corporation e-h011-04-2071(b) mk3006gal 2004-08 toshiba corporation toshiba corporation e-h011-04-2071(b) mk4006gah toshiba corporation toshiba corporation e-h011-04-2071(b) 2004-08 2004-08 toshiba corporation toshiba corporation mk4006gah e-h011-04-2071(b) mk4006gah toshiba corporation / 2004-08 toshiba corporation e-h011-04-2071(b) mk4006gah
toshiba corporation digital media network company page 25 of 153 ? 2003, copyright toshiba corporation all rights reserved emc adaptability the drive satisfies the following standards . mk3006gal MK6006GAH/mk4006gah en5008m1-e1  en55022  : 1998 class b en50081-1 en61000-3-2 : 1995 en61000-3-3 : 1995 en55024 en61000-4-2 : 1995 en61000-4-3 : 1995 env50204 : 1995 en61000-4-4 : 1995 en61000-4-5 : 1995 en61000-4-6 : 1996 en61000-4-11 : 1994 9.7 magnetic fields the disk drive shall work without degradation of the soft error rate under the following magnetic flux density limits at the enclosure surface. mk3006gal/ MK6006GAH/mk4006gah 0.6mt(6gauss)
toshiba corporation digital media network company page 26 of 153 ? 2003, copyright toshiba corporation all rights reserved 10. reliability a failure is defined as an inability of the drive to perfo rm its specified function de scribed in the requirements of this document when being operated under the normal condi tions or conditions spec ified in this document. however , damages caused by operation mistake, mi shandling, accidents, sy stem errors and other damages that can be induced by the cust omers are not defined as failure. . 10.1 error rate 10.1.1 non - recoverable error rate 1 error per 10 13 bits read the defective sectors allocated to the spare locations in the factory are not counted in the error rate. 10.1.2 seek error rate 1 error per 10 6 seeks a seek error is a positioning error recoverable by a retry including recalibration. 10.2 mean time to failure (mttf) a failure means that the drive can not execute t he function defined in this document under the nominal temperature, humidity and the other conditions specified in this docum ent . damages caused by operation mistake, mishandling, system failure and other damages occurred under the conditions which are not described in this document are not considered as the failure. mttf 300,000 hours conditions power on hours 2,800 hours ( 200 days x 14 hours ) / year) operating hours 600 hours ( 200 days x 3 hours ) / year) seek hours 1.30 x 10 6 seeks / month number of load / unload 70 times / hour ( 60,000 times / year ) environment normal ( 25 o c, 101.3 kpa ( 1,013 mb ) ) 10.3 product life 5 years or 20,000 power on hours whichever comes earlier 10.4 repair a defective drive should be replaced. parts and s ubassemblies should not be repaired individually . 10.5 preventive maintenance (pm) no preventive maintenance is required.
toshiba corporation digital media network company page 27 of 153 ? 2003, copyright toshiba corporation all rights reserved 10.6 load/unload be sure to issue and complete the following commands for unloading before cutting off the power supply. following table shows the specific ation for normal load/unload cycles. load/unload cycle (times) environment 600,000 room temperature 300,000 operational temperature range unload is executed by the following commands : ~ standby ~ standby immediate ~ sleep ~ hard reset load/unload is also executed as one of the idle modes of the drive. if the power supply is cut when the head is on a m edia, emergency unload is performed by routing the back-emf of spm to the voice coil. in th is case, emergency unload is performed 20,000 times maximum. emergency unload should be used only when the host-system cannot perform normal operation.
toshiba corporation digital media network company page 28 of 153 ? 2003, copyright toshiba corporation all rights reserved 11. host interface related standards information technology - at attachment interface with extensions (ata-2) x3t10.279-199x information technology - at attachment-3 interface (ata-3) x3t10/2008d revision 6 october 26, 1995 information technology - at attachment with packet interface extension (ata -4) t13/1153d revision 17 october 30, 1997 information technology - at attachment with packet interface-5 interface-5 (ata-5) t13/1321d revision 2 december 13, 1999 information technology - at attachment with packet interface-6 (ata-6) t13/1410d revision 3b february 26, 2002 11.1 cabling 11.1.1 interface connector drive side connector ddk ltd, mcd-d50sa-3 recommended host side connector ddk ltd, mcd-d50p*-x * : b, c, d the difference of connector height
toshiba corporation digital media network company page 29 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.2 electrical specification 11.2.1 cable length and capacitance 0.46m max 35pf max 11.2.2 dc input/output characteristics 11.2.2.1 input item unit value voltage high (note 1) v 2.0 to 5.5 low v -0.3 to 0.8 leak current a + 10 (note 2) as non-connected logic voltage, input voltage level is from -0.3v to 0.5v. (note 1) the max. input range of signal is from -0.3v to 5.5v . (note 2) except for signal lines pulled up as shown in table 10.3.3-1 11.2.2.2 output item unit value note voltage high v 2.4 min. i oh = - 1ma low v 0.4 max. i ol = 4ma
toshiba corporation digital media network company page 30 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.3 interface connector 11.3.1 ata interface connector unit:mm figure 3 ata interface connector
toshiba corporation digital media network company page 31 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.3.2 pin assignment the following table describes all of the pins on the task file interface. table 11.3-1 signal pin assignment pin no. signals pin no. signals 1 - reset 2 ground 3 dd 7 4 dd 8 5 dd 6 6 dd 9 7 dd 5 8 dd 10 9 dd 4 10 dd 11 11 dd 3 12 dd 12 13 dd 2 14 dd 13 15 dd 1 16 dd 14 17 dd 0 18 dd 15 19 ground 20 open 21 dmarq 22 ground 23 - diow 24 ground stop 25 -dior 26 ground -dmardy hstrobe 27 iordy 28 csel -dmardy -dstrobe 29 -dmack 30 ground 31 intrq 32 - iocs16 33 da 1 34 - pdiag ? -cblid 35 da 0 36 da 2 37 - cs0 38 - cs1 39 - dasp 40 ground 41 + 3.3v 42 + 3.3v 43 ground 44 reserved note) symbol (-) in front of signal name shows negative logic.
toshiba corporation digital media network company page 32 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.3.3 signal treatment driver types and requirements for the signal pull- up and down are as follows. resistor requi rement is minimum for the host. - io16 is pulled up in the drive with certain value so that the vol is obtained to run with a host that has large value o f pull up resistor. - cs0 and - cs1 are also pulled up for better noise immunity. table 11.3-2 signal treatment signal driven by type by host by drive - reset host tp 10k 
pu dd 0:15 b i-direction ts dmar q drive ts 5.6 k ? ? ? ? ? ? ? drive ts 10 k ? ?
toshiba corporation digital media network company page 33 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.3.4 series resistance each signal has its own series resistance. signal serial resistance value -dior 82 
-hdmardy hstrobe -diow 82 
stop -cs0, -cs1 82 
da0,da1,da2 82 
-dmack 82 
dmarq 22 
intrq 22 
iordy -ddmardy dstrobe 22 
dd  ? dd15 33 
11.3.5 signal description signal dir. pin description - reset o (*1) 1 reset signal from the host system; it shall be active low when system is powered-up or when voltage fault is detected. dd 15- 0 i/o 18- 3 16 bit bi- directional data bus bet ween the host system and t he drive. all 16 bits are used for data transfer in the data r egister. the lower 8 bits, hd0- hd7, are used for the other register and ecc access. key n/c 20 pin position 20 has no connection pin, clipped on the drive and plugged on the cable in order to ensure correct ori entation of the cable and to avoid wrong insertion. dmarq i 21 dma request signal is set by the driv e to indicate that the dma data transfer is ready. the direction of the data transfer is controlled by wr ite/read strobe signal (host iow or host ior). this signal is used on a hand shake manner with - dmack. - diow stop o 23 write strobe. the rising clocks data fr om the host data bus, hd0 through hd15 to a register or data regi ster of the drive. stop signal used by the host after the completion of ultra dma burst. - dior -hdmardy hstrobe o 25 read strobe. when active low, this signal enables data from a r egister or the data of the drive onto the hos t data bus, hd0 through hd15. the rising edge of -host ior latches on the data on the bus from the drive. this signal is for reporting the drive that the host system is ready to accept ultra dma data. strobe. hstrobe indicates that the hos t transfers ultra dma data. the rising edge and the falling edge of hstrobe enable the drive to latch the data. iordy -ddmardy dstrobe i 27 iordy reports host that the bus is available. -ddmardy is asserted to indicate that t he drive is ready to receive the ultra dma data. strobe. dstrobe is asserted to indicate that the drive transfe rs ultra dma data. the rising edge and falling edge of dstrobe enable the host to latch the data.
toshiba corporation digital media network company page 34 of 153 ? 2003, copyright toshiba corporation all rights reserved csel o 28 if jumper pins b through d are assigned, master/slave setting with this pin is valid. when grounded, the drive recognizes itself as a master. when not grounded, the drive recognizes itself as a slave. - dmack o 29 responding to dmarq, this signal indi cates that the host is ready to receive or send the data. intrq i 31 interrupt to the host system, enabled only when the drive is selected and the host activates the - ien bit in the device contro l register. when the - ien bit is inactive or the drive is not select ed, this output is in a hi gh impedance state, whether an interrupt is set or not. the interrupt is set when the irq bit is set by the drive cpu. irq is reset to zero when host reads the status register or a write to the command register or when drq is negated. - iocs16 i 32 indication to the host system t hat the 16 bit data regi ster has been addressed and that the drive is ready to send or receive a 16 bit data word (open drain). da 1 o 33 address line from the host system to select the regi sters of the drive. - pdiag ? cblid i/o 34 in master/slave mode, this signal repor ts the presence of slave drive to master drive and enables transmitting of diagnostic result between master drive and slave drive da 0 o 35 address line from the host system to select the regi sters of the drive. da 2 o 36 address line from the host system to select the regi sters of the drive. - cs0 o 37 chip select signal generated from the host address bus. this signal is used to select one of the two groups of host accessible registers. - cs1 o 38 chip select signal generated from the host address bus. this signal is used to select one of the two groups of host accessible registers. - dasp i 39 this is a signal from the drive used either to drive an external led whenever the drive is being accessed, or to report pres ence of the slave dr ive to the master when the drive is in master/slave mode. reserved 27,44 reserved for future use. no connection. + 3.3v 41,42 power line. ground 2,19 22,24 26,30 40,43 ground between the drive and the host system. (*1) ? i ? is from the drive to the host system, ? o ? is from the host system to the drive, and ? i/o ? is bi-directional.
toshiba corporation digital media network company page 35 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4 host interface timing 11.4.1 program i/o write timing transfer mode symbol meaning 0 1 2 3 4 t asw address setup to -dow low (min.) 70 50 30 30 25 t ds data setup to -dow high (min.) 60 45 30 30 20 t we -dow pulse width (min.) 165 125 100 80 70 t dh data hold from -dow high (min.) 30 20 15 10 10 t ahw addr hold from -dow high (min.) 20 15 10 10 10 t wer -dow inactive (min.) - - - 70 25 t wcy write cycle time (min.) 600 383 240 180 120 t cicsv -iocs16 valid from -cs (max.) 90 50 40 n/a* n/a* t aicsv -iocs16 valid from address (max.) 90 50 40 n/a* n/a* t aicsi -iocs16 inactive from address (max.) 60 45 30 n/a* n/a* t a iordy setup time (max.) 35 35 35 35 35 t b iordy pulse width (max.) 1250 1250 1250 1250 1250 ( * ) -iocs16 shall be specified in ata- 2 specifications. for other modes, this signal is invalid. the drive releases -iocs16 within the time of t aicsi , but how much time it takes to turn to inactive condition is determined by pull up resistance, output impedance and line capacitance. t asw t ahw t aicsi t a t b t aicsv t cicsv t ds t dh t wcy t wer t we da2, da1, da0 -cs0, -cs1 -diow dd15 dd0 -iocs16 iordy
toshiba corporation digital media network company page 36 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4.2 program i/o read timing transfer mode symbol meaning 0 1 2 3 4 t ase address setup to -dior low (min.) 70 50 30 30 25 t re -dior pulse width (min.) 165 125 100 80 70 t rdse -dior data setup (min.) 50 35 20 20 20 t doh data hold from -dior high (min.) 5 5 5 5 5 t hdts data tri-state from -dior high (max.) 30 30 30 30 30 t ahe addr hold from -dior high (min.) 20 15 10 10 10 t rdr -dior inactive (min.) - - - 70 25 t rdcy read cycle time (min.) 600 383 240 180 120 t cicsv -iocs16 valid from -cs (max.) 90 50 40 n/a* n/a* t aicsv -iocs16 valid from address (max.) 90 50 40 n/a* n/a* t aicsi -iocs16 inactive from address (max.) 60 45 30 n/a* n/a* t rd read data valid to iordy (min.) 0 0 0 0 0 t a iordy setup time (max.) 35 35 35 35 35 t b iordy pulse width (max.) 1250 1250 1250 1250 1250 ( * ) -iocs16 is specified in ata-2 spec ifications. for other modes, this signal is invalid. drive releases -iocs16 within the time of t aicsi , but how long it takes to turn to inactive condition is defined by pull up resistance, output impedance and line capacitance. t ase t ahe t aicsi t a t b t aicsv t cicsv t rdse t doh t rdcy t rdr t re da2, da1, da0 -cs0, -cs1 -dior dd15 dd0 -iocs16 iordy t hdts t dac t rd
toshiba corporation digital media network company page 37 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4.3 multiword dma write timing ata/atapi-6 specifications transfer mode mode 0 mode 1 mode 2 symbol meaning min. max. min. max. min. max. t0 cycle time 480 150 120 t c dmack to dmarq delay --- --- --- t d -diow 16-bit 215 80 70 t g -diow data setup 100 30 20 t h -diow data hold 20 15 10 t i dmack to -diow setup 0 0 0 t j -diow to dmack hold 20 5 5 t k -diow negated pulse width 215 50 25 t l -diow to dmarq delay 40 40 35 t g t l -dmack t h t k t j t i dmarq -diow dd15 dd0 t o t d
toshiba corporation digital media network company page 38 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4.4 multiword dma read timing ata/atapi-6 specifications transfer mode mode 0 mode 1 mode 2 symbol meaning min. ma x. min. max. min. max. t0 cycle time 480 150 120 t c dmack to dmarq delay --- --- --- t d -dior 16-bit 215 80 70 t e -dior data access 150 60 50 t f -dior data hold 5 5 5 t z -dior to tristate 20 25 25 t i dmack to -dior setup 0 0 0 t j -dior to dmack hold 20 5 5 t k -dior negated pulse width 50 50 25 t l -dior to dmarq delay 120 40 35 t e t l -dmack t f t k t j t i dmarq -dior dd15 dd0 t o t d t z
toshiba corporation digital media network company page 39 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4.5 ultra dma timing initiating an ultra dma data in burst dmarq (device) dmack- (host) stop (host) hdmardy- (host) dstrobe (device) dd(15:0) t zad da0, da1, da2, cs0-, cs1- t ui t zad t ack t ack t env t env t ziordy t fs t fs t dvs t az t dvh t ack t zfs t dzfs
toshiba corporation digital media network company page 40 of 153 ? 2003, copyright toshiba corporation all rights reserved sustained ultra dma data in burst t dvh t dvhic dstrobe at device dd(15:0) at device dstrobe at host dd(15:0) at host t cyc t cyc t dvs t dvsic t dh t dhic t ds t dsic t 2cyc t 2cyc t dvh t dvhic t dvh t dvhic t dvs t dvsic t dh t dhic t dh t dhic t ds t dsic host pausing an ultra dma data in burst dmarq (device) dmack- (host) stop (host) hdmardy- (host) dstrobe (device) dd(15:0) (device) t rfs t rp
toshiba corporation digital media network company page 41 of 153 ? 2003, copyright toshiba corporation all rights reserved device terminating an ultra dma data in burst t az t iordyz crc dmarq (device) dmack- (host) stop (host) hdmardy- (host) dstrobe (device) dd(15:0) da0, da1, da2, cs0-, cs1- t ack t li t mli t cvs t li t ack t ack t zah t cvh t ss t li
toshiba corporation digital media network company page 42 of 153 ? 2003, copyright toshiba corporation all rights reserved host terminating an ultra dma data in burst t cvh crc t az dmarq (device) dmack- (host) stop (host) hdmardy- (host) dstrobe (device) dd(15:0) da0, da1, da2, cs0-, cs1- t ack t mli t li t li t iordyz t ack t ack t zah t mli t cvs t rfs t rp
toshiba corporation digital media network company page 43 of 153 ? 2003, copyright toshiba corporation all rights reserved initiating an ultra dma data out burst dmarq (device) dmack- (host) stop (host) ddmardy- (device) hstrobe (host) dd(15:0) (host) da0, da1, da2, cs0-, cs1- t ui t ack t env t ziordy t li t dzfs t dvh t ack t ack t ui t dvs
toshiba corporation digital media network company page 44 of 153 ? 2003, copyright toshiba corporation all rights reserved sustained ultra dma data out burst t dh t dhic t dvh t dvhic hstrobe at host dd(15:0) at host hstrobe at device dd(15:0) at device t cyc t cyc t dvs t dvsic t ds t dsic t 2cyc t 2cyc t dvh t dvhic t dvh t dvhic t dvs t dvsic t dh t dhic t dh t dhic t ds t dsic device pausing an ultra dma data out burst dmarq (device) dmack- (host) stop (host) ddmardy -(device) hstrobe (host) dd(15:0) (host) t rfs t rp
toshiba corporation digital media network company page 45 of 153 ? 2003, copyright toshiba corporation all rights reserved host terminating an ultra dma data out burst dmarq (device) dmack- (host) stop (host) ddmardy- (device) hstrobe (host) dd(15:0) (host) da0, da1, da2, cs0-, cs1- t ack t li t mli t cvs t li t li t ack t iordyz t ack crc t cvh t ss
toshiba corporation digital media network company page 46 of 153 ? 2003, copyright toshiba corporation all rights reserved device terminating an ul tra dma data out burst dmarq (device) dmack- (host) stop (host) ddmardy- (device) hstrobe (host) dd(15:0) (host) da0, da1, da2, cs0-, cs1- t ack t mli t cvs t li t li t ack crc t cvh t ack t iordyz t mli t rp t rfs
toshiba corporation digital media network company page 47 of 153 ? 2003, copyright toshiba corporation all rights reserved ata/atapi specifications transfer mode mode 0 mode 1 mode 2 mode 3 mode 4 mode 5 symbo l meaning min. max. min. max. min. ma x. min. max. min. max. min. max. t cyc cycle time 112 73 54 39 25 16.8 t 2cyc two cycle time 230 153 115 86 57 38 t ds data setup time 15.0 10.0 7.0 7.0 5.0 4.0 t dh data hold time 5.0 5.0 5.0 5.0 5.0 4.6 t dvs data valid setup time 70.0 48.0 31.0 20.0 6.7 4.8 t dvh data valid hold time 6.2 6.2 6.2 6.2 6.2 4.8 t cs crc setup time 15.0 10.0 7.0 7.0 5.0 5.0 t ch crc hold time 5.0 5.0 5.0 5.0 5.0 5.0 t cvs crc valid setup time 70.0 48.0 31.0 20.0 6.7 10.0 t cvh crc valid hold time 6.2 6.2 6.2 6.2 6.2 10.0 t zfs strobe released to driving 0 0 0 0 0 35 t dzfs data released to driving 70.0 48.0 31.0 20.0 6.7 25 t fs first strobe time 0 230 0 200 0 170 0 130 0 120 0 90 t li limit interlock time 0 150 0 150 0 150 0 100 0 100 0 75 t mli interlock time min. 20 20 20 20 20 20 t ui unlimited interlock 0 0 0 0 0 0 t az allowed to release 10 10 10 10 10 10 t zah delay time 20 20 20 20 20 20 t zad delay time 0 0 0 0 0 0 t env envelope time 20 70 20 70 20 70 20 55 20 55 20 50 t rfs ready to final strobe 75 70 60 60 60 50 t rp ready to pause 160 125 100 100 100 85 t iordyz pullup before iordy 20 20 20 20 20 20 t ziordy wait before iordy 0 0 0 0 0 0 t ack setup hold for dack 20 20 20 20 20 20 t ss strobe to dreq/stop 50 50 50 50 50 50
toshiba corporation digital media network company page 48 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.4.6 reset timing t m t n busy - reset symbol meaning minimum maximum unit condition t m reset pulse width (low) 25 s t n reset inactive to bsy active 400 ns 11.5 grounding hda (head disk assembly) and dc ground(ground pins on inte rface) are connected el ectrically each other.
toshiba corporation digital media network company page 49 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.6 address decoding the host addresses the drive using programmed i/o. in this method, the required register address should be placed on the three host address lines, da2 - da0. an appropriate chip is selected and a read or write strode (-dior / -diow) shall be given to the chip. the following i/o map shows definitions of all the r egister addresses and functions for these i/o locations. the descriptions of each register are shown in the next paragraph. table 11.6-1 register map address - cs0 - cs1 ha2 ha1 ha0 read register write register 0 0 x x x invalid address invalid address 0 1 0 0 0 data register data register 0 1 0 0 1 error register feat ures (write precompensation) register 0 1 0 1 0 sector count sector count 0 1 0 1 1 sector number / lba bit 0- 7 sector number / lba bit0-7 0 1 1 0 0 cylinder low / lba bit 8- 15 cylinder low / lba bit8-15 0 1 1 0 1 cylinder high / lba bit16- 23 cylinder high / lba bit16-23 0 1 1 1 0 device head register / lba bit 24- 27 device head register / lba bit 24-27 0 1 1 1 1 status regi ster command register 1 0 0 x x high impedance not used 1 0 1 0 x high impedance not used 1 0 1 1 0 alt. status register device control register 1 0 1 1 1 device address register 1 not used 1 1 x x x high impedance not used ?x? means ?don't care?. the host generates selection of two independent chip s on the interface. the selected high order chip ,-host cs1, is valid only when the host is acce ssing the address of alternate status register, digital output register , and digital input register respectively . the low order chip, host cs0, is used to address all other registers. the following table shows the standard decode logic to connect with isa (industr y standard architecture) bus . table 11.6-2 decode logic register address map decode 1f0-1f7 - cs0 = - ((- a9) (-a3)*(- aen)) 3f6,3f7 - cs1= - (a9*a8*a7*a6*a5*a*a8*a7*a6*a5*a4*4)*(-a3)*(- aen) 170-177 - cs0= - ((- a9)*a8*(- a7)*a6*a5*a4*(- a3)*(- aen) 376,377 - cs1= - (a9*a8*(- a7)*a6*a5*a4)*(- a3)*(- aen) the host data buses 15-8 are valid only when - iocs16 is active. ? - iocs16 is asserted when interface address lines match to data register address. 1 ata-2 notes: this register is obsolete. a device is not s upposed to respond to a read of this address. if a device does respond, it shall be sure not to drive the dd7 signal to prevent possible conflict with floppy disk implementations. the drive supports this register to maintain compatibility for ata-1.
toshiba corporation digital media network company page 50 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7 register description in the following register descriptions, unused write bit should be treated as ?don't care?, and unused read bits should be read as zeros. 11.7.1 data register - cs0 da2-da0 : 0 read / write there are seven commands which execute data transfer fr om/to this register of the sector buffer for read and write operations. the sector table during format command and the data associated with the identify device command shall also be transferred to this register. 11.7.1.1 read/write command the register provides a high speed 16 bit path into the sector buffer with pio and dma. 11.7.1.2 read/write buffer command this command provides 16 bit path betw een host and data buffer in the drive. 11.7.1.3 format command this command provides a path for the parameter including interleave table in a sector length. 11.7.1.4 identify device command drive information is transferred duri ng the execution of this command. 11.7.1.5 security commands password information is transferred during the execution of following four commands. 1) disable password 2) erase unit 3) set password 4) unlock data in the register and on the media correspond to each other as follows: a15 - a8 a7 - a0 transfer 1 d2 d1 transfer 2 d4 d3 : : : : : : transfer 256 d512 d511 d1 d2 --- d512 e1 --- e4 transfer 257 e1 : e2 : : transfer 260 e4 data register data flow on the media
toshiba corporation digital media network company page 51 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.2 error register - cs0 da2-da0 : 1 read only 11.7.2.1 operational mode the following descriptions are bit definitions for the oper ational mode including the error information from the last command. this command is valid only when the error bit (bit 0) is set. icrc unc mc idnf mcr abrt tk0nf amnf bit 7 interface crc error was found dur ing the transfer of ultra dma. 2 bit 6 unc (uncorrectable data error) ? this bit indicates that an uncorrectable erro r has been encountered in the data field during a read command. bit 5 mc (media changed) -- this bit is reserved for use by removable media devices and indicates that new media is available to the operating system. bit 4 idnf (id not found) --the requested sector could not be found. bit 3 mcr (media change requested) is reserved for use by removable media devices and indicates that a request for media removal has been detected by the device. bit 2 abrt (aborted command) -- this bit indicates that the requested command has been aborted due to the reason reported in the drive status register (write fault, not seek complete, drive not ready, or an invalid command). the status registers and the error r egisters may be decoded to identify the cause. bit 1 tk0nf (track 0 not found) -- this bit is set to indi cate that the track 000 has not been found during a recalibrate command. bit 0 amnf (am not found) -- this bit is set to indicate t hat the required data am pattern on read operation has not been found. 11.7.2.2 diagnostic mode the drive enters diagnostic mode immediately afte r the power -on or after an execute diagnostics command. error bit in status register shall not be set in these cases. the following table shows bit values for the diagnostic mode. table 11.7-1 diagnostic mode error register 01 no errors 02 controller register error 03 buffer ram error 04 ecc device error 05 cpu rom/ram error 06-7f reserved 8x drive1 error (see below) when two drives are daisy-chained on the interface, t he drive0 has valid error information for diagnostic mode. when the drive1 detects an error, 80h and or value (01 ? 04) diagnosed by the drive0 are set to the code above mentioned. 11.7.3 features register (write precompensation register) - cs0 da2-da0 : 1 write only write precompensation is automatically optimized by the drive internally. this register is used with set features command. 2 ata-2 notes: prior to the development of ata-2 standard , this bit was defined as bbk (bad bloc k detected) -- this bit was used to indicate that the block mark was detected in the target?s id field. the mark does not exist when shipping from the factory.the mark will be written by format command. read or write commands will not be executed in any data fields marked bad. the drive does not support this bit.
toshiba corporation digital media network company page 52 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.3.1 smart command this command is used with the smar t commands to select subcommands. 11.7.4 sector count register - cs0 da2-da0 : 2 read / write 11.7.4.1 disk access command the sector count register determines the number of se ctors to be read or written for read, write, and verify commands. a 0 in the sector count register specifie s a 256 sector transfer. after normal completion of a command, the content shall be 0. during a multi-sector operation, the sector count is decremented and the sector number is incremented. if an error should occur during multi-sector operation, this command shows the number of remaining sectors in order to avoid duplicated transfer. 11.7.4.2 initialize device parameters command this register determines number of sectors per track. 11.7.4.3 power control command this register returns a value in accordance wi th the operation mode (idle mode or stand-by mode). 11.7.4.4 set features command if features register for this command is 03h, this register sets the data transfer mode.
toshiba corporation digital media network company page 53 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.5 sector number register - cs0 da2-da0 : 3 read / write the target logical sector number (starting from 1) for read, write, and verify commands is set in this register. after completion of a command, it shows the sector number of the last sector transferred to the host. the starting sector number is set in this register fo r multi-sector operations. but when error occurs during multi-sector transfer, it shows the number of the se ctor in which the error has been detected. during multi-sector transfer, the number of the next sect or to be transferred will not necessarily be shown. in lba mode, this register contains bits 0 - 7 logi cal block address. after completion of a command, the register is updated to reflect the current lba bits. 11.7.6 cylinder low registers - cs0 da2-da0 : 4 read / write 11.7.6.1 disk access command lower 8 bits of the starting cylinder number(starting fr om 0) for read, write, seek, and verify commands are contained in these registers. after completion of t he command or sector transfer, the current cylinder is shown in this register. in lba mode, bits 8 - 15 of the target address in l ogical block address are set in this register. after completion of a command, the register is updated to reflect the current lba bits 0 - 7. 11.7.6.2 smart commands this register should be set to 4fh for smart commands 11.7.7 cylinder high registers - cs0 da2-da0 : 5 read / write 11.7.7.1 disk access command the high order bits of the starting cylinder number (s tarting from 0) for read, write, seek, and verify commands are set in this register. after completion of the command or sector transfer, the current cylinder is shown in this register. in lba mode, bits 16 - 23 of the target address in logica l block address are contained in this register. after completion of the command, it shows the bits 0 - 7 of the last logical block address. cylinder high cylinder low register bits 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 cylinder bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
toshiba corporation digital media network company page 54 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.7.2 smart commands this register should be set to c2h for smart commands 11.7.8 device/head register - cs0 da2-da0 : 6 read / write the value of this register is used to select the dr ive, drive0 or drive1, and head. on multiple sector read/write operation that requires to cross track boundar ies, the head select bit will be updated to reflect the currently selected head number. 1 l 1 dev hs3 hs2 hs1 hs0 bit 7 reserved (recommended to set 1) bit 6 l (select lba mode) l=0: chs mode. l=1: lba mode. bit 5 reserved (recommended to set 1) bit 4 dev (device select): - (drive0/drive1 mode) this bit is used to select t he drive. dev= 0 indicates the first fixed disk drive (drive0), and dev= 1 indicates the second (drive1). - (single mode) should be 0. if this is 1, a drive is not selected but 00h shall be re turned to status register. bit 3 - bit 0 hs3-hs0 (head select bits) -- bits 3 through 0 determi ne the required read/writ e head. bit 0 is the least-significant bit. if the l bit is equal to one (l ba mode), the hs3 through hs0 bits contain bits 27 through 24 of the lba.
toshiba corporation digital media network company page 55 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.9 status register -cs0 da2-da0:7 read only this register contains the command status. the cont ents of the register are updated at the completion of each command and whenever the error occurs. the host syst em reads this register in order to acknowledge the status and the resu lt of each operation. when the bsy bit (bit 7) is set, no other bits in the regi ster are valid. and read/wr ite operations of any other register are negated in order to avoid the returning of the contents of this regi ster instead of the other resisters? contents . if the host reads this register when an interrupt is pending, interrupt reques t (intrq) is cleared in order to work as interrupt acknowledge. the bits of the status register are defined as below : bsy drdy df dsc 3 drq corr idx err bit 7 bsy (busy) -- this bit is set when host reset (hrst) line is activated or software reset (srst) bit in device control register is set or when the command register is wri tten and until a command is completed but when data request is set to 1, this bit shall be reset. the host shouldn?t write or read any registers when bsy = 1. bit 6 drdy (drive ready) -- drdy=1 when seek complete bit (bit 4) = 1, indicates that the drive is ready to respond read, write, or seek command. drdy=0 i ndicates that read , writ e and seek are negated. a command execution shall be interr upted if not-ready condition occu rs during a command execution and will be reset until the next command whet her the drive condition is ready or not ready. error bit is set on this occasion and will be reset just after power on and set again after the drive begins revolving at normal speed and gets ready to receive a command. bit 5 df (device fault) -- df=1 indicates that the drive has detected a fault condition during the execution of a read write commands; read, write, and seek commands are negated and error bit is set. df is set to 1 until the next command, whet her the device is in fault condition or not. bit 4 dsc 3 (drive seek complete) ? dsc3= 1 indicates that a seek operation has been completed. dsc3 is set to 0 when a command accompanied by a seek operation begins. if a seek is not complete, a command is terminated and this bit is not changed until the status register is read by the host . this bit remains reset immediately after power on until the drive starts revolving at a nomi nal speed and gets ready to receive command. bit 3 drq (data request) -- drq=1 indicates that the sector buffer requires 1 sector of data during a read or write command. bit 2 corr (corrected data) -- corr=1 indicates that t he data read from the disk had an error but was successfully corrected by the read retry. this bit is always set to 0 and does not interrupt multi-sector operations. bit 1 idx (index) -- this bit is a pulse signal set to 1 per revo lution of the disk. intervals of the signal may vary during read / write operation. therefore, the host shouldn?t use idx for timing purposes. bit 0 err (error) -- err = 1 indicates that an error occurred during execution of the previous command . the cause of the error is report ed on the other bit or in the error regist er. the error bit can be reset by the next command from the controller. when this bit is set , a multi-sector operation is negated. 3 ata-2 notes: prior to ata-2 standard, this bit indicated that the device was on track. this bit may be used for other purpose s in future standards. for compatibility the driv e supports this bit as ata-1 specifies. user is recommende d not to use this bit.
toshiba corporation digital media network company page 56 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.10 command register - cs0 da2-da0 : 7 write only the command register accepts commands for the driv e to perform fixed disk operations. commands are executed when the task file is loaded and the command register is written and only when: the status is not busy (bsy is inactive). and drdy (drive ready) is active. any code not defined in the following list causes an a borted command error. interrupt request (intrq) is reset when a command is written. the following are acceptable commands to the command register.
toshiba corporation digital media network company page 57 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.7-2 command code command code command name hex value parameters used sc sn cy drv hd ft nop 00h x x x o x x recalibrate 1xh x x x o x x read sector(s) 20/21h o o o o o x read sector(s) ext 24h o o o o o x read dma ext 25h o o o o o x read native max address ext 27h x x x o x x read multiple ext 29h o o o o o x write sector(s) 30/31h o o o o o x write sector(s) ext 34h o o o o o x write dma ext 35h o o o o o x set max address ext 37h o o o o o x write multiple ext 39h o o o o o x write verify 3ch o o o o o x read verify sector(s) 40/41h o o o o o x read verify sector(s) ext 42h o o o o o x format track 50h x x o o o x seek 7xh x x o o o x execute diagnostics 90h x x x o x x initialize device parameters 91h o x x o o x download microcode 92h o o x o x o smart b0h x x o o x o device configuration b1h x x x o x o read multiple c4h o o o o o x write multiple c5h o o o o o x set multiple mode c6h o x x o x x read dma c8/c9h o o o o o x write dma ca/cbh o o o o o x power control stand-by immediate e0 / 94h o x x o x x idle immediate e1 / 95h o x x o x x stand-by e2 / 96h o x x o x x idle e3 / 97h o x x o x x check power mode e5 / 98h o x x o x x sleep e6 / 99h o x x o x x read buffer e4h x x x o x x flush cache e7h x x x o x x write buffer e8h x x x o x x flush cache ext eah x x x o x x identify device ech x x x o x x set features efh x x x o x o security set password f1h x x x o x x unlock f2h x x x o x x erase prepare f3h x x x o x x erase unit f4h x x x o x x freeze f5h x x x o x x disable password f6h x x x o x x read native max address f8h x x x o x x set max f9h o o o o o x read sence data fch x x x o x o note: o and x are defined as follows. o = must contain valid information for this command. x = don't care for this command. parameters are defined as follows. sc = sector count register. sn = sector number register. cy = cylinder low and cy linder high register. drv = drive select bit (bit 4 in drive/head register) hd = head select bits (bit 3-0 in drive/head register) ft = features register (write precompensation register)
toshiba corporation digital media network company page 58 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.7.11 alternate status register - cs1 da2-da0 : 6 read only this register contains the same information as the stat us register in the task file. the only difference is that this register being read does not imply interrupt acknowledge or doesn?t reset a pending interrupt. see the description of l status resister z for definitions of the bit in this register. 11.7.12 device control register - cs1 da2-da0 : 6 write only this register contains the following three control bits. hob ---- ---- ---- 1 srst - ien ---- bit 7 hob (high order byte) is defined by the 48-bit addr ess feature set. a write to any command register shall clear the hob bit to zero. bit 6-4 not used bit 3 reserved (recommended to set 1) bit 2 srst (soft reset) -- srst= 1 indicates that the drive is held reset and sets bsy bit in status register. all internal registers are reset as shown in table 11.12-1 . if two drives are daisy chained on the interface, this bit will reset both drives simultaneous ly , regardless of the selection by device address bit in device/head register. bit 1 - ien (interrupt enable) -- when -ien = 0, and t he drive is selected by drive select bit in device/head register, the drive interrupt to the host is enabled. when this bit is set, the - intrq pin will be in a high impedance state, whet her a pending interrupt is found or not. bit 0 not used 11.7.13 device address register 4 - cs1 da2-da0 : 7 read only the device address register is a read-only regist er used for diagnostic purposes. the followings are definitions of bits for this register: rsvd - wtg - hs3 - hs2 - hs1 - hs0 - ds1 - ds0 bit 7 reserved -- high impedance bit 6 - wtg (write gate) -- this bit is active w hen a write to the disk is in progress. bit 5 - bit 2 - hs3 to - hs0 (head select bits) -- bit 5 through 2 are one' s complement of the binary coded address of currently selected head which is shown by head select bit in sdh register. bit 1 - ds1 (drive select 1) -- -ds1=0, when drive1 is selected and active. bit 0 - ds0 (drive select 0) -- -ds0=0, when single mode or drive0 in drive0/dr ive1 mode is selected and active. note) the following facts should be taken into c onsideration when this resister is in use. -wg reflects actual write gate in the drive, however, because of address transition or cache operation, there is no direct connection with the dat a transferred between host and drive. 4 ata-2 notes: this register is obsolete. a device is not s upposed to respond to a read of this address. if a device does respond, it shall be sure not to drive the dd7 signal to prevent possible conflict with floppy disk implementations. the drive supports this register to maintain compatibility for ata-1.
toshiba corporation digital media network company page 59 of 153 ? 2003, copyright toshiba corporation all rights reserved -head select represents one?s complement of the binary coded address of currently selected head, but does not show actual selection of the head.
toshiba corporation digital media network company page 60 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8 command descriptions the drive interprets the commands written in the comm and register by the host sy stem and executes them. this table shows the drive?s response to t he valid commands written in command-register. command status register error register drdy df corr err icrc unc idnf abrt tk0nf amnf check power mode execute device diagnostic see table 11.7-1 device configration restore device configration fresze lock device configration identify device configration set download microcode flush cache (ext) format track identify device idle idle immediate initialize device parameters read buffer read dma (ext) read multiple (ext) read native max address (ext) read sector(s) (ext) read verify sector(s) (ext) recalibrate security disable password security erase prepare security erase unit security freeze lock security set password security unlock seek set features set max address (ext) set max set password set max lock set max unlock set max fleeze lock set multiple mode sleep smart enable/disable attribute autosave smart enable/disable automatic off-line smart disable operations smart enable operations smart return status smart read attribute values smart read attribute thresholds smart save attribute values smart execute off-line immediate smart read log sector smart write log sector standby standby immediate write buffer write dma (ext) write multiple (ext) write sector(s) (ext) write verify invalid command code = valid on this command
toshiba corporation digital media network company page 61 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.1 nop (00h) command code 0 0 0 0 0 0 0 0 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change lba no change the nop command reports the status. the drive termi nates the command with aborted error after receiving this command. 11.8.2 recalibrate 5 (1xh) command code 0 0 0 1 x x x x register register setting normal completion dr drive no. no change cy 00h hd no change sn no change sc no change ft no change lba 00h this command will set bsy bit and move the r/w heads on the disk to cylinder 0. at the completion of a seek , it revises the status, resets bsy and generates an interrupt. 11.8.3 flush cache (e7h) command code 1 1 1 0 0 1 1 1 resister setting dr drive no. this command reports the completion of a write cache to the host. at the completion of a write cache, the drive revises the status, resets bsy and generates an interrupt. 11.8.4 flush cache ext (eah) command code 1 1 1 0 1 0 1 0 resister setting dr drive no. this command reports the completion of a write cache to the host. at the completion of a write cache, the drive revises the status, resets bsy and generates an interrupt. 5 ata/atapi-4 defines this command as ve ndor specific. the drive supports this comma nd to maintain ata-3, and the previous models compatibility. user is reco mmended not to use this command.
toshiba corporation digital media network company page 62 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.5 read sector (20h/21h) command code 0 0 1 0 0 0 0 x register register setting normal completion dr drive no. no change cy starting cylinder last possible hd starting head last possible sn starting sector last possible sc no. of sector to read 00h ft no change lba staring address last address setting bsy bit, the drive will seek to the target cylinder if the head is not on tar get track ( implied seek ), select the head and begin to read the number of sector defined in sc register ( 1-256 ) starting from the target sector. after finding id of target sector and having 1 sector of data read into the buffer ram, the drive sets drq in status register and generates interrupt to report to the host that the drive is ready to transfer the next data. in case of multi-sector transfer, drq bit is reset and bsy is set after 1 sector transfer to prepare for the next sector transfer. an uncorrectable data can also be transferred but the subsequent operation will termi nate at the cylinder, head, and sector (or lba) position in the task file regist er. when a sector is ready to be read by the host, an interrupt is issued. after the last sector is read by the host, no interrupt is issued at the end of a command. 11.8.6 read sector ext (24h) command code 0 0 1 0 0 1 0 0 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change setting bsy bit, the drive will seek to the target cylinder if the head is not on tar get track ( implied seek ), select the head and begin to read the number of sector defined in sc register ( 1-65536 ) starting from the target sector. after finding id of target sector and having 1 sect or of data read into the buffer ram, the drive sets drq in status register and generates interrupt to report to the host that the driv e is ready to transfer the next data. in case of multi-sector transfer, drq bit is reset and bsy is set after 1 sector transfer to prepare for the next sector transfer. an uncorrectable data can also be transferred but the subsequent operation will terminate at the lba position in the task file register. when a sector is ready to be read by the host, an interrupt is issued. after the last sector is read by the host, no interrupt is issued at the end of a command. this command is available in lba addressing only.
toshiba corporation digital media network company page 63 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.7 write sector (30h/31h) command code 0 0 1 1 0 0 0 x 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 write 00h ft no change lba starting address last possible the drive seeks to the target cylinder and selects the head and begins to write to the number of sectors defined in sc register (1-256) starting from the target se ctor. drq in status regist er is set as soon as the command register is written and the buffer ram receives the data transferred from the host . after 1 sector is transferred to the buffer ram, the drive resets drq, sets bsy and begins write operation. in case of multi-sector transfer, it sets drq bit, resets bsy and generates interrupt to inform host that it is ready to transfer the next 1 sector of data. the drive will seek to the target cylinder if the head is not on the target track (implied seek). after transferring the last data in the buffer, it resets bsy and issues an interrupt. 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. 11.8.8 write sector ext (34h) command code 0 0 1 1 0 1 0 0 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change the drive seeks to the target cylinder and selects the head and begins to write to the number of sectors defined in sc register (1-65536) starting from the target sector. drq in status register is set as soon as the command register is written and the buffer ram rece ives the data transferred from the host . after 1 sector is transferred to the buffer ram, the drive resets drq, sets bsy and begins write operation. in case of multi-sector transfer, it sets drq bit, rese ts bsy and generates interrupt to inform host that it is ready to transfer the next 1 sector of data. the drive will seek to the ta rget cylinder if the head is not on the target track (implied seek). after transferring the last data in the buffer, it resets bsy and issues an interrupt. 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. lba registers show the address where error has occurred.
toshiba corporation digital media network company page 64 of 153 ? 2003, copyright toshiba corporation all rights reserved this command is available in lba addressing only. 11.8.9 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 t hat the drive has read the data from the media, and the drq bit is not set and no data is sent to the host. th is 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. 11.8.10 read verify ext (42h) command code 0 1 0 0 0 0 1 0 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change this command is identical to a read ext command except that the drive has read the data from the media, and the 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 co mpletion of a command or when an error occurs. this command is available in lba addressing only.
toshiba corporation digital media network company page 65 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.11 write verify 6 (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 all identical to a write sector command. read verification is not performed in this command. 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 wr itten on the media. the starting sect or 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 mu lti- 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). r eaching the target sector, the command transfers the sector data from the host to the media. after transferri ng the last data in the buffer, it sets bsy and issues an interrupt. 11.8.12 format track 7 (50h) command code 0 1 0 1 0 0 0 0 register register setting normal completion dr drive no. no change cy cylinder to format no change hd head to format no change sn 01h sc 00h ft no change the track specified by the task file is formatted with id and data fields according to the table transferred to the buffer. this command is rejected in lba mode with an aborted command error reported. drq in status register is set as soon as the command register is written, and the buffer ram receives the data transferred from the host. after 512 bytes are trans ferred into the buffer ram, the drive resets drq, sets bsy and begins format operation. the drive seeks to the target cylinder if the head is not on the target track ( implied seek ). after completion of the command, it resets bsy and generates an interrupt. format table consists of the number of sectors ( 16 bi ts ) per track . upper byte represents sector number, and lower byte represents format type. the drive supports only 00h format type. intending to ma intain compatibility with previous models, the drive accepts any format type, but the function will not change. 6 ata/atapi-4 defines this command as vendor specific. the driv e supports this command to mainta in ata-3 compatibility. user is recommended not to use this command. 7 ata/atapi-4 defines this command as ve ndor specific. the drive supports this comma nd to maintain ata-3, and the previous models compatibility. user is reco mmended not to use this command.
toshiba corporation digital media network company page 66 of 153 ? 2003, copyright toshiba corporation all rights reserved sector interleave is always set to one regardless of sector sequence in the format table. data subsequent to format table are handled as ?don't care?. format table ( first 86 bytes ) (ex. 43 logical sector mode) 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0013, 0015, 0016, 0017, 0018,.0019, 001a,.......0029, 002a, 002b don?t care ( 426 bytes attached ) 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, ........... 0000, 0000, 0000. 11.8.13 seek (7xh) command code 0 1 1 1 x x x x register register setting normal completion dr drive no. no change cy cylinder to seek no change hd head to seek no change sn no change sc no change ft no change lba address to seek no change this command moves the r/w heads to the cylinder spec ified in the task files. the drive sets bsy and starts seek operation. after the completion of a seek operation, the drive asserts dsc 8 , negates bsy , and return the interrupt. if cy, hd and sn registers show invalid address, ?i d not found? error is reported and no seek operation shall be executed. all commands related to data a ccess possess implied seek function and don't need this command. 11.8.14 toshiba specific command code 1 0 0 0 x x x x 1 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 x 1 1 1 1 1 1 x x these commands are only for factory use. host must not issue them. 8 ata-2 notes: prior to ata-2 standard, this bit indicated that the device was on track. this bit may be used for other purpose s in future standards. for compatibility the driv e supports this bit as ata-1 specifies. user is recommende d not to use this bit.
toshiba corporation digital media network company page 67 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.15 execute diagnostics (90h) command code 1 0 0 1 0 0 0 0 register register setting normal completion dr ooh cy ooh hd ooh sn o1h sc o1h ft this command enables the drive to execute following self -test and reports the results to the error register described in table 10.7.2-1. (1) rom checksum test (2) ram test (3) controller lsi register test an interrupt is generated at the completion of this command. when two drives are daisy-chained on the interface, both drives execute the self test and the drive0 reports valid error information of the two drives. 11.8.16 initialize device parameters (91h) command code 1 0 0 1 0 0 0 1 register register setting normal completion dr drive number no change cy no change hd total number of heads-1 no change sn number of sector per track no change sc no change ft no change this command specifies the number of sectors per track and the number of heads per cylinder to set head switching point and cylinder increment point. specified values affect number of the current logical heads, number of logical sectors per track, wh ich can be read by identify device command. on issuing this command, the content of cy register shall not be checked. this command will be terminated with abort error when it is issued on a invalid hd or sc register setting ( sc register=0 or the combination of hd and sc register exceeds the drive parameter. any drive access command should accompany correct hd, sn register with heads and sectors within the number specified for this command. otherwise, it resu lts in ?id not found? error. if the number of heads and drives is within the specified number, command gi ves parameter to convert an address to access into logical block address (lba). l id not found z error also occur when this lba exceeds the total number of user addressable sectors. the command does not affect lba address mode.
toshiba corporation digital media network company page 68 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.17 download microcode (92h) command code 1 0 0 0 0 0 1 0 register register setting normal completion dr drive number no change cy 00h hd no change sn number of sector(high order) 00h sc number of sector(low order) 00h ft subcommand code no change this command enables the host to alter the devic e?s microcode. the data transferred using the download microcode command is vendor specific. all transfers shall be an integer multiple of the sector size. the size of the data transfer is determined by the contents of the sector number regist er and the sector count register. t he sector number register shall be used to extend the sector count register to create a 16- bit sector count value. the sector number register shall be the most significant eight bits and the sector c ount register shall be the least significant eight bits. a value of zero in both the sector number register and the sector count register shall specify no data is to be transferred.this allows transfer sizes from 0 bytes to 33,553,920 bytes, in 512 byte increments. the features register shall be used to determine the effect of the download microcode command. the values for the features register are: ? 07h - save downloaded code for immediate and future use. this feature(07h) is supported. all other values are reserved.
toshiba corporation digital media network company page 69 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.18 read multiple (c4h) command code 1 1 0 0 0 1 0 0 register register setting normal completion dr drive number no change cy starting cylinder last possible hd starting head last possible sn starting sector last possible sc number of sector to read 00h ft no change lba starting address last possible the read multiple command performs similarly to the read sectors command except for the following features. interrupts are not issued on each sector, but on the transfer of each block which contains the number of sectors defined by a set multiple mode co mmand or the default , if no intervening set multiple command has been issued. command execution is identical to the read sectors oper ation except that the num ber of sectors defined by a set multiple mode command are transferred without inte rrupts. drq qualification of the transfer is required only at the start of a data block transfer, not required for the transfer of each sector. the block count of sectors to be transferred without in tervening interrupts is programmed by the set multiple mode command, which shall be executed prior to the read multiple command. when the read multiple command is issued, the sector count register contains the number of required sectors ( not the number of blocks or the block count ) . if the number of required sectors is not evenly divisible by the block count, the redundant sectors are tr ansferred during the final partial block transfer. the partial block transfer shall be for n sectors, where n = the redundant sector count ( block count ) if the read multiple command is attempted when read multiple command are disabled, the read multiple operation shall be rejected with an aborted command error. disk errors occurred during read multiple command are pos ted at the beginning of the block or partial block transfer, but drq is still set and the data, including corrupted data, shall be transferred as they normally would . the contents of the command block registers following t he transfer of a data block which has a sector in error are undefined. the host should retry the transfe r as individual requests to obtain valid error information. subsequent blocks or defective blocks are transferred onl y when the error is a correctable data error. all other errors after the transfer of the block contai ning the error terminates the command . interrupts are generated when drq is set at the beginning of each block or partial block.
toshiba corporation digital media network company page 70 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.19 read multiple ext (29h) command code 0 0 1 0 1 0 0 1 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change this command is basically identical to read multiple command except register setting. this command is available in lba addressing only. 11.8.20 write multiple (c5h) command code 1 1 0 0 0 1 0 1 register register setting normal completion dr drive number no change cy starting cylinder last possible hd starting head last possible sn starting sector start sector sc number of sector to write 00h ft no change lba starting address last possible this command performs similarly to the write sectors command except for the following features. the drive sets bsy immediately upon receipt of the command, and interrupts are not issued on each sector but on the transfer of each block which contains the number of sectors defined by set multiple mode command or the default if no intervening set multiple command has been issued. command execution is identical to the write sectors operation except that no interrupt is generated during the transfer of number of sectors defined by the se t multiple mode command but generated for each block. drq qualification of the transfer is required only for each data block, not for each sector. the block count of sectors to be transferred without programming of intervening interrupts by the set multiple mode command, which shall be execut ed prior to the write multiple command. when the write multiple command is issued, the host se ts the number of sectors ( not the number of blocks or the block count ) it requests in the sector count register. if the number of required sectors is not evenly divisible by the block count, the redundant sectors are tr ansferred during the final partial block transfer. the partial block transfer shall be for n sectors, where n = the redundant sector count ( block count ) if the write multiple command is attempted when write multiple command are disabled, the write multiple operation shall be rejected with an aborted command error. disk errors occurred during write multiple command are pos ted after the attempted disk write of the block or partial block which are transferred. the write multiple command is terminated at the sector in error , even if it was in the middle of a block. subsequent blocks ar e not transferred after an error. interrupts are generated for each block or each sector, when drq is set .
toshiba corporation digital media network company page 71 of 153 ? 2003, copyright toshiba corporation all rights reserved after the transfer of a data block which contains a se ctor with error, the c ontents of the command block registers are undefined. the host should retry the trans fer as individual requests to obtain valid error information.
toshiba corporation digital media network company page 72 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.21 write multiple ext (39h) command code 0 0 1 1 1 0 0 1 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change this command is basically identical to write multiple command except register setting. this command is available in lba addressing only. 11.8.22 set multiple mode (c6h) command code 1 1 0 0 0 1 1 0 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc the number of sectors / block no change ft no change this command enables the drive to perform read and write multiple operations and sets the block count for these commands. the sector count register is loaded with the number of sectors per block. the drive supports 1,2,4,8 or16 sectors per block. upon receipt of the command, the drive sets bsy=1 and checks the content of sector count register. if the sector count register contains a valid value and the block count is supported, the value is loaded for all subsequent read multiple and write multiple commands. and these commands are enabled to be executed. if a block count is not supported , this co mmand shall be terminated with the report of an aborted command error , and read multiple and write multiple commands are disabled. if the sector count register contains 0 when the command is issued, read multiple and write multiple commands are disabled. in case of software reset, the result depends on the setting of set feature command. if ft=66h, the mode is not changed. if ft = cch, the mode reverts to power on default (16 sectors).
toshiba corporation digital media network company page 73 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.23 read dma (c8h/c9h) command code 1 1 0 0 1 0 0 x register register setting normal completion dr drive no. no change cy starting cylinder last possible hd starting head last possible sn starting sector last possible sc no. of sector to read 00h ft no change lba staring address last address this command is basically identical to sector command except following features. ? host initialize the dma channel before issuing command. - data transfer is initiated by dmarq and handled by the dma channel in the host. - drive issues only one interrupt at the completion of each command to show the status is valid after data transfer. during dma transfer phase, either bsy or drq is set to 1. when a command is completed, cy, hd, sn register (lba register) shows the sector transferred the latest. if the drive detects unrecoverable error, the drive terminate the command and cy, hd, sn register (lba register) shows the sector where error occurred. 11.8.24 read dma ext (25h) command code 0 0 1 0 0 1 0 1 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change this command is basically identical to r ead dma command except register setting. this command is available in lba addressing only.
toshiba corporation digital media network company page 74 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.25 write dma (cah/cbh) command code 1 1 0 0 1 0 1 x register register setting normal completion dr drive no. no change cy starting cylinder last possible hd starting head last possible sn starting sector last possible sc no. of sector to write 00h ft no change lba staring address last address this command is basically identical to se ctor command except following differences. ? host initialize the dma channel before issuing command. - data transfer is initiated by dmarq and handled by the dma channel in the host. - drive issue only one interrupt at the completion of each command to show the status is valid after data transfer. during dma transfer phase, either bsy or drq is set to 1. when a command is completed, cy, hd, sn register (lba register) shows the sector transferred the latest. if the drive detects unrecoverable error, the drive te rminates the command and cy, hd, sn register (lba register) shows the sector where error has occurred. 11.8.26 write dma ext (35h) command code 0 0 1 1 0 1 0 1 register register setting normal completion dr drive no. no change lba low current previous lba(7:0) lba(31:24) hob=0 hob=1 last address last address lba mid current previous lba(15:8) lba(39:32) hob=0 hob=1 last address last address lba high current previous lba(23:16) lba(47:40) hob=0 hob=1 last address last address sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 00h 00h ft current previous reserved reserved hob=0 hob=1 no change no change this command is basically identical to wri te dma command except register setting. this command is available in lba addressing only.
toshiba corporation digital media network company page 75 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.27 power control (exh) command code 1 1 1 0 x x x x register register setting normal completion 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 dr ive 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 comm and. if the drive receives disk access command from the host when it is in stand-by mode , the spindle starts rotating and the drive exec utes read/write operation. after power on, the spindle starts rotating and enters t he 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 di fferent sub-commands defined by lower 4 bits of command as follows. the drive is in the idle mode when it is in default condition after power- on. 11.8.27.1 stand-by immediate (e0/94) sc=x (don't care) the drive enters the stand-by mode imm ediately 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 bef ore it virtually enters the stand-by mode . 11.8.27.2 idle immediate (e1/95) sc=x the drive enters the idle mode immediately by this comm and. if the drive is already in the idle mode, it does no-operation. if stand-by timer is enabled, timer w ill start. after the drive enters the idle mode, the drive issues interrupt to report the host that the command has been completed.
toshiba corporation digital media network company page 76 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.27.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. t he 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 dr ive enters stand-by mode. if a disk access command is received during stand-by mode, the sp indle starts rotating and the drive executes read/write operation. after completing the command, the drive reset st and-by timer and the timer starts counting down. 11.8.27.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. t he 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 dr ive enters the stand-by m ode. if disk access command is received during the stand-by mode, the spindle starts rotating and exec utes read/write operation. after completing the command, the drive resets stand- by timer and the timer starts counting down. 11.8.27.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. 11.8.27.6 sleep (e6/99) when sc=x, the drive enters sleep mode immediately. after entering the sleep m ode, 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.
toshiba corporation digital media network company page 77 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.28 read buffer (e4h) command code 1 1 1 0 0 1 0 0 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 by tes) 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. 11.8.29 write buffer (e8h) command code 1 1 1 0 1 0 0 0 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 hos t 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. 11.8.30 identify device (ech) command code 1 1 1 0 1 1 0 0 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 trans fer parameter information to the host. when the command is issued, the drive sets bsy, stores the requir ed parameter information in the sector buffer, sets the drq bit, and issues an interrupt. the host may read t he parameter information of the sector buffer. the parameter words in the buffer are arranged as shown in table 11.8-1 ~ table 11.8-5.
toshiba corporation digital media network company page 78 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.8-1 identify information word description hex. 0 general configuration 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 0040 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 reserved 0000 23-26 firmware revision (8 ascii characters) 27-46 controller model # (40 ascii characters) 47 15-8 80h 7-0 00 h = read/write multiple command not implemented 01 h - ff h = maximum number of sectors that can be transferred per interrupt on read/write multiple commands 8010 48 reserved 0000 49 capabilities 15-14 reserved 13 1=standby timer values as spec ified in ata/atapi-6 specification are supported 0=standby time r values are vendor specific 12 reserved 11 1=iordy supported 10 1=iordy can be disabled 9 1=lba supported 8 1=dma supported 7-0 reserved 2f00 50 capabilities 15 0 (fixed) 14 1 (fixed) 13-1 reserved 0 1= a device specif ic standby timer value minimum. 4000 51 15-8 pio data transfer cycle timing mode 7-0 reserved 0200 52 reserved 0000 53 15-3 reserved 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 0 1=the fields reported words 54-58 are valid 0=the fields reported words 54-58 are not valid 0007 54 number of current cylinders xxxx 55 number of current heads xxxx 56 number of current sectors per track xxxx
toshiba corporation digital media network company page 79 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.8-2 identify information (continued) word description hex. 57-58 current capacity in sectors (number of current cylinders * number of current heads * number of current sectors per track) xxxx 59 15-9 reserved 8 1=multiple sector setting is valid 7-0 xxh=current setting for number of sectors that can be transferred per interrupt on r/w multiple command 01xx 60-61 total number of user addressable sectors (lba mode only) [5*] 62 15-0 reserved xx07 63 15-8 multiword dma transfer mode active 7-0 multiword dma transfer mode supported xx07 64 15-8 reserved 7-0 advanced pio transfer modes supported bit 7-2 reserved bit 1 = 1 pio mode 4 supported bit 0 = 1 pio mode 3 supported 0003 65 minimum multiword dma transfer cycle time per word (ns) 0078 66 manufacturer?s recommended multiword dma transfer cycle time 0078 67 minimum pio transfer cycle time without flow control (ns) 0078 68 minimum pio transfer cycle time with iochrdy flow control 0078 69-79 reserved (for future command overlap and queuing) 0000 80 major version number 0000h or ffffh = device does not report version 15-7 reserved for ata-7~14 6 1=supports ata/atapi-6 5 1=supports ata/atapi-5 4 1=supports ata/atapi-4 3 1=supports ata-3 2 1=supports ata-2 1 1=supports ata-1 0 reserved 007e 81 minor version number 0000h or ffffh = device does not report version 0000 82 command set supported. 0000h or ffffh = command set notification not supported 15 reserved 14 1=nop command supported 13 1=read buffer command supported 12 1=write buffer command supported 11 reserved 10 1=host protected area feature set supported 9 1=device reset command supported 8 1=service interrupt supported 7 1=release interrupt supported 6 1=look-ahead supported 5 1=write cache supported 4 1=supports packet command feature set 3 1=supports power management feature set 2 1=supports removable feature set 1 1=supports security feature set 0 1=supports smart feature set 746b
toshiba corporation digital media network company page 80 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.8-3 identify information (continued) word description hex. 83 command set supported. 0000h or ffffh = command set notification not supported 15 0 (fixed) 14 1(fixed) 13 1=flush cache ext command supported 12 1=flush cache command supported 11 1=device configuration overlay supported 10 1=48-bit address feature set supported 9 1=automatic acoustic management feature set supported 8 1=set max security extension supported 7 reserved 6 1=set features subcommand required to spin up after power-up 5 1=power-up in standby feature set supported 4 1=removable media stat us notification feature set supported 3 1=advanced power management feature set supported 2 1=cfa feature set supported 1 1=read / write dma queued supported 0 1=download microcode command supported 7d09 84 command set/feature supported extension 15 0 (fixed) 14 1(fixed) 13 1(fixed) 12-6 reserved 5 1=general purpose logging feature set supported 4 1=reserved 3 1=media card pass through command feature set supported 2 1=media serial number supported 1 1=smart self-test supported 0 1=smart error logging supported 6023 85 command set/feature enabled 15 reserved 14 1=nop command enabled 13 1=read buffer command enabled 12 1=write buffer command enabled 11 reserved 10 1=host protected area feature set enabled 9 1=device reset command enabled 8 1=service interrupt enabled 7 1=release interrupt enabled 6 1=look -ahead enabled 5 1=write cache enabled 4 1=packet command feature set supported 3 1=power management feature set enabled 2 1=removable feature set enabled 1 1=security feature set enabled 0 1=smart feature enabled xxxx 86 command set/feature enabled 15-14 reserved 13 1=flush cache ext command supported 12 1=flush cache command supported 11 1=device configuration overlay supported 10 1=48-bit address feature set supported 9 1=automatic acoustic management feature set enabled 8 1=set max security extension enabled by set max set password 7 reserved 6 1=set features subcommand required to spin-up after power-up 5 1=power-up in standby feature set enabled 4 1=removable media st atus notification feature set enabled 3 1=advanced power management feature set enabled 2 1=cfa feature set enabled 1 1=read / write dma queued supported 0 1=download microcode command supported xx0x
toshiba corporation digital media network company page 81 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.8-4 identify information (continued) word description hex. 87 command set/feature default 15 0 (fixed) 14 1 (fixed) 13 1 (fixed) 12-6 reserved 5 1=general purpose logging feature set supported 4 reserved 3 1=media card pass through command feature set enabled 2 1=madia serial number is valid 1 1=smart self-test supported 6023 88 15-8 ultra dma transfer mode selected 7-0 ultra dma transfer modes supported xx3f 89 time required for security erase unit completion 00xx 90 time required for enhanced security erase completion 0000 91 current advanced power management setting 15-8 reserved 7-0 current advanced power management setting set by set features command 00xx 92 master password revision code xxxx 93 hardware reset result. the conetnts of bits 12-0 of this word shall change only during the execution of a hardware reset. 15 0 (fixed) 14 1 (fixed) 13 1=device detected cblid- above v ih 0=device detected cblid- below v il 12-8 device 1 hardware reset result. de vice 0 shall clear these bits to zero. device 1 shall set these bits as follows : 12 reserved. 11 0=device 1 did not assert pdiag-. 1=device 1 asserted pdiag-. 10-9 these bits indicate how device 1 determined the device number: 00=reserved. 01=a jumper was used. 10=the csel signal was used. 11=some other method was used or the method is unknown. 8 1 (fixed) 7-0 device 0 hardware reset result. device 1 shall clear these bit to zero. device 0 shall set these bills as follows: 7 reserved. 6 0=device 0 does not respond when device 1 is selected. 1=device 0 responds when device 1 is selected. 5 0=device 0 did not detect the assertion of dasp-. 1=device 0 detected the assertion of dasp-. 4 0=device 0 did not detect the assertion of pdiag-. 1=device 0 detected the assertion of pdiag-. 3 0=device 0 failed diagnostics. 1=device 0 passed diagnostics. 2-1 these bits indicate how device 0 determined the device number: 00=reserved. 01=a jumper was used. 10=the csel signa was used. 11=some other method was used or the method is unknown. 0 1 (fixed) xxxx 94 current automatic acoustic management value 15-8 vendor?s recommended acoustic management value 7-0 current automatic acoustic management value 0000 95-99 reserved 0000 100-103 maximum user lba for 48-bit address feature set xxxx 104-126 reserved 0000
toshiba corporation digital media network company page 82 of 153 ? 2003, copyright toshiba corporation all rights reserved table 11.8-5 identify information (continued) word description hex. 127 removable media status noti fication feature set supported 15-2 reserved 1-0 00=removable media status notification feature set not supported 01=removable media stat us notification feature set supported 10=reserved 11=reserved 0000 128 security status 15-9 reserved 8 security level 0=high, 1=maximum 7-6 reserved 5 1=enhanced security erase supported 4 1=security count expired 3 1=security frozen 2 1=security locked 1 1=security enabled 0 1=security supported 0xxx 129-159 reserved 0000 160 cfa power mode 1 15 word 160 supported 14 reserved 13 cfa power mode 1 is required for one or more commands implemented by the device 12 cfa power mode 1 disabled 11-0 maximum current in ma 0000 161-175 reserved 0000 176-205 current media serial number 0000 206-254 reserved 0000 255 integrity word 15-8 checksum 7-0 signature xxa5
toshiba corporation digital media network company page 83 of 153 ? 2003, copyright toshiba corporation all rights reserved word descriptions: word 0: general configuration bit 15 0=ata bit 14-8 reserved bit 7 1=removable cartridge bit 6 1=fixed disk drive bit 5-3 reserved bit 2 response incomplete bit 1-0 reserved the value for this word is 0040h. word 1: logical cylinder number that us er can access (in default mode) [*1] word 2: specific configuration ?37c8? : device requires set features subcommand to spin-up after power-up and identify device response is incomplete. ?738c? : device requires set features subcommand to spin-up after power-up and identify device response is complete. ?8c73? : device does not requires set features s ubcommand to spin-up after power-up and identify device response is incomplete. ?c837? : device does not requires set features s ubcommand to spin-up after power-up and identify device response is complete. ?all other valies? : reserved power-up in standby feature set is not supported. the value for this word is c837h. word 3: logical head number that user can access (in default mode) [*2] word 4-5: reserved word 6: the number of logical sector per track (in default mode) [*3] default values : [*1],[*2],[*3] drive type [*1] : word 1 [*2] : word 3 [*3] : word 6 mk3006gal 16383 16 63 mk4006gah 16383 16 63 MK6006GAH 16383 16 63 word 7-9: reserved word 10-19: serial number word 20-21: reserved word 22: reserved word 23-26: firmware revision ( 8 ascii characters ) word 27-46: model name (40 ascii characters) drive type mk3006gal toshiba mk3006gal _..._ mk4006gah toshiba mk4006gah _..._ MK6006GAH toshiba MK6006GAH _..._ ?_? indicates ascii space code.
toshiba corporation digital media network company page 84 of 153 ? 2003, copyright toshiba corporation all rights reserved word 47: bit 15 - 8 shall be set to 80h bit 7 - 0 maximum number of sectors that can be transferred per interrupt on read/write multiple commands. the default value for this word is 8010h. word 48: reserved word 49: capabilities bit 15-14 0=reserved bit 13 1=standby timer value shall be as spec ified in ata-/ atapi-6 specification 0=standby timer value are vendor specific bit 12 reserved (for advanced pio mode support) bit 11 1=iordy is supported. bit 10 1=iordy function can be disabled. bit 9 1=lba supported bit 8 1=dma supported bit 7- 0 reserved the value for this word is 2f00h. word 50: capabilities bit 15 0 (fixed) bit 14 1 (fixed) bit 13-1 reserved bit 0 1=device has a minimum standby timer value that is device specific. standby timer value is set to 5 minutes or more. the value for this word is 4000h. word 51: pio data transfer cycle timing mode bit 15- 8 pio data transfer cycle timing mode bit 7- 0 reserved the value returned in bits 15-8 should fall into one of the mode 0 through mode. note: for backwards compatibility with bios wr itten before word 64 was defined for advanced modes, a device reports in word 51 the highest original pio mode (i.e. pio mode 0, 1, or 2) it can support. the value for this word is 0200h. word 52: reserved word 53: bit15- 3 reserved bit 2 1= the fields reported in word 88 is valid bit 1 1= the fields reported in words 64 ? 70 are valid bit 0 1= the fields reported in words 54 ? 58 are valid if the number of heads and sectors exceed the driv e parameter, bit 0 and related word 54-58 shall be cleared to 0. the default value for this word is 0007h. word 54: number of current cylinders defined by initialize device parameters command word 55: number of current heads defined by initialize device parameters command word 56: number of current sectors/track def ined by initialize device parameters command
toshiba corporation digital media network company page 85 of 153 ? 2003, copyright toshiba corporation all rights reserved word 57-58: total number of sectors calculated by word 54 - 56 bit31-24 by word 58 bit 7- 0 bit23-16 by word 58 bit 15- 8 bit15- 8 by word 57 bit 7- 0 bit 7- 0 by word 57 bit 15- 8 the power on values for each models are. drive type [*4] : word 57 ? 58 mk3006gal 16,514,064(fbfc10h) mk4006gah 16,514,064(fbfc10h) MK6006GAH 16,514,064(fbfc10h) word 59: bit15- 9 reserved bit 8 1=bit 7- 0 shows number of sectors for multiple sector operation (multiple sector operation is enabled by set multiple command). bit 7 ? 0 the number of sectors transferred for xx h =write / read multiple command with 1 interrupt ( current value shall be set by set multiple command. the default value is 16 ). the default value for this word is 0110h. word 60-61: maximum number of sectors that user can access in lba mode bit31-24 by word 61 bit 7- 0 bit23-16 by word 61 bit 15- 8 bit15- 8 by word 60 bit 7- 0 bit 7- 0 by word 60 bit 15- 8 the maximum value that shall be placed in this field is 0fffffffh. the power on values for each models are. drive type [*5] : word 60 ? 61 mk3006gal 58,605,120( 037e3e40h ) mk4006gah 78,126,048 ( 04a81be0h ) MK6006GAH 117,210,240 ( 06fc7c80h ) word 62: reserved word 63: mode information for multiword dma bit15- 8 active mode bit 10 1=mode 2 is active bit 9 1=mode 1 is active bit 8 1=mode 0 is active bit 7- 0 supported mode bit 2 1=mode 2 is supported bit 1 1=mode 1 is supported bit 0 1=mode 0 is supported support bit reflects setting by set feature command. the default value for this word is 0407h and the default figure is mode 2 word 64: mode information for advanced pio transfer bit 7- 0 supported mode bit 1 1=mode 4 is supported bit 0 1=mode 3 is supported the value for this word is 0003h.
toshiba corporation digital media network company page 86 of 153 ? 2003, copyright toshiba corporation all rights reserved word 65: minimum multiword dma transfer mode cycle time per word (ns) if this bit is supported, word 53 bit 1 shall be set. the value for this word is 0078h (120ns). word 66: manufacturer recommended multiword dma transfer cycle time if the data transfer is requested in a shorter cycle time than this definition, the data transfer may be kept pending with dmarq low because data is not ready . the value for this word is 0078h (120ns). word 67: minimum pio transfer cycle time without flow control (ns) the drive can guarantee correct data transfe r without flow control in this cycl e time or longer. if this bit is supported, word 53 bit 1 is to be set. the drives wh ich support pio mode 3 or higher shall support this field too. this figure shall not be less than 120. the value for this word is 0078h (120ns). word 68: minimum pio transfer cycle time with iordy flow control (ns) if this bit is supported, word 53 bit 1 is to be set. the drive that s upport pio mode 3 or higher shall support this field too. this figure shall not be less than 120. the value for this word is 0078h (120ns). word 69-79: reserved word 80: major version number if not 0000h or ffffh, the device claims compliance with t he major version(s) as indicated by bits 1 - 6 being equal to one. values other than 0000h and ffffh are bit significant. since the ata standards maintain downward compatibility, a device may set more than one bit . word 81: minor version number if an implementor claims that the revision of the st andard they used to guide their implementation does not need to be reported or if the implementation was based upon a standard prior to this revision of the standard, word 81 shall be 0000h or ffffh. word 82: command sets supported bit 15 reserved bit 14 nop command supported bit 13 read buffer command supported bit 12 write buffer command supported bit 11 reserved bit 10 host protected area feature set supported bit 9 device reset command supported bit 8 service interrupt supported bit 7 release interrupt supported bit 6 look ahead supported bit 5 write cache supported bit 4 packet feature set supported bit 3 the power management feature set is supported bit 2 the removable feature set is supported bit 1 the security feature set is supported bit 0 the smart feature set is supported the value for this word is 746bh.
toshiba corporation digital media network company page 87 of 153 ? 2003, copyright toshiba corporation all rights reserved word 83: features/command sets supported bit 15 0 (fixed) bit 14 1 (fixed) bit 13 1=flush cache ext command supported bit 12 1=flush cache command supported bit 11 1=device configuration overlay supported bit 10 1=48-bit address feature set supported bit 9 1=automatic acoustic management feature set supported bit 8 1=set max security extension supported bit 7 reserved bit 6 1=set features subc ommand required to spin up after power-up bit 5 1=power-up in standby feature set supported bit 4 1=removable media status notification feature set supported bit 3 advanced power management feature set supported bit 2 1=cfa feature set supported bit 1 1=read / write dma queued supported bit 0 1=download microcode command supported the value for this word is 7d09h. word 84: features / command sets supported bit 15 0 (fixed) bit 14 1 (fixed) bit 13 1 (fixed) bit 12-6 reserved bit 5 1=general purpose logging feature set supported bit 4 reserved bit 3 1=media card pass through command feature set supported bit 2 1=media serial number supported bit 1 1=smart self-test supported bit 0 1=smart error logging supported the value for this word is 6023h. word 85: features / command sets enable bit 15 reserved bit 14 nop command enabled bit 13 read buffer command enabled bit 12 write buffer command enabled bit 11 reserved bit 10 host protected area feature set enabled bit 9 device reset command enabled bit 8 service interrupt enabled bit 7 release interrupt enabled bit 6 look ahead enabled bit 5 write cache enabled bit 4 packet feature set supported bit 3 the power management feature set is enabled bit 2 the removable feature set is enabled bit 1 the security feature set is enabled bit 0 the smart feature set is enabled the default value for this word is 7468h
toshiba corporation digital media network company page 88 of 153 ? 2003, copyright toshiba corporation all rights reserved word 86: features / command sets enabled bit 15-14 reserved bit 13 1=fluch cache ext command supported bit 12 1=flush cache command supported bit 11 1=device configuration overlay supported bit10 1=48-bit address feature set supported bit 9 1=automatic acoustic management feature set enabled bit 8 1=set max security extension enabled by set max set password bit 7 reserved bit 6 1=set features subco mmand required to spin-up after power-up bit 5 1=power-up in standby feature set enabled bit 4 removable media status notification feature set enabled bit 3 advanced power management feature set enabled bit 2 cfa feature set enabled bit 1 write / read dma queued command supported bit 0 download microcode supported the default value for this word is 3c09h. word 87: features / command sets enabled bit 15 0 (fixed) bit 14 1 (fixed) bit 13 1 (fixed) bit 12-6 reserved bit 5 1=general purpose logging feature set supported bit 4 reserved bit 3 1=media card pass through command feature set enabled bit 2 1=media serial number is valid bit 1 1=smart self-test supported bit 0 1=smart error logging supported the value for this word is 6023h. word 88: mode information for ultra dma the active mode reflects the command change. bit 15-8 active transfer mode bit 13 1=mode 5 is active bit 12 1=mode 4 is active bit 11 1=mode 3 is active bit 10 1=mode 2 is active bit 9 1=mode 1 is active bit 8 1=mode 0 is active bit 7-0 supported mode bit 5 1=mode 5 is supported bit 4 1=mode 4 is supported bit 3 1=mode 3 is supported bit 2 1=mode 2 is supported bit 1 1=mode 1 is supported bit 0 1=mode 0 is supported the default value for this word is 003fh word 89: the time period for security erase unit command completion shall be set. timer a ctual value 0 not s p ecified 1-254 ( timer  2 ) minuites 255 > 508 minuites
toshiba corporation digital media network company page 89 of 153 ? 2003, copyright toshiba corporation all rights reserved word 90: time required for enhanced security erase completion word 91: current advanced power management setting bit 15-8 reserved bit 7-0 current advanced power management setting set by set features command. the default value for this word is0080h. word 92: master password revision code the value of the master password revision code set when the master password was last change. valid values are 0001h through fffeh. a value of 0000h or ffffh indicates that the master password revision is not supported. word 93: hardware configuration test results bit 15 0 (fixed) bit 14 1 (fixed) bit 13 1=device detected cblid- above v ih 0=device detected cblid- below v il bit12-8 device 1 hardware reset result. de vice 0 shall clear these bits to zero. device 1 shall set these bits as follows : 12 reserved. 11 0=device 1 did not assert pdiag-. 1=device 1 asserted pdiag-. 10-9 these bits indicate how device 1 determined the device number: 00=reserved. 01=a jumper was used. 10=the csel signal was used. 11=some other method was used or the method is unknown. 8 1 (fixed) bit 7-0 device 0 hardware reset result. de vice 1 shall clear these bit to zero. device 0 shall set these bills as follows: 7 reserved. 6 0=device 0 does not respond when device 1 is selected. 1=device 0 responds when device 1 is selected. 5 0=device 0 did not detect the assertion of dasp-. 1=device 0 detected the assertion of dasp-. 4 0=device 0 did not detect the assertion of pdiag-. 1=device 0 detected the assertion of pdiag-. 3 0=device 0 failed diagnostics. 1=device 0 passed diagnostics. 2-1 these bits indicate how device 0 determined the device number: 00=reserved. 01=a jumper was used. 10=the csel signa was used. 11=some other method was used or the method is unknown. 0 1 (fixed) word 94: current automatic acoustic management value bit 15-8 vendor?s recommended acoustic management value bit 7-0 current automatic acoustic management value this function is not supported. the value for this word is 0000h. word 95-99: reserved word 100-103: maximum user lba for 48-bit address feature set the value for this word is xxxxh. word 104-126: reserved word 127: removable media status notification feature set supported this function is not supported. the value for this word is 0000h.
toshiba corporation digital media network company page 90 of 153 ? 2003, copyright toshiba corporation all rights reserved word 128: security status bit 15-9 reserved bit 8 the security level. 1=the security level is maximum 0=the security level is high bit 5 1=the enhanced security erase unit feature supported bit 4 the security count has expired. 1=the security count is expired and securi ty unlock and security erase unit are aborted until receiving a power-on reset or hard reset. bit 3 security frozen. 1=the drive is in security frozen mode. bit 2 security locked. 1=the drive is in security locked mode. bit 1 security enabled. 1=the security is enabled. bit 0 security supported. 1=security is supported. word 129-159: reserved word 160: cfa power mode bit 15 word 160 supported bit 14 reserved bit 13 cfa power mode 1 is required for one or more commands implemented by the device bit 12 cfa power mode 1 disabled bit 11-0 maximum current in ma this function is not supported. the value for this word is 0000h. word 161-175: reserved word 176-205: current media serial number this function is not supported. the value for this word is 0000h. word 206-254: reserved word 255: integrity word the data structure checksum is the two s complement of the sum of all bytes in words 0 through 254 and the byte consisting of bits 7:0 in word 255. each byte shall be added with unsigned arismetic, and overflow shall be ignored. the sum of all 512 bytes is zero when the checksum is correct.
toshiba corporation digital media network company page 91 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.31 set max (f9h) individual set max commands are identified by the value placed in the features register. table 11.8-6 shows these features register values. but r egardless of feature register value, the case this command is immediately proceded by a read native max adress comamnd, it is interpreted as a set max address command. table 11.8-6 set max features register values value command 00h obsolete 01h set max set password 02h set max lock 03h set max unlock 04h set max freeze lock 05h-ffh reserved 11.8.31.1 set max address command code 1 1 1 1 1 0 0 1 register register setting normal completion dr drive no. no change cy max. cylinder number no change hd max. head number no change sn max. sector number no change sc 00 h / 01 h (bito: reserved bit) no change ft no change lba max. lba no change this command specifies the the maximum address in a range of actual drive capacity. the values set in cy, hd, sn registers indicate the maximum address that c an be accessed. in chs mode, the value of read native max address command should be set in hd, sn register. otherwise, the value shall be ignored and the value of read max address command will be used. if an lba bit (drv / hd register bit 6) is set, the value in lba mode shall be set. if the address exceeding the set value is a ccessed , ? abort error ? error will be reported. this set value affects the values of word 1, 54, 57, 58, 60, 61, 100-103 of identify device command. this command shall be immediately preceded by read native max address command. otherwise, it will be terminated with ? abort error ? . if this command is issued twice with a volatile bit se t to 1 after power-up or hardware reset, ?id not found error? will be reported. if a host protected area has been established by a set max address ext command, this command will be terminated with ? abort error ? . volatile bit ( sc register bit 0 ) : if this command is issued with a volatile bit set to 1, the set value of this command is valid after power-up or hardware reset. if this command is issued with a volatile bit cleared to 0, the set value of this command shall be cleared after hard reset or power-on and the maximam value shall be t he last value with a volatile bit set to 1.
toshiba corporation digital media network company page 92 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.31.2 set max set password f9h with the content of the features register equal to 01h. command code 1 1 1 1 1 0 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft 01 h no change lba no change this command is not immediately preceded by a r ead native max address command. if this command is immediately preceded by a read native max address command, it shall be interpreted as a set max address command. this command requests a transfer of a single sector of data from the host. table 11.8- 7 defines the content of this sector of information. the password is retained by the device until the next pow er cycle. when the device accepts this command the device is in set_max_unlocked state. table 11.8-7 set max set password data content word content 0 reserved 1-16 password (32 bytes) 17-255 reserved 11.8.31.3 set max lock f9h with the content of the features register equal to 02h. command code 1 1 1 1 1 0 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft 02 h no change lba no change this command is not immediately preceded by a r ead native max address command. if this command is immediately preceded by a read native max address command, it shall be interpreted as a set max address command. the set max lock command sets the device into set_ max_locked state. after this command is completed any other set max commands except set max unl ock and set max freeze lock are rejected. the device remains in this state until a power cycle or the acceptance of a set max unlock or set max freeze lock command.
toshiba corporation digital media network company page 93 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.31.4 set max unlock f9h with the content of the features register equal to 03h. command code 1 1 1 1 1 0 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft 03 h no change lba no change this command is not immediately preceded by a r ead native max address command. if this command is immediately preceded by a read native max address command, it shall be interpreted as a set max address command. this command requests a transfer of a single sector of dat a from the hosttable 11.8-7 defines the content of this sector of information. the password supplied in the sector of data transferr ed shall be compared with the stored set max password. if the password compare fails, then the device retu rns command aborted and decrements the unlock counter. on the acceptance of the set max lock command, this counter is set to a value of five and shall be decremented for each password mismatch when set m ax unlock is issued and the device is locked. when this counter reaches zero, then the set max unloc k command shall return command aborted until a power cycle. if the password compare matches, then the device shall make a transition to the set_max_unlocked state and all set max commands shall be accepted. 11.8.31.5 set max freeze lock f9h with the content of the features register equal to 04h command code 1 1 1 1 1 0 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft 04 h no change lba no change a set max set password command shall previously hav e been successfully completed. this command is not immediately preceded by a read native max address command. if this command is immediately preceded by a read native max address command, it is interpreted as a set max address command. the set max freeze lock command sets the device to set_max_frozen state. after command completion any subsequent set max commands are rejected. commands disabled by set max freeze lock are: ? set max address ? set max set password ? set max lock ? set max unlock
toshiba corporation digital media network company page 94 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.32 set max address ext (37h) command code 0 0 1 1 0 1 1 1 register register setting normal completion dr drive no. no change lba low current previous max lba(7:0) max lba(31:24) hob=0 hob=1 no change no change lba mid current previous max lba(15:8) max lba(39:32) hob=0 hob=1 no change no change lba high current previous max lba(23:16) max lba(47:40) hob=0 hob=1 no change no change sc current previous 00 h / 01 h reserved hob=0 hob=1 no change no change ft current previous reserved reserved hob=0 hob=1 no change no change this command specifies the the maximum address in a r ange of actual drive capacit y. if the address exceeding the set value is accessed , ? abort error ? error will be reported. this set value affects the values of word 60, 61, 100-103 of identify device command. this command shall be immediately preceded by read na tive max address ext command. otherwise, it will be terminated with ? abort error ? . if this command is issued twice with a volatile bit se t to 1 after power-up or hardware reset, ?id not found error? will be reported. if a host protected area has been established by a set max address command, this command will be terminated with ? abort error ? . volatile bit ( sc register bit 0 ) : if this command is issued with a volatile bit set to 1, the set value of this command is valid after power-up or hardware reset. if this command is issued with a volatile bit cleared to 0, the set value of this command shall be cleared after hard reset or power-on and the maximam value shall be t he last value with a volatile bit set to 1. 11.8.33 read native max address (f8h) command code 1 1 1 1 1 0 0 0 register register setting normal completion dr drive no. no change cy maximum cylinder number hd maximum head number sn maximum sector number lba maximum lba this command sets the maximum address in cy, hd, sn regi ster. if lba ( drv / hd register bit6 ) is set to 1, the maximum address shall be lba value. if the 48-bit native max address is greater than 268, 435,455, the read native max address command shall return a maximum value of 268,435,454.
toshiba corporation digital media network company page 95 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.34 read native max address ext (27h) command code 0 0 1 0 0 1 1 1 register register setting normal completion dr drive no. no change lba low current previous hob=0 hob=1 max lba(7:0) max lba(31:24) lba mid current previous hob=0 hob=1 max lba(15:8) max lba(39:32) lba high current previous hob=0 hob=1 max lba(23:16) max lba(47:40) sc current previous hob=0 hob=1 no change no change ft current previous reserved reserved hob=0 hob=1 no change no change this command sets the maximum address (lba value).
toshiba corporation digital media network company page 96 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.35 set features (efh) command code 1 1 1 0 1 1 1 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc mode selection for data transfer(*2) no change ft features(*1) no change (*1) features: ft register defines following selections. 02h enable write cache feature 03h select data transfer mode 05h enable advanced power management 55h disable read look-ahead feature 66h disable reverting to power on defaults by soft reset 82h disable write cache feature 85h disable advanced power management aah enable read look-ahead feature cch enable reverting to power on defaults by soft reset others invalid (reporting with aborted command error) (*2)mode selection for data transfer is specified in sect or count register. upper 5 bits show transfer mode and lower 3 bits show mode figure. pio default transfer mode 00000 000 pio default transfer mode, disable iordy 00000 001 pio flow control transfer mode nnn 00001 nnn multiword dma mode nnn 00100 nnn ultra dma mode nnn 01000 nnn reserved 10000 nnn pio default mode is mode 4 flow control. dma default mode is multiword dma mode 2. the level of advanced power management func tion is set in sector count register. c0h-feh ?? mode0 (power save up to low power idle) 80h-bfh ?? mode1 (power save up to low power idle) 01h-7fh ?? mode2 (power save up to standby) 00h,ffh ?? aborted transition time of power save is changed dynamica lly in mode1 and mode2 due to adaptive power control function. the function level is set to mode1 w hen advanced power management function is disabled. if ft register has any other value, the drive rejects the command with abort command error. default settings after power on or hard reset are: data transfer mode of multiword dma mode 2, pio mode 4 flow control, 4 bytes ecc, look-ahead read enabled, write cache enabled, advanced power management enabled, read/write multiple command enabled (16 sectors) and reverting to power on defaults by soft reset disabled.
toshiba corporation digital media network company page 97 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.36 security set password (f1h) command code 1 1 1 1 0 0 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change this command requests a transfer of a sector of data fr om the host including the information specified in the table below. the function of this comm and is decided by the transferred data. the revision code field is returned in the identify device word 92. the valid revision codes are 0001h through fffeh. a value of 0000h or ffffh indicated t hat the master password revision code is not supported. security set password information word content 0 control word bits 15-9 reserved bits 8 security level 0=high 1=maximum bits 7-1 reserved bit 0 identifier 0=set user password 1=set master password 1-16 password ( 32 bytes ) 17 master password revision code (valid if word 0 bit 0 = 1) 18-255 reserved the settings of the identifier and security level bits interact as shown in the table below. identifier and security level identifier level command result user high the password supplied with the command w ill be saved as the new user password. the lock function will be enabled by the next power-on. t he drive can then be unlo cked by either the user password or the previously set master password. master high this combination will set a master password but will not enable the lock function. the security level is not changed. master passwor d revision code set to the value in master password revision code field. user maximum the password supplied with the command will be saved as the new user password. the lock function will be enabled by the next power-on. t he drive can only be unlocked by the user password. the master password previously set is still stored in the dr ive but will not be used to unlock the drive. master maximum this combination will set a master password but will not enabl e the lock function. the security level is not changed. master passwor d revision code set to the value in master password revision code field.
toshiba corporation digital media network company page 98 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.37 security unlock (f2h) command code 1 1 1 1 0 0 1 0 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change this command requests the host to tr ansfer a sector of data including ones described in the table below . security unlock information word content 0 control word bit 15-1 reserved bit 0 identifier 0=compare user password 1=compare master password 1-16 password (32 bytes) 17-255 reserved if the identifier bit is set to master and the drive is in high security level, then the supplied password will be compared with the stored master password. if the driv e is in maximum security level, then the security unlock command will be rejected. if the identifier bit is set to user, the drive compares the supplied password with the stored user password. if the drive fails in comparing passwords, then the dr ive returns an abort error to the host and decrements the unlock counter. this counter is in itially set to five and will be decremented for each mismatched passwords when security unlock is issued and the drive is locked. when this counter is zero, security unlock and security erase unit commands are aborted until the next power-on reset or hard reset. security unlock commands issued when the drive is unlocked have no effect on the unlock counter. 11.8.38 security erase prepare (f3h) command code 1 1 1 1 0 0 1 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change the security erase prepare command must be i ssued immediately before the security erase unit command to enable the drive erase and unlock. this command can prevent accidental erasure of the drive.
toshiba corporation digital media network company page 99 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.39 security erase unit (f4h) command code 1 1 1 1 0 1 0 0 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change this command must be issued immediately after the security erase prepare command. this command requests to transfer a se ctor of data from the host including the data specified in the following table. if the password does not match, the drive rejects the command with an aborted command error. security erase unit information word content 0 control word bit 15-1 reserved bit 0 identifier 0=compare user password 1=compare master password 1-16 password (32 bytes) 17-255 reserved the security erase unit command erases all us er data. the security erase prepare command must be completed immediately prior to the se curity erase unit command, otherwise, the security erase unit command shall be aborted.. this command disables the drive lock function, however, the master password is still stored internally within the drive and may be reactivated late r when a new user password is set. 11.8.40 security freeze lock (f5h) command code 1 1 1 1 0 1 0 1 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change the security freeze lock allows the drive to enter frozen mode. after the completion of this command, any other commands that update the dr ive lock functions are rejected. t he drive recovers from the frozen mode by power-on reset or hard reset. if security fr eeze lock is issued when the drive is in frozen mode, the drive executes the co mmand and remains in frozen mode. following commands are rejected when the dr ive is in security freeze lock mode. ? security set password ? security unlock ? security disable password ? security erase prepare ? security erase unit
toshiba corporation digital media network company page 100 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.41 security disable password (f6h) command code 1 1 1 1 0 1 1 0 register register setting normal completion dr drive no. no change cy no change hd no change sn no change sc no change ft no change this command can be executed only when the drive is in unlocked mode. when the drive is in locked mode, the drive rejects the command wi th an aborted command error. the security disable password command requests a transfe r of a single sector of data from the host including the information specified in the following t able. then the drive checks the transferred password. if the user password or the master password match the gi ven password, the drive di sables the lock function. this command does not change the master password wh ich may be reactivated later by setting a user password. security disable information word content 0 control word bit 15-1 reserved bit 0 identifier 0=compare user password 1=compare master password 1-16 password (32 bytes) 17-255 reserved 11.8.42 smart function set (b0h) this command has a number of separate functions whic h can be selected via the feature register when the command is issued. the subcommands and t heir respective codes are listed below. subcommand code smart read attribute values d0h smart read attribute thresholds d1h smart enable/disable autosave d2h smart save attribute values d3h smart execute off-line immidiate d4h smart read log sector d5h smart write log sector d6h smart enable operations d8h smart disable operations d9h smart return status dah smart enable/disable automatic off-line dbh
toshiba corporation digital media network company page 101 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.1 smart read attribute values 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 no change sc ft d0h no change this command transfers smart data as 512 byte data. upon receipt of this command, the drive sets bsy, sets the smart data on the buffer. then, it sets drq, resets bsy, issue an interrupt to report that the drive is ready to transfer data. b y te descri p tion 0-1 data structure revision number 2-361 1st-30th individual attribute data 362 off-line data collection status 363 self-test execution status 364-365 total time in seconds to com p lete off-line data collection activit y 366 reserved 367 off-line data collection ca p abilit y 368-369 smart ca p abilit y 370 error logging capability 7=1 reserved 0 1= device error logging supported 371 self-test failure check p oint 372 short self-test routine recommended p ollin g time ( in minutes ) 373 extended self-test routine recommended p ollin g time ( in minutes ) 374-510 reserved 511 data structure checksum byte 0-1: data structure revision number 0010h is set byte 2-361: individual attribute data the following table defines 12byte data for each attribue data.
toshiba corporation digital media network company page 102 of 153 ? 2003, copyright toshiba corporation all rights reserved byte description 0 attribute id number 01 - ffh 1-2 status flag bit 0 (pre-failure/advisory bit) bit 0 = 0: if attribute value is less than the threshold, the drive is in advisory condition. product life period may expired. bit 0 = 1: if attribute value is less t han the threshold, the drive is in pre-failure condition. the drive may have failure. bit 1 (on-line data collection bit) bit 1= 0: attribute value will be changed during off-line data collection operation. bit 1= 1: attribute value will be changed during normal operation. bit 2 (performance attribute bit) bit 3 (error rate attribute bit) bit 4 (event count attribute bit) bit 5 (self-preserving attribute bit) bit 6-15 reserved 3 attribute value 01h-fdh *1 00h, feh, ffh = not in use 01h = minimum value 64h = initial value fdh = maximum value 4 worst ever normalized attribute value ( valid values from 01h-feh ) 5-10 raw attribute value attribute specific raw data ( ffffffh - reserved as saturated value ) 11 reserved ( 00h ) *1 for id=199 crc error count initial value = c8h id attribute name 0 indicates that entry in the data structure is not used 1 read error rate 2 throughput performance 3 spin up time 4 start/stop count 5 reallocated sector count 7 seek error rate 8 seek time performance 9 power-on hours count 10 spin retry count 12 drive power cycle count 192 power-off retract count 193 load cycle count 194 temperature 196 re-allocated sector event 197 current pending sector count 198 off-line scan uncorrectable sector count 199 crc error count 220 disk shift 222 loaded hours 223 load retry count 224 load friction 226 load in time 240 write head
toshiba corporation digital media network company page 103 of 153 ? 2003, copyright toshiba corporation all rights reserved byte 362: off-line data collection status  value definition 00h or 80h off-line data collection activity was never started. 01h reserved 02h or 82h off-line data collection activi ty was completed without error. 03h or 83h off-line activity in progress. 04h or 84h off-line data collection activity wa s suspended by an interrupting command from host. 05h or 85h off-line data collection activity wa s aborted by an interrupting command from host. 06h or 86h off-line data collection activity was aborted by the device with a fatal error. 07h-ffh reserved byte 363: self-test execution status the self-test execution status byte reports t he execution status of the self-test routine. bits 0-3 (percent self-test remaining) the val ue in these bits indicates an approximation of the percent of the self-test routine remaining until completi on in ten percent increments. valid values are 0 through 9. a value of 0 indicates the self-test rout ine is complete. a value of 9 indicates 90% of total test time remaining. bits 4-7 (self-test execution status) the value in these bits indicates t he current self-test execution status . self-test execution status values value description 0 the previous self-test routine completed wi thout error or no self-test has ever been run 1 the self-test routine was aborted by the host 2 the self-test routine was interrupted by the host with a hard or soft reset 3 a fatal error or unknown test error occurred while the device was ex ecuting its self-test routine and the device was unable to co mplete the self-test routine. 4 the previous self-test completed having a te st element that failed and the test element that failed is not known. 5 the previous self-test completed having the write element or the electrical element of the test failed. 6 the previous self-test completed having t he servo (and/or seek) test element of the test failed. 7 the previous self-test completed havi ng the read element of the test failed. 8-14 reserved. 15 self-test routine in progress. byte 364-365: total time the time for off-line data collection operation ( sec.) byte 366: reserve byte 367: off-line data collection capability bit 0 (execute off-line immediate implemented bit) bit0 = 1 smart execute off-line immediate command supported.  bit0 = 0  smart execute off-line immediate command not supported this bit is set to 1 bit 1 (enable/disable automatic off-line implemented bit) bit0 = 1 smart enable/disable automatic off-line command supported.  bit0 = 0  smart enable/disable automatic off-line command not supported this bit is set to 1 bit 2 (abort/restart off-line by host) bit2 = 1 if another command is i ssued, off-line data collection operation is aborted. bit2 = 0 if another command is issued, off- line data collection operation is interrupted and then the operation will be continued.
toshiba corporation digital media network company page 104 of 153 ? 2003, copyright toshiba corporation all rights reserved bit 3 (off-line read scanning implemented bit) if this bit is cleared to zero, the dev ice does not support off-line read scanning. if this bit is set to one, the device supports off-line read scanni ng. this bit is set to 1. bit 4 (self-test implemented bit) if this bit is cleared to zero, the device does not impl ement the short and extended self-test routines. if this bit is set to one, the device implements the short and extended self-test routines. this bit is set to 1. bits 5 (reserved). this bit is set to 0. bits 6 (selective self-test implemented bit) if this bit is cleared to zero, the device does not implement the selective self-test rout ine. if this bit is set to one, the device implements the selective self -test routine. this bit is set to 1. bits 7 (reserved).  this bit is set to 0.  byte 368-369: smart capability  bit 0  (power mode smart data saving capabilities bit)  bit0 = 1 smart data is saved before power save mode changes.  bit0 = 0 smart data is not saved before power save mode changes.  this bit is set to 1  bit 1 (smart data autosave after event capability bit)  this bit is fixed to 1  bit 2-15 reserved byte 370 error logging capability byte 371 self-test failure checkpoint this byte reports the che ckpoint when previos self-test failed. byte 372-373: self-test routine recommended polling time the self-test routine recommended polling time is equal to the number of minutes that is the minimum recommended time before which the host should first poll for test completion status. actual test time could be several times this value. polling before this time could extend the self-test ex ecution time or abort the test depending on the state of bit 2 of the off-line data capability bits. byte 374-510: reserved byte 511: data structure checksum checksum of the first 511 byte
toshiba corporation digital media network company page 105 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.2 smart read attribute thresholds 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 no change sc ft d1h no change  this command transfers attribute thres holds of the drive as 512 byte data. upon receipt of the command, the drive sets bsy, sets smart data on the buffer, then, sets drq, resets bsy and issues an interrupt to report to t he host that data transfer is ready. byte descriptions 0-1 data structure revision number 2-361 1st-30th individual attribute threshold data 362-510 reserved 511 data structure checksum byte 0-1: data structure revision number   the value for this byte is 0010h. byte 2-361: individual attribute threshold data  individual attribute threshold data c onsists of 12 byte data. ( see the following fig.)  byte description 0 attribute id number 01h - ffh 1 attribute threshold 00h= always passed 01h= minimum value fdh= maximum value  feh, ffh= not in use 2-11 reserved byte 362-510: reserved byte 511: data structure checksum the checksum of the first 511 byte.
toshiba corporation digital media network company page 106 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.3 smart enable disable attribute autosave 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 no change sc 00h/f1h no change ft d2h no change this command enables and disables the attribute autosave function within the drive. this command allow the drive to automatically save its updated attribute values to the attribute data sector at mode transition or cause the autosave feature to be disabled. the state of the attribute autosave feature (either enabled or disabled) will be preserved by the drive across power cycles. a value of zero written by the host into the drive?s sector count register before issuing this command may disable this function. disabling th is feature does not preclude the drive from saving attribute values to the attribute data sector during other normal save operations. a value of f1h written by the host into the drive?s sector count register before issuing this command will cause this function to be enabled. any other non-zero value written by t he host into this register before issuing this command will not change the stat e of the attribute autosave feature. upon receipt of the command from the host, the drive se ts bsy, enables or disables the autosave function , clears bsy and asserts intrq. 11.8.42.4 smart save attribute values 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 no change sc no change ft d3h no change this command immediately saves changed attribute values . upon receipt of the command, the drive sets bsy, saves the attribute values, clears bsy and issues an interrupt.
toshiba corporation digital media network company page 107 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.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 initia te 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 will 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 r outine immediately in off-line mode 3 reserved 4 execute smart selective self-test routine immediately in off-line mode 5-126 reserved 127 abort off-line mode self-test routine 128 reserved 129 execute smart short self-test r outine immediately in captive mode 130 execute smart extended self-test r outine immediately in captive mode 131 reserved 132 execute smart selective self-test routine immediately in captive mode 133-255 reserved 11.8.42.5.1 off-line mode the following describes the protocol for ex ecuting a smart execute off-line immediate subcommand routine (including a self-t est 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 a fter receiving the command, the device will not set bsy nor clear drdy during executi on 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, standby immediate or id le 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 fr om the host the device may re-initiate or resume the subcommand routine without any additional commands from the host. d) if the device is in the process of performi ng a subcommand routine and is interrupted by a sleep command from the host, the device will suspend or abort the subcommand routine and execute the sleep command. if the device is in the process of per forming any self-test routine and is interrupted by a sleep command from the host, the device will abor t the subcommand routine and execute the sleep command.
toshiba corporation digital media network company page 108 of 153 ? 2003, copyright toshiba corporation all rights reserved 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, t he device will abort the subcommand routine and service the host within two seconds after receipt of the command. 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 hos t, the device will abort the subcommand routine and service the host within two seconds after receip t of the command. the device will then service the new smart execute off-line immediate subcommand. g) if the device is in the process of performing t he subcommand routine and is interrupted by a standby immediate or idle immediate command from the host, the device will suspend or abort the subcommand routine, and service the host within tw o seconds after receipt of the command. after receiving a new command that causes the device to ex it a power saving mode, the device will initiate or resume the subcommand routine without any additional commands from the host unless these activities were aborted by the host. h) while the device is performing the subcommand routi ne it will not automatically change power states (e.g., as a result of its standby timer expiring). if an error occurs while a device is performing a self -test routine the device ma y discontinue the testing and place the test results in the se lf-test execution status byte. 11.8.42.5.2 captive mode when executing a self-test in captiv e mode, the device sets bsy to one and ex ecutes the self-test routine after receipt of the command. at the end of t he routine the device places the result s of this routine in the self-test execution status byte and executes command completion. if an error occurs while a device is performing the routine the device may discontinue its test ing, place the results of this routi ne in the self-test execution status byte, and complete the command. 11.8.42.5.3 smart off-line routine this routine will only be performed in the off-line mode. the results of this routine are placed in the off-line data collection status byte. 11.8.42.5.4 smart short self-test routine depending on the value in the sector number register, th is self-test routine may be performed in either the captive or the off-line mode. this self-test routine should take on the or der of ones of minutes to complete. 11.8.42.5.5 smart extended self-test routine depending on the value in the sector number register, th is self-test routine may be performed in either the captive or the off-line or mode. this self-test routine should take on the or der of tens of minutes to complete. 11.8.42.5.6 smart selective self-test routine when the value in the lba low register is 4 or 132, t he selective self-test routine shall be performed. this self-test routine shall include the initial tests performed by the extended self-test rout ine plus a selectable read scan. the host shall not write the sele ctive self-test log while the executi on of a selective self-test command is in progress. the user may choose to do read scan only on specific areas of the media. to do this, user shall set the test spans desired in the selective self-test log and set the flags in the feature flags field of the selective self-test log to indicate do not perform off-line scan. in this ca se, the test spans defined shall be read scanned in their entirety. the selective self-test l og is updated as the self-test proceeds indicating test progress. when all specified test spans have been completed, the test is te rminated and the appropriate self -test execution status is reported in the smart read data response depending on the occurrence of errors. the following figure shows an example of a selective self-t est definition with three test spans defined. in this example, the test terminates when all three test spans have been scanned.
toshiba corporation digital media network company page 109 of 153 ? 2003, copyright toshiba corporation all rights reserved lba 0 user lba space lba max test span 1 starting lba for test span 1 ending lba for test span 1 test span 2 starting lba for test span 2 ending lba for test span 2 test span 3 starting lba for test span 3 ending lba for test span 3 selective self-test test span example after the scan of the selected spans described above, a user may wish to have the rest of media read scanned as an off-line scan. in this case, the user shall set the flag to enable off-li ne scan in addition to the other settings. if an error occurs during the scanning of the test spans, the error is reported in the self -test execution status in the smart read data response and the off-line scan is not executed. when t he test spans defined have been scanned, the device shall then set the off-line scan pending and active flags in the selective self-test log to one, the span under test to a value greater than five, the self-test execution status in the smart read data response to 00h, set a value of 03h in the off-line data collection status in the smart read data response and shall proceed to do an off-line read scan through all areas not included in the test spans. this off-line read scan shall completed as rapidly as possible, no paus es between block reads, and any errors encountered shall not be reported to the host. instead error locations ma y be logged for future reallocation. if the device is powered-down before the off-line scan is completed, t he off-line scan shall resume when the device is again powered up. from power-up, the resumption of the scan shall be delayed the time indicated in the selective self-test pending time field in the selective self-test l og. during this delay time the pending flag shall be set to one and the active flag shall be set to zero in the selective self-test log. once the time expires, the active flag shall be set to one, and the off-line scan shall resu me. when the entire media has been scanned, the off-line scan shall terminate, both the pending and active flags s hall be cleared to zero, and the off-line data collection status in the smart read data response shall be set to 02h indicating completion. during execution of the selective self -test, the self-test executions time byte in the device smart data structure may be updated but the accura cy may not be exact because of the nature of the test span segments. for this reason, the time to complete off-line test ing and the self-test polling times are not valid. progress through the test spans is indicated in the selective self-test log. a hardware or software reset shall abort the selective se lf-test except when the pending bit is set to one in the selective self-test log (see 11.8. 42.6.5). the receipt of a smart execute off-line immediate command with 0fh, abort off-line test routine, in the lba low r egister shall abort selective self-test regardless of where the device is in the execution of t he command. if a second self-test is iss ued while a selective self-test is in progress, the selective self-test is aborted and the newly requested se lf-test is executed.
toshiba corporation digital media network company page 110 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.6 smart read log sector 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 log sector address no change sc number of sectors to read 00h ft d5h no change this command returns the indicated log sector contents to the host. sector count -specifies the number of sectors to be r ead from the specified log. the log transferred by the drive shall start at the first sector in the specif ied log, regardless of t he sector count requested. sector number indicates the log sector to be returned as described in the following table. log sector log sector address content r/w 00h log directory ro 01h smart error log ro 02h comprehensive smart error log ro 03h extended comprehensive smart error log see note 04h-05h reserved ro 06h smart self-test log ro 07h extended smart self-test log see note 08h reserved ro 09h selective self-test log ro 0ah-7fh reserved ro 80h-9fh host vendor specific r/w a0h-ffh reserved vs key ? ro ?log is read only by the host. r/w ?log is read or written by the host. vs ?log is vendor specific thus read/ write ability is vendor specific. note - log addresses 03hand 07h are used by the read log ext and write log ext commands. if these log addresses ar e used with the smart read log command, the device shall return command aborted. 11.8.42.6.1 smart log directory the following table defines the 512 bytes that make up the smart log directory.the smart log directory is smart log address zero, and is defined as one sector long.
toshiba corporation digital media network company page 111 of 153 ? 2003, copyright toshiba corporation all rights reserved smart log directory byte descriptions 0-1 smart logging version 2 number of sectors in the log at log address 1 3 reserved 4 number of sectors in the log at log address 2 5 reserved ? ? 510 number of sectors in the log at log address 255 511 reserved the value of the smart logging version word is set to 01h. then the drive supports multi-sector smart logs. in addition, if the drive supports mu lti-sector logs, then the logs at log addresses 80-9fh shall each be defined as 16 sectors long. 11.8.42.6.2 summary error log sector the following table defines the 512 bytes that ma ke up the smart summary error log sector. smart summary error log sector byte descriptions 0 smart error log version 1 error log index 2-91 first error log data structure 92-181 second error log data structure 182-271 third error log data structure 272-361 fourth error log data structure 362-451 fifth error log data structure 452-453 device error count 454-510 reserved 511 data structure checksum 11.8.42.6.2.1 error log version the value of the smart error log version byte is set to 01h. 11.8.42.6.2.2 error log data structure an error log data structure will be presented for each of the last five errors reported by the device. these error log data structure entries are viewed as a circular buffer. that is, the first error will create the first error log data structure; the second error, the sec ond error log structure; etc. the si xth error will create an error log data structure that replaces the first error log data structure; the sev enth error replaces the se cond error log structure, etc. the error log pointer indicates t he most recent error log structure. if fewer than five errors have occurred, the unused error log structure entries w ill be zero filled. the following table de scribes the content of a valid error log data structure. error log data structure byte descriptions n ?n+11 first command data structure n+12 ?n+23 second command data structure n+24 ?n+35 third command data structure n+36 ? n+47 fourth command data structure n+48 ? n+59 fifth command data structure n+60 ? n+89 error data structure
toshiba corporation digital media network company page 112 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.6.2.3 command data structure the fifth command data structure will contain the command or reset for which the error is being reported. the fourth command data structure should contain the comm and or reset that preceded the command or reset for which the error is being reported, the third command data structure should contain the command or reset preceding the one in the fourth command data structure, etc. if fewer than four commands and resets preceded the command or reset for which the error is being r eported, the unused command data structures will be zero filled, for example, if only three commands and resets preceded the command or reset for which the error is being reported, the first command data structure will be zero filled. in some devices, the hardware implementation may preclude the device from reporti ng the commands that preceded the command for which the error is being reported or that preceded a reset. in th is case, the command data structures are zero filled. if the command data structure represents a command or software reset, the content of the command data structure will be as shown in the following table. command data structure byte descriptions n content of the device control register when the command register was written. n+1 content of the features register when the command register was written. n+2 content of the sector count register when the command register was written. n+3 content of the sector number regist er when the command register was written. n+4 content of the cylinder low register when the command register was written. n+5 content of the cylinder high register when the command register was written. n+6 content of the device/head register when the command register was written. n+7 content written to the command register. n+8 timestamp n+9 timestamp n+10 timestamp n+11 timestamp timestamp shall be the time since power-on in milliseconds when command acceptance occurred. this timestamp may wrap around. 11.8.42.6.2.4 error data structure the error data structure will contai n the error description of the command for which an error was reported as described in the following table. error data structure byte descriptions n reserved n+1 content of the error register after command completion occurred. n+2 content of the sector count regi ster after command completion occurred. n+3 content of the sector number regi ster after command completion occurred. n+4 content of the cylinder low regist er after command completion occurred. n+5 content of the cylinder high regist er after command completion occurred. n+6 content of the device/head regist er after command completion occurred. n+7 content written to the status regi ster after command completion occurred. n+8 - n+26 extended error information n+27 state n+28 life timestamp (least significant byte) n+29 life timestamp (most significant byte) extended error information will be vendor specific. state will contain a value indicating the state of the device when command was written to the command register or the reset occurred as described in the following table.
toshiba corporation digital media network company page 113 of 153 ? 2003, copyright toshiba corporation all rights reserved state field values value state x0h unknown x1h sleep x2h standby x3h active/idle with bsy cleared to zero x4h executing smart off-line or self-test x5h-xah reserved xbh-xfh vendor unique the value of x is vendor specific and may be different for each state. sleep indicates the reset for which the error is bei ng reported was received when the device was in the sleep mode. standby indicates the command or reset for which the error is being reported was received when the device was in the standby mode. active/idle with bsy cleared to zero indicates the co mmand or reset for which the error is being reported was received when the device was in the active or idle mode and bsy was cleared to zero. executing smart off-line or self-test indicates the command or reset for which the error is being reported was received when the device was in the process of executing a smart off-line or self-test. life timestamp will contain the power-on lifetim e of the device in hours when command completion occurred. 11.8.42.6.2.5 device error count the device error count field will contain the total number of errors attributable to the device that have been reported by the device during the life of the device. these errors will include unc errors, idnf errors for which the address requested was valid, servo errors, wr ite fault errors, etc. this count will not include errors attributed to the receipt of faulty comm ands such as commands codes not implemented by the device or requests with invalid param eters or invalid addresses. if the maximum value for this field is reached, the count will remain at the maximum value when additional errors are encountered and logged. 11.8.42.6.2.6 data structure checksum the data structure checksum is the two's complement of the sum of the first 511 by tes in the data structure. each byte will be added with unsigned arithmetic, and over flow will be ignored. the sum of all 512 bytes will be zero when the checksum is correct. the checksum is placed in byte 511. 11.8.42.6.3 comprehensive error log the following defines the format of eac h of the sectors that comprise t he smart comprehensive error log. the smart comprehensive error log provides logging fo r 28-bit addressing only. for 48-bit addressing see 11.8.43.2 . the size of the smart comprehensive error log is 51 sectors. all multi-by te fields shown in this structure follow the byte ordering described in 11.8. 42.6.2.3 and 11.8.42.6.2.4. t he comprehensive error log data structures shall include unc errors, idnf errors for which the address requested was valid, servo errors, write fault errors, etc. comprehensive e rror log data structures shall not include errors attributed to the receipt of faulty commands such as command codes not supported by the device or requests with invalid parameters or invalid addresses.
toshiba corporation digital media network company page 114 of 153 ? 2003, copyright toshiba corporation all rights reserved comprehensive error log byte first sector subsequent sectors 0 smart error log version reserved 1 error log index reserved 2-91 first error log data structure data structure 5n+1 92-181 second error log data structure data structure 5n+2 182-271 third error log data structure data structure 5n+3 272-361 fourth error log data structure data structure 5n+4 362-451 fifth error log data structure data structure 5n+5 452-453 device error count reserved 454-510 reserved reserved 511 data structure checksum data structure checksum n is the sector number within the log. the first sector is sector zero 11.8.42.6.3.1 error log version the value of the error log version byte shall be set to 01h. 11.8.42.6.3.2 error log index the error log index indicates the erro r log data structure representing the most recent error. if there have been no error log entries, the error log index is set to zero. valid values for the error log index are zero to 255. 11.8.42.6.3.3 error log data structure the error log is viewed as a circular buffer. the devic e may support from two to 51 error log sectors. when the last supported error log sector has been filled, the next error shall create an e rror log data structure that replaces the first error log data structure in sector zero. the nex t error after that shall create an error log data structure that replaces the second error log dat a structure in sector zero. the sixt h error after the log has filled shall replace the first error log data st ructure in sector one, and so on. the error log index indicates the most recent error log data structure. unused error log data structures shall be filled with zeros. the content of the error log data struct ure entries is defined in 11.8.42.6.2.2. 11.8.42.6.3.4 device error count the device error count field is defined in 11.8.42.6.2.5. 11.8.42.6.3.5 data structure checksum the data structure checksum is defined in 11.8.42.6.2.6. 11.8.42.6.4 self-test log sector the following table defines the 512 bytes that make up the smart self-test log sector.
toshiba corporation digital media network company page 115 of 153 ? 2003, copyright toshiba corporation all rights reserved self-test log data structure byte descriptions 0-1 self-test log data structure revision number 2-25 first descriptor entry 26-49 second descriptor entry ..... ............ 482-505 twenty-first descriptor entry 506-507 vendor specific 508 self-test index 509-510 reserved 511 data structure checksum 11.8.42.6.4.1 self-test log da ta structure revision number the value of the self-test log data st ructure revision number is set to 0001h. 11.8.42.6.4.2 self-test log descriptor entry this log is viewed as a circular buffer. the first entry will begin at byte 2, the second entry will begin at byte 26, and so on until the twenty-second entry, that will replace the first entry. then, the twenty-third entry will replace the second entry, and so on. if fewer than 21 self -tests have been performed by the device, the unused descriptor entries will be filled with zeroes. the content of the self-test descriptor entry is shown in the following table. self-test log descriptor entry byte descriptions n content of the sector number n+1 content of the self-t est execution status n+2 life timestamp (least significant byte). n+3 life timestamp (most significant byte). n+4 content of the self-test failure checkpoint n+5 failing lba(least significant byte). n+6 failing lba(next least significant byte). n+7 failing lba(next most significant byte). n+8 failing lba(most significant byte). n+9 - n+23 vendor specific. content of the sector number register will be the content of the sector nu mber register when the nth self-test subcommand was issued. content of the self-test exec ution status byte will be the content of t he self-test execution status byte when the nth self-test was completed life timestamp will contain the power-on lifetime of t he device in hours when the nth self-test subcommand was completed. content of the self-test failure checkpoi nt byte will be the content of the self -test failure checkpoint byte when the nth self-test was completed. the failing lba will be the lba of the uncorrectable se ctor that caused the test to fail. if the device encountered more than one uncorrectable sector during the test, this field will indicate the lba of the first uncorrectable sector encountered. if the test pass ed or the test failed for some reason other than an uncorrectable sector, the value of this field is undefined.
toshiba corporation digital media network company page 116 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.6.4.3 self-test index the self-test index will point to the most recent entry . initially, when the log is empty, the index will be set to zero. it will be set to one when the first entry is made, two for the second entry, etc., until the 22nd entry, when the index will be reset to one. 11.8.42.6.4.4 data structure checksum the data structure checksum is the two's complement of the sum of the first 511 bytes in the data structure. each byte will be added with unsigned arithm etic, and overflow will be ignored. the sum of all 512 bytes is zero when the checksum is corre ct. the checksum is placed in byte 511. 11.8.42.6.5 selective self-test log the selective self-test log is a log that may be both wr itten and read by the host. this log allows the host to select the parameters for the self-tes t and to monitor the progress of the se lf-test. the following table defines the content of the selective self-test log. selective self-test log byte description read/write 0-1 data structure revision number r/w 2-9 starting lba for test span 1 r/w 10-17 ending lba for test span 1 r/w 18-25 starting lba for test span 2 r/w 26-33 ending lba for test span 2 r/w 34-41 starting lba for test span 3 r/w 42-49 ending lba for test span 3 r/w 50-57 starting lba for test span 4 r/w 58-65 ending lba for test span 4 r/w 66-73 starting lba for test span 5 r/w 74-81 ending lba for test span 5 r/w 82-337 reserved reserved 338-491 vendor specific vendor specific 492-499 current lba under test read 500-501 current span under test read 502-503 feature flags r/w 504-507 vendor specific vendor specific 508-509 selective self-test pending time r/w 510 reserved reserved 511 data structure checksum r/w 11.8.42.6.5.1 data structure revision number the value of the data structure revision number filed s hall be 01h. this value shall be written by the host and returned unmodified by the device. 11.8.42.6.5.2 test span definition the selective self-test log provides fo r the definition of up to five test spans. the starting lba for each test span is the lba of the first sector tested in the test span and the ending lba for each test span is the last lba tested in the test span. if the starting and ending lba values fo r a test span are both zero, a test span is not defined and not tested. these values shall be written by the host and returned unmodified by the device.
toshiba corporation digital media network company page 117 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.6.5.3 current lba under test the current lba under test field shall be written with a val ue of zero by the host. as t he self-test progresses, the device shall modify this value to contain the beginning lba of the 65,536 sector bl ock currently being tested. when the self-test including the off-line scan between test spans has been completed, a zero value is placed in this field. 11.8.42.6.5.4 current span under test the current span under test field shall be written with a va lue of zero by the host. as the self-test progresses, the device shall modify this value to contain the test span number of the current span being tested. if an off-line scan between test spans is selected, a value greater then five is placed in this field during the off-line scan. when the self-test including the off-line scan between test spans has been completed, a zero value is placed in this field. 11.8.42.6.5.5 feature flags the feature flags define the features of select ive self-test to be executed (see following table). selective self-test feature flags bit description 0 vendor specific 1 when set to one, perform off-line scan after selective test. 2 vendor specific 3 when set to one, off-line scan after selective test is pending. 4 when set to one, off-line scan after selective test is active. 5-15 reserved. bit (1) shall be written by the host and returned unmodified by the device. bits (4:3) shall be written as zeros by the host and the device shall modify them as the test progresses. 11.8.42.6.5.6 selective self-test pending time the selective self-test pending time is the time in minutes from power-on to the resumption of the off-line testing if the pending bit is set. at the expiration of this time, se ts the active bit to one, and resumes the off-line scan that had begun before power-down. 11.8.42.6.5.7 data structure checksum the data structure checksum is the two's complement of the sum of the first 511 bytes in the data structure. each byte will be added with unsigned arithm etic, and overflow will be ignored. the sum of all 512 bytes is zero when the checksum is corre ct. the checksum is placed in byte 511.
toshiba corporation digital media network company page 118 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.7 smart write log sector 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 log sector address no change sc number of sectors to write 00h ft d6h no change this command writes an indicated number of 512 byte data sectors to the indicated log. 11.8.42.8 smart enable operations 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 no change sc no change ft d8h no change this command enables access to all smart capabilities of the drive. prior to receipt of this command, parameters for drive failure prediction are neither m onitored nor saved by the dr ive. the state of smart (either enabled or disabled) will be preserved by the drive across power cycles. once enabled, the receipt of subsequent smart enable operat ions commands don?t affect any of the parameters for drive failure prediction. upon receipt of this command from the host, t he drive sets bsy, enables smart capabilities and functions, clears bsy and asserts intrq.
toshiba corporation digital media network company page 119 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.9 smart disable operations 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 no change sc no change ft d9h no change this command disables all smart capabilities within t he drive including any and all timer functions related exclusively to this function. after receipt of th is command the drive may disable all smart operations. parameters for drive failure prediction will no longer be monitored or saved by the drive. the state of smart (either enabled or disabled) will be pres erved by the drive across power cycles. upon receipt of the smart disable operations comm and from the host, the drive sets bsy, disables smart capabilities and functions, clears bsy and asserts intrq. after receipt of this command by the drive, a ll other smart commands, ex cept for smart enable operations, are disabled and invalid and will be aborted by the drive (including smart disable operations commands) with an aborted command error. 11.8.42.10 smart return status command code 1 0 1 1 0 0 0 0 register register setting normal completion dr drive no. no change cy c24fh c24fh/2cf4h hd no change sn no change sc no change ft dah no change if an impending failure is not predicted, the drive sets the cylinder low register to 4fh and the cylinder high register to c2h. if an impending failure is predicted, t he drive sets the cylinder low register to f4h and the cylinder high register to 2ch. this command is used to communicate the reliability stat us of the drive to the host?s request. upon receipt of this command the drive sets bsy, saves any parameters monitored by the drive to non-volatile memory and checks the drive condition.
toshiba corporation digital media network company page 120 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.42.11 smart enable/disable automatic off-line 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 no change sc 00h/f8h no change ft dbh no change this subcommand enables and disables the optional feature t hat causes the device to perform the set of off-line data collection activities that automatically collect attr ibute data in an off-line mode and then save this data to the device?s non-volatile memory. this subcommand may either cause the device automatically initiate or resume performance of its off-line data collection activities; or this command may cause the automatic off-line data collection feature to be disabled. a value of zero written by the host into the device?s se ctor count register before issuing this subcommand will cause the feature to be disabled. disabling this feature does not preclude the device from saving attribute values to non-volatile memory during some other normal operat ion such as during a power-on or power-off sequence or during an error recovery sequence. a value of f8h written by the host into the device?s sect or count register before issuing this command will cause this feature to be enabled. any other non-zero value writt en by the host into this register before issuing this subcommand is vendor specific. automatic off-line data collection is executed every 24 power-on hours.
toshiba corporation digital media network company page 121 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.43 read log ext (2fh) command code 0 0 1 0 1 1 1 1 register register setting normal completion dr drive no. no change lba low current previous log address reserved hob=0 hob=1 reserved reserved lba mid current previous sector offset(7:0) sector offset(15:8) hob=0 hob=1 reserved reserved lba high current previous reserved reserved hob=0 hob=1 reserved reserved sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 reserved reserved ft current previous reserved reserved hob=0 hob=1 no change no change this command returns the specified log to the hos t. the device shall interrupt for each drq block transferred. sector count - specifies the number of sectors to be read from the specif ied log. the log transferred by the drive shall start at the sector in the specified log at the specified o ffset, regardless of the sector count requested. lba low - specifies the log to be returned as described in the following table. lba mid - specifies the first sector of the log to be read. log sector log sector address content r/w 00h log directory ro 01h smart error log see note 02h comprehensive smart error log see note 03h extended comprehensive smart error log ro 04h-05h reserved - 06h smart self-test log see note 07h extended smart self-test log ro 08h reserved - 09h selective self-test log see note 0ah-7fh reserved - 80h-9fh host vendor specific r/w a0h-ffh reserved - key ? ro ?log is read only by the host. r/w ?log is read or written by the host. note - log addresses 01h,02,,06h and 09h are used by the smart read log command commands. if these log addresses are used with the read log ext command, the device shall return command aborted. 11.8.43.1 general purpose log directory the following table defines the 512 bytes that make up the general purpose log directory.
toshiba corporation digital media network company page 122 of 153 ? 2003, copyright toshiba corporation all rights reserved general purpose log directory byte descriptions 0-1 general purpose logging version 2 number of sectors in the log at log address 01h (7:0) 3 number of sectors in the log at log address 01h (15:8) 4 number of sectors in the log at log address 02h (7:0) 5 number of sectors in the log at log address 02h (15:8) ? 256 10h sectors in the log at log address 80h 257 00h sectors in the log at log address 80h ? 510-511 number of sectors in the log at log address ffh the value of the general purpose logging version word is 0001h. the logs at log addresses 80-9fh shall each be defined as 16 sectors long. 11.8.43.2 extended comprehensive smart error log the fpllowing table defines the format of each of the sectors that comprise the extended comprehensive smart error log. the size of the extended comprehens ive smart error log is 64 sectors. error log data structures shall include unc errors, idnf errors for wh ich the address requested was valid, servo errors, write fault errors, etc. error log data struct ures shall not include errors attribut ed to the receipt of faulty commands such as command codes not implemented by the device or requests with invalid parameters or invalid addresses. all 28-bit entries contained in the comprehensive smart log, defined under section 11. 8.42.6.3, shall also be included in the extended comprehensive smar t error log with the 48-bit entries. extended comprehensive smart error log byte first sector subsequent sectors 0 smart error log version reserved 1 reserved reserved 2 error log index (7:0) reserved 3 error log index (15:8) reserved 4-127 first error log data structure data structure 4n+1 128-251 second error log data structure data structure 4n+2 252-375 third error log data structure data structure 4n+3 376-499 fourth error log data structure data structure 4n+4 500-501 device error count reserved 502-510 reserved reserved 511 data structure checksum data structure checksum n is the sector number within the log. the first sector is sector zero 11.8.43.2.1 error log version the value of the smart error log version byte is 01h. 11.8.43.2.2 error log index the error log index indicates the erro r log data structure representing the most recent error. if there have been no error log entries, the error log index is cleared to zero. valid values for the error log index are zero to 255.
toshiba corporation digital media network company page 123 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.43.2.3 extended error log data structure the error log is viewed as a circular buffer. when t he last supported error log se ctor has been filled, the next error shall create an error log data struct ure that replaces the first error l og data structure in sector zero. the next error after that shall create an e rror log data structure that replaces the second error log data structure in sector zero. the fifth error after the log has filled shall replace the first error log dat a structure in sector one, and so on. the error log index indicates the most recent error log data structure. unused error log data structures shall be filled with zeros. the content of the error log data structure entries is def ined in the following table. extended error log data structure byte descriptions n thru n+17 first command data structure n+18 thru n+35 second command data structure n+36 thru n+53 third command data structure n+54 thru n+71 fourth command data structure n+72 thru n+89 fifth command data structure n+90 thru n+123 error data structure 11.8.43.2.3.1 command data structure the fifth command data structure shall contain the command or reset for which the error is being reported. the fourth command data structure should contain the comm and or reset that preceded the command or reset for which the error is being reported, the third command data structure should contain the command or reset preceding the one in the fourth command data structure, etc. if fewer than four commands and resets preceded the command or reset for which the error is being repor ted, the unused command data structures shall be zero filled, for example, if only three commands and resets preceded the command or reset for which the error is being reported, the first command data structure sha ll be zero filled. in some devices, the hardware implementation may preclude the device from reporti ng the commands that preceded the command for which the error is being reported or that preceded a reset. in th is case, the command data structures are zero filled. if the command data structure represents a command or software reset, the content of the command data structure shall be as shown in the following table. if the command data structure represents a hardware reset, the content of byte n shall be ffh, t he content of bytes n+1 through n+13 ar e vendor specific, and the content of bytes n+14 through n+17 shall contain the timestamp.
toshiba corporation digital media network company page 124 of 153 ? 2003, copyright toshiba corporation all rights reserved command data structure byte descriptions n content of the device control register when the command register was written. n+1 content of the features register (7:0) w hen the command register was written. (see note) n+2 content of the features register (15: 8) when the command register was written. n+3 content of the sector count register (7:0) when the command register was written. n+4 content of the sector count register ( 15:8) when the command register was written. n+5 content of the lba low register (7:0 ) when the command register was written. n+6 content of the lba lowregister (15:8) when the command register was written. n+7 content of the lba mid register (7:0 ) when the command register was written. n+8 content of the lba mid register (15: 8) when the command register was written. n+9 content of the lba high register (7:0 ) when the command register was written. n+10 content of the lba high register (15: 8) when the command register was written. n+11 content of the device/head register when the command register was written. n+12 content written to the command register. n+13 reserved n+14 timestamp (least significant byte) n+15 timestamp (next least significant byte) n+16 timestamp (next most significant byte) n+17 timestamp (most significant byte) note - bits (7:0) refer to the most recently written contents of the register. bits (15:8) refer to the contents of the register prior to the most recent write to the register. timestamp shall be the time since power-on in milliseconds when command acceptance occurred. this timestamp may wrap around. 11.8.43.2.3.2 error data structure the error data structure shall contain the error descrip tion of the command for which an error was reported as described in the following table. if the error was logged for a hardware reset, the content of bytes n+1 through n+11 shall be vendor specific and the remaining by tes shall be as defined in the following table. error data structure byte descriptions n reserved n+1 content of the error register after command completion occurred. n+2 content of the sector count register (7 :0) after command completion occurred. (see note) n+3 content of the sector count register (15: 8) after command completion occurred. (see note) n+4 content of the lba low register (7:0) after command completion occurred. n+5 content of the lba low register ( 15:8) after command completion occurred. n+6 content of the lba mid register (7:0) after command completion occurred. n+7 content of the lba mid register ( 15:8) after command completion occurred. n+8 content of the lba high register (7:0) after command completion occurred. n+9 content of the lba high register ( 15:8) after command completion occurred. n+10 content of the device/head regist er after command completion occurred. n+11 content written to the status regi ster after command completion occurred. n+12 through n+30 extended error information n+31 state n+32 life timestamp (least significant byte) n+33 life timestamp (most significant byte) note - bits (7:0) refer to the content s if the register were read with bi t 7 of the device control register cleared to zero. bits (15:8) refer to the contents if the register were read with bit 7 of the device control register set to one.
toshiba corporation digital media network company page 125 of 153 ? 2003, copyright toshiba corporation all rights reserved state shall contain a value indicating the state of the device when the command was written to the command register or the reset occurred as described in the following table. state field values value state x0h unknown x1h sleep x2h standby x3h active/idle with bsy cleared to zero x4h executing smart off-line or self-test x5h-xfh reserved the value of x is vendor specific a nd may be different for each state. sleep indicates the reset for which the error is being reported was received when the device was in the sleep mode. standby indicates the command or reset for which the e rror is being reported was received when the device was in the standby mode. active/idle with bsy cleared to zero indicates the comm and or reset for which the error is being reported was received when the device was in the active or idle mode and bsy was cleared to zero. executing smart off-line or self-test indicates the co mmand or reset for which the error is being reported was received when the device was in the process of executing a smart off-line or self-test. life timestamp shall contain the power-on lifetime of the device in hours when command completion occurred . 11.8.43.2.4 device error count the device error count field shall contain the total num ber of errors attributable to the device that have been reported by the device during the life of the device. these errors shall include unc errors, idnf errors for which the address requested was valid, servo errors, write faul t errors, etc. this count shall not include errors attributed to the receipt of faulty commands such as commands codes not implemented by the device or requests with invalid parameters or in valid addresses. if the maximum value fo r this field is reached, the count shall remain at the maximum value when additional errors are encountered and logged. 11.8.43.2.5 data structure checksum the data structure checksum is the two? s complement of the sum of the fi rst 511 bytes in the data structure. each byte shall be added with unsigned arithmetic, and over flow shall be ignored. the sum of all 512 bytes will be zero when the checksum is correct. the checksum is placed in byte 511. 11.8.43.3 extended self-test log sector the following table defines the format of each of the se ctors that comprise the ex tended smart self-test log. the size of the self-test log is 1 sectors. the extended smart self-test log sector shall suppor t 48-bit and 28-bit addressing. all 28-bit entries contained in the smart self-test log, defined under se ction 11.8.42.6.4 shall also be included in the extended smart self-test log with all 48-bit entries.
toshiba corporation digital media network company page 126 of 153 ? 2003, copyright toshiba corporation all rights reserved extended self-test log data structure byte first sector subsequent sectors 0 self-test log data struct ure revision number reserved 1 reserved reserved 2 self-test descriptor index (7:0) reserved 3 self-test descriptor index (15:8) reserved 4-29 descriptor entry 1 descriptor entry 18n+1 30-55 descriptor entry 2 descriptor entry 18n+2 ?. .... .... 472-497 descriptor entry 18 descriptor entry 18n+18 498-499 vendor specific vendor specific 500-510 reserved reserved 511 data structure checksum data structure checksum n is the sector number within the log. the first sector is sector zero this log is viewed as a circular buffer. the first entry will begin at byte 4, the second entry will begin at byte 30 and so on until the nineteen entry, that will replace the fi rst entry. then, the twenty entry will replace the second entry, and so on. if fewer than 18 self-tests have been performed by the device, the unused descriptor entries will be filled with zeroes. 11.8.43.3.1 self-test descriptor index the self-test descriptor index indicates the most recent self-test descriptor. if t here have been no self-tests, the self-test descriptor index is set to zero. valid values for the self-test descriptor index are zero to 18. 11.8.43.3.2 self-test log data structure revision number the value of the self-test log dat a structure revision number is 01h. 11.8.43.3.3 extended self-test log descriptor entry the content of the self-test descriptor entry is shown in the following table. . extended self-test log descriptor entry byte descriptions n content of the lba low register. n+1 content of the self-tes t execution status byte. n+2 life timestamp (least significant byte). n+3 life timestamp (most significant byte). n+4 content of the self-test failure checkpoint byte. n+5 failing lba (7:0). n+6 failing lba (15:8). n+7 failing lba (23:16). n+8 failing lba (31:24). n+9 failing lba (39:32). n+10 failing lba (47:40). n+1 - n+23 vendor specific. content of the lba low register shall be the content of the lba low register when the nth self-test subcommand was issued (see 11.8.42.5 ). content of the self-test exec ution status byte shall be the content of t he self-test execution status byte when the nth self-test was completed (see 11.8.42.5).
toshiba corporation digital media network company page 127 of 153 ? 2003, copyright toshiba corporation all rights reserved life timestamp shall contain the power-on lifetime of the device in hours when the nth self-test subcommand was completed. content of the self-test failure checkpoint byte may c ontain additional information about the self-test that failed. the failing lba shall be the lba of the sector that c aused the test to fail. if the device encountered more than one failed sector during the test, this field shall indicate the lba of the first failed sector encountered. if the test passed or the test failed for some reason other than a failed sector, the value of this field is undefined. 11.8.43.3.4 data structure checksum the data structure checksum is the two's complement of the sum of the first 511 byte s in the data structure. each byte shall be added with unsigned arithmetic, and over flow shall be ignored. the sum of all 512 bytes is zero when the checksum is correct. the checksum is placed in byte 511. 11.8.44 write log ext (3fh) command code 0 0 1 1 1 1 1 1 register register setting normal completion dr drive no. no change lba low current previous log address reserved hob=0 hob=1 reserved reserved lba mid current previous sector offset(7:0) sector offset(15:8) hob=0 hob=1 reserved reserved lba high current previous reserved reserved hob=0 hob=1 reserved reserved sc current previous sector count(7:0) sector count(15:8) hob=0 hob=1 reserved reserved ft current previous reserved reserved hob=0 hob=1 no change no change this command writes a specified number of 512 byte dat a sectors to the specified log. the device shall interrupt for each drq block transferred. 11.8.45 device configuration (b1h) this command has a number of separate functions whic h can be selected via the feature register when the command is issued. the subcommands and t heir respective codes are listed below. subcommand feature register device configuration restore c0h device configuration freeze lock c1h device configuration identify c2h device configuration set c3h
toshiba corporation digital media network company page 128 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.45.1 device configuration restore command code 1 0 1 1 0 0 0 1 register register setting normal completion dr drive no. no change cy na no change hd na no change sn na no change sc na no change ft c0h no change lba na no change the device configuration restore command disabl es any setting previously made by a device configuration set command and returns the content of the identify device or identify packet device command response to the original settings as i ndicated by the data returned from the execution of a device configuration identify command. 11.8.45.2 device configuration freeze lock command code 1 0 1 1 0 0 0 1 register register setting normal completion dr drive no. no change cy na no change hd na no change sn na no change sc na no change ft c1h no change lba na no change the device configuration freeze lock command pr events accidental modification of the device configuration overlay settings. after successful ex ecution of a device configuration freeze lock command, all device configuration set, d evice configuration freeze lock, device configuration identify, and device configura tion restore commands are aborted by the device. the device configuration freeze lock condition shall be cleared by a power-down. the device configuration freeze lock condition sha ll not be cleared by hardware or software reset. 11.8.45.3 device configuration identify command code 1 0 1 1 0 0 0 1 register register setting normal completion dr drive no. no change cy na no change hd na no change sn na no change sc na no change ft c2h no change lba na no change
toshiba corporation digital media network company page 129 of 153 ? 2003, copyright toshiba corporation all rights reserved the device configuration identify command returns a 512 byte data structure via pio data-in transfer. the content of this data structure i ndicates the selectable commands, modes, and feature sets that the device is capable of supporting. if a device configura tion set command has been issued reducing the capabilities, the response to an identify device or identify packet device command will reflect the reduced set of capabilities, while the device config uration identify command will reflect the entire set of selectable capabilities. the format of the device configuration over lay data structure is shown in table 11.8-8. table 11.8-8 device configuration identify data stracture word content 0 data structure revision 1 multiword dma modes supported 15-3 reserved 2 1 = multiword dma mode 2 and below are supported 1 1 = multiword dma mode 1 and below are supported 0 1 = multiword dma mode 0 is supported 2 ultra dma modes supported 15-5 reserved 5 1 = ultra dma mode 5 and below are supported 4 1 = ultra dma mode 4 and below are supported 3 1 = ultra dma mode 3 and below are supported 2 1 = ultra dma mode 2 and below are supported 1 1 = ultra dma mode 1 and below are supported 0 1 = ultra dma mode 0 is supported 3-6 maximum lba address 7 command set/feature set supported 15-9 reserved 8 1 = 48-bit addressing feature set supported 7 1 = host protected area feature set supported 6 1 = automatic acoustic management supported 5 1 = read/write dma queued commands supported 4 1 = power-up in standby feature set supported 3 1 = security feature set supported 2 1 = smart error log supported 1 1 = smart self-test supported 0 1 = smart feature set supported 8-254 reserved 255 integrity word 15-8 checksum 7-0 signature 11.8.45.3.1.1 word 0: data structure revision word 0 shall contain the value 0001h. 11.8.45.3.1.2 word 1: multiword dma modes supported word 2 bits 2-0 contain the same information as cont ained in word 63 of the identify device or identify packet device command response. bits 15-3 of word 2 are reserved.
toshiba corporation digital media network company page 130 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.45.3.1.3 word 2: ultra dma modes supported word 3 bits 5-0 contain the same information as cont ained in word 88 of the identify device or identify packet device command response. bits 15-6 of word 3 are reserved. 11.8.45.3.1.4 words 3-6: maximum lba address words 4 through 7 define the maximum lba address. this is the highest address accepted by the device in the factory default condition. if no device configura tion set command has been executed modifying the factory default condition, this is the same value as that returned by a read native max address or read native max address ext command. 11.8.45.3.1.5 word 7: command/features set supported word 7 bit 0 if set to one indicates that the dev ice is capable of supporting the smart feature set. word 7 bit 1 if set to one indicates that the devic e is capable of supporting smart self-test including the self-test log. word 7 bit 2 if set to one indicates that the device is capable of supporting smart error logging. word 7 bit 3 if set to one indicates that the devic e is capable of supporting the security feature set. word 7 bit 4 if set to one indicates that the device is capable of supporting the power-up in standby feature set. word 7 bit 5 if set to one indicates that the dev ice is capable of supporting the read dma queued and write dma queued commands. word 7 bit 6 if set to one indicates that the device is capable of supporting the automatic acoustic management feature set. word 7 bit 7 if set to one indicates that the device is capable of supporting the host protected area feature set. word 7 bit 8 if set to one indicates that the device is capable of supporting the 48-bit addressing feature set. word 7 bits 9 through 15 are reserved. 11.8.45.3.1.6 words 8-254: reserved 11.8.45.3.1.7 word 255: integrity word bits 7:0 of this word shall contain the value a5h. bits 15:8 of this word shall contain the data structure checksum. the data structure checksum shall be the two?s complem ent of the sum of all byte in words 0 through 254 and the byte consisting of bits 7:0 of word 255. each by te shall be added with unsigned arithmetic, and overflow shall be ignored. the sum of all bytes is zero when the checksum is correct. 11.8.45.4 device configuration set command code 1 0 1 1 0 0 0 1 register register setting normal completion dr drive no. no change cy na no change hd na no change sn na no change sc na no change ft c3h no change lba na no change
toshiba corporation digital media network company page 131 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.45.4.1 error outputs register 7 6 5 4 3 2 1 0 error na na na na na abrt na na sector count na sector number bit location low cylinder low bit location high cylinder high word location device/head obs na obs dev na status bsy drd y df na drq na na err error register - abrt shall be set to one if the device does not s upport this command, if a device configuration set command has already modified the origi nal settings as reported by a device configuration identify command, if device configuration freeze lock is set, if any of the bit modification restrictions described in this section are violated, or if a host protected area has been established by the execution of a set max address command. sector number ? if the command was aborted because an attempt was made to modify a mode or feature that cannot be modified with the device in its current state, this register shall contain bits (7:0) set in the bit positions that correspond to the bits in the devic e configuration overlay data structure words 1, 2, or 7 for each mode or feature that c annot be changed. if not, the value shall be 00h. cylinder low ? if the command was aborted because an attempt was made to modify a mode or feature that cannot be modified with the device in its current state, this register shall contain bits (15:8) set in the bit positions that correspond to the bits in the devic e configuration overlay data structure words 1, 2, or 7 for each mode or feature that c annot be changed. if not, the value shall be 00h. cylinder high ? if the command was aborted because an attempt was made to modify a bit that cannot be modified with the device in its current state, th is register shall contain the o ffset of the first word encountered that cannot be changed. if an illegal maximum lba addr ess is encountered, the offset of word 3 shall be entered. if a checksum error occurred, the value ffh shall be entered. a value of 00h indicates that the data structure revision was invalid. device register - dev shall indicate the selected device. status register - bsy shall be cleared to zero indicating command completion. drdy shall be set to one. df (device fault) shall be set to one if a device fault has occurred. drq shall be cleared to zero. err shall be set to one if an error register bit is set to one. 11.8.45.4.2 description the device configuration set command allows a dev ice manufacturer or a personal computer system manufacturer to reduce the set of optional commands, modes, or feature sets supported by a device as indicated by a device configuration identi fy command. the device configuration set command transfers an overlay that modifies some of the bits set in words 63, 82, 83, 84, and 88 of the identify device or identify packet device command response. w hen the bits in these words are cleared, the device shall no longer support the indicated co mmand, mode, or feature set. if a bit is set in the overlay transmitted by the device that is not set in the overlay received from a device configuration identify command, no action is taken for that bit. m odifying the maximum lba address of the device also modifies the address value returned by a read native max address or read native max address ext command.
toshiba corporation digital media network company page 132 of 153 ? 2003, copyright toshiba corporation all rights reserved the format of the overlay transmitted by the device is described intable 11.8-9. the restrictions on changing these bits is described in the text following table 11.8-9. if any of the bit modification restrictions described are violated, the device shall return command aborted. table 11.8-9 device configuration overlay data stracture word content 0 data structure revision 1 multiword dma modes supported 15-3 reserved 2 1 = multiword dma mode 2 and below are supported 1 1 = multiword dma mode 1 and below are supported 0 1 = multiword dma mode 0 is supported 2 ultra dma modes supported 15-5 reserved 5 1 = ultra dma mode 5 and below are supported 4 1 = ultra dma mode 4 and below are supported 3 1 = ultra dma mode 3 and below are supported 2 1 = ultra dma mode 2 and below are supported 1 1 = ultra dma mode 1 and below are supported 0 1 = ultra dma mode 0 is supported 3-6 maximum lba address 7 command set/feature set supported 15-9 reserved 8 1 = 48-bit addressing feature set supported 7 1 = host protected area feature set supported 6 1 = automatic acoustic management supported 5 1 = read/write dma queued commands supported 4 1 = power-up in standby feature set supported 3 1 = security feature set supported 2 1 = smart error log supported 1 1 = smart self-test supported 0 1 = smart feature set supported 8-254 reserved 255 integrity word 15-8 checksum 7-0 signature 11.8.45.4.2.1 word 0: data structure revision word 0 shall contain the value 0001h. 11.8.45.4.2.2 word 1: multiword dma modes supported word 1 bits 15:3 are reserved. word 1 bit 2 is cleared to disable support for multiword dma mode 2 and has the effect of clearing bit 2 in word 63 of the identify device or iden tify packet device response. this bit shall not be cleared if multiword dma mode 2 is currently selected. word 1 bit 1 is cleared to disable support for multiword dma mode 1 and has the effect of clearing bit 1 in word 63 of the identify device or iden tify packet device response. this bit shall not be cleared if multiword dma mode 2 is supported or multiword dma mode 1 or 2 is selected. word 1 bit 0 shall not be cleared.
toshiba corporation digital media network company page 133 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.8.45.4.2.3 word 2: ultra dma modes supported word 2 bits 15:6 are reserved. word 2 bit 5 is cleared to disable support for ultra dma m ode 5 and has the effect of clearing bit 5 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5 is currently selected. word 2 bit 4 is cleared to disable support for ultra dma m ode 4 and has the effect of clearing bit 4 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5 is supported or if ultra dma mode 5 or 4 is selected. word 2 bit 3 is cleared to disable support for ultra dma m ode 3 and has the effect of clearing bit 3 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5 or 4 is supported or if ultra dma mode 5, 4, or 3 is selected. word 2 bit 2 is cleared to disable support for ultra dma m ode 2 and has the effect of clearing bit 2 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5, 4, or 3 is supported or if ultr a dma mode 5, 4, 3, or 2 is selected. word 2 bit 1 is cleared to disable support for ultra dma m ode 1 and has the effect of clearing bit 1 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5, 4, 3, or 2 is supported or if ultr a dma mode 5, 4, 3, 2, or 1 is selected. word 2 bit 0 is cleared to disable support for ultra dma m ode 0 and has the effect of clearing bit 0 in word 88 of the identify device or identify packet device response. this bi t shall not be cleared if ultra dma mode 5, 4, 3, 2, or 1 is supported or if ultr a dma mode 5, 4, 3, 2, 1, or 0 is selected. 11.8.45.4.2.4 words 3-6: maximum lba address words 3 through 6 define the maximum lba address. this shall be the highest address accepted by the device after execution of the command. when this value is changed, the content of iden tify device words 60, 61 100, 101, 102, and103 shall be changed as described in the set max address and set max address ext command descriptions to reflect the maximum addre ss set with this command. this value shall not be changed and command aborted shall be returned if a ho st protected area has been established by the execution of a set max address or set max address ext command with an address value less than that returned by a read native max address or read native max address ext command.. any data contained in the host protected area is not affected. 11.8.45.4.2.5 word 7: command/features set supported word 7 bits 15:9 are reserved. word 7 bit 8 is cleared to disable support for the 48-bit addressing feature set and has the effect of clearing bit 10 in words 83 and 86 and clearing the value in words 103: 100 of the identify devi ce or identify packet device response. word 7 bit 7 is cleared to disable support for the host protected area feature set and has the effect of clearing bit 10 in words 82 and 85 and clearing bit 8 in words 83 and 86 of the identify devi ce or identify packet device response. if a host protected area has been established by use of the set max address command, these bits shall not be cleared and the device shall return command aborted. word 7 bit 6 is cleared to disable for the automati c acoustic management feature set and has the effect of clearing bit 9 in word 83 and word 94 of the identi fy device or identify packet device response. word 7 bit 5 is cleared to disable support for t he read dma queued and wr ite dma queued commands and has the effect of clearing bit 1 in words 83 and 86 of the identify device or identify packet device response.
toshiba corporation digital media network company page 134 of 153 ? 2003, copyright toshiba corporation all rights reserved word 7 bit 4 is cleared to disable support for the power- up in standby feature set and has the effect of clearing bits 5 and 6 in words 83 and 86 and clearing the value in word 94 of the identify device or identify packet device response. if power-up in standby has been enabled by a jumper, these bits shall not be cleared. word 7 bit 3 is cleared to disable support for the security feature set and has the effect of clearing bit 1 in words 82 and 85 of the identify device or identify packet device response. these bits shall not be cleared if the security feature set has been enabled. word 7 bit 2 is cleared to disable support for the smar t error logging and has the effect of clearing bit 0 in words 84 and 87 of the identify device or identify packet d evice response. word 7 bit 1 is cleared to disable support for the smart se lf-test and has the effect of clearing bit 1 in words 84 and 87 of the identify device or identify packet device response. word 7 bit 0 is cleared to disable support for the smart f eature set and has the effect of clearing bit 0 in words 82 and 85 of the identify device or identify packet device response. if bits 1 and 2 of word 7 are not cleared to zero or if the smart feature set has been enabled by use of the smart enable operations command, these bits shall not be cleared and the device shall return command aborted. 11.8.45.4.2.6 words 8-254: reserved 11.8.45.4.2.7 word 255: integrity word bits 7:0 of this word shall contain the value a5h. bits 15:8 of this word shall contain the data structure checksum. the data structure checksum shall be the two?s complem ent of the sum of all byte in words 0 through 254 and the byte consisting of bits 7:0 of word 255. each by te shall be added with unsigned arithmetic, and overflow shall be ignored. the sum of all bytes is zero when the checksum is correct.
toshiba corporation digital media network company page 135 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.9 security mode feature set the security mode features allow the host to impl ement a security password system to prevent unauthorized access to the disk drive. ? following commands are supported for this feature set . ? security set password ? security unlock ? security erase prepare ? security erase unit ? security freeze lock ? security disable password parameter word for the security mode feature set is described in identify device response word 128. 11.9.1 security mode default setting the drive is shipped with the master password set to 20h value (ascii blanks) and the lock function disabled. the system manufacturer/dealer may set a new ma ster password by using the security set password command, without enabling the lock function. if the master password revision code feature is support ed, the master password revision code is initially set to fffeh. 11.9.2 initial setting of the user password when a user password is set, the drive automat ically enters lock mode by the next powered-on .
toshiba corporation digital media network company page 136 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.9.3 security mode operation from power-on in locked mode, the drive rejects media a ccess commands until a security unlock command is successfully completed. power-on locked mode unlock erase media access non-media prepare access no password erase reject match? unit command execute command yes unit erased unlock mode lock function disabled normal operation, all commands are available freeze lock normal operation, frozen mode commands are available figure 4 password set securi ty mode power-on flow
toshiba corporation digital media network company page 137 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.9.4 password lost if the user password is lost and high level security is set, the drive does not allow the user to access any data. however, the drive can be unl ocked using the master password. if the user password is lost and maximum security level is set, it is impossible to access data. however, the drive can be unlocked using the erase unit command with the master password. the drive will erase all user data and unlock the drive. user password lost high level? unlock with master password maximum erase prepare normal operation erase unit with master password normal operation but data lost figure 5 user password lost if both the user password and the master password are lost, the drive cannot be in normal operation mode.
toshiba corporation digital media network company page 138 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.9.5 command table this command table shows the drive?s response to commands when the security function is enabled. table 11.9-1 security mode command actions command locked mode unlocked mode frozen mode check power mode o o o execute device diagnostics o o o device configration x o o download microcode o o o flush cache (ext) x o o format track x o o identify device o o o idle o o o idle immediate o o o initialize device parameters o o o nop o o o read buffer o o o read dma (ext) x o o read multiple (ext) x o o read native max address (ext) o o o read sectors (ext) x o o read sense data o o o read verify (ext) x o o recalibrate o o o security disable password x o x security erase prepare o o o security erase unit o o x security freeze lock x o o security set password x o x security unlock o o x seek o o o set features o o o set max (ext) x o o set multiple mode o o o sleep o o o smart o o o standby o o o standby immediate o o o write buffer o o o write dma (ext) x o o write multiple (ext) x o o write sectors (ext) x o o write verify x o o o: drive executes command normally x: drive rejects command with an aborted command error
toshiba corporation digital media network company page 139 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.10 self-monitoring, analysis and reporting technology self-monitoring, analysis and reporting technology (smart ) is the function to protect user data and to minimize the likelihood of unscheduled system downt ime that may be caused by predictable degradation and/or fault of the drive. by monitoring and stori ng the critical performance and calibration parameters, smart drives attempt to predict the likelihood of nea r-term degradation or fault condition. the host system warns the user of the impending risk of data loss and advises the user of appropriate action by informing the host system of the negative reliability . smart commands use a single command code and are differ entiated by the value placed in the features register. the commands supported by this feature set are: . ? smart read attribute values ? smart read attribute thresholds ? smart enable/disable attribute autosave ? smart save attribute value ? smart execute off-line immediate ? smart read log sector ? smart write log sector ? smart enable operations ? smart disable operations ? smart return status ? smart enable/disable automatic off-line 11.10.1 attributes attributes are the specific performanc e or calibration parameters that are us ed in analyzing the status of the drive. attributes are selected by t he drive manufacturer based on that attr ibute?s ability to predict degrading or faulty conditions for that particular drive. the specif ic set of attribute being used and the identity of these attributes is vendor s pecific and proprietary. 11.10.2 attributes values attribute values are used to measure the relative reli ability of individual performance or calibration attributes. 11.10.3 smart function default setting the drives are shipped from the drive manufacturer? s factory with the smart feature disabled. smart feature will be enabled by the system manufacturer or the application.
toshiba corporation digital media network company page 140 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.11 adaptive power mode control adaptive power mode control is a function to reduc e power consumption without performance degradation. the drive supports the following idle m odes of 3 levels. the drive enters in to idle mode adaptively in accordance with the command pattern. 11.11.1 performance idle the drive enters performance idle mode at the comple tion of a command from host. in this mode, electric circuit and servo is ready to proc ess the next command without delay. 11.11.2 active idle some of electric circuit and servo functions are powered off in this mode. the heads are stopped near the disk center . if a shock is detected by shock sensor, t he drive enters into performance idle mode automatically. power consumption for active idle mode is 55% ? 65% lower than that of performance idle mode. command processing time is approximately 35ms longer than that of performance idle mode. 11.11.3 low power idle in low power idle mode, the heads are unloaded on the ra mp and the spindle motor continues normal rotation. power consumption for low power idle mode is 60% ? 70% lower than that of performance idle mode. command processing time is approximately 400ms l onger than that of performance idle mode. 11.11.4 transition time the transition time changes dynamically in accordance with the current command pattern.
toshiba corporation digital media network company page 141 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.12 reset a reset condition sets the drive ( or both drives in case of drive0/drive1 connection ) bsy, allowing the drive to perform the specified initia lization required for normal operation. a reset condition can be generated by both hardware and software. there are two hardware resets, one is by the host (- reset) and the other is by the driv e power sense circuitry. these resets are set high when the system and the drive respectively a cknowledge specified supply voltage ( see 6.1). the other reset is software generated. the host can write to the device control register and set the reset bit. the host software condition will continue until the reset bit is set to zero. . once the reset is negated and the drive is re- enabled, with bsy still active, the drive will perform necessary hardware initialization, clear any previously programmed drive parameters and revert to the defaults, load the task file registers with their initial values, and then clear bsy. no interrupt is generated when initialization is complete. the in itial values ( hex ) for the task file registers are as follows. table 11.12-1 initialization of task file registers register power on hardw are reset software reset data 00 00 00 error 01 01 01 sector count 01 01 01 sector number 01 01 01 cylinder low 00 00 00 cylinder high 00 00 00 device/head register 00 00 00 status/alternate status 50 or 52 50 or 52 50 or 52 device address 9 7e or fe 7e or fe 7e or fe ecc length 4 bytes 4 bytes no change(*1) data buffer undefined undefined no change addressing mode default default no change auto stand-by mode disable disable no change read cache enable enable no change (*1) write cache 10 enable enable no change (*1) multiple mode 16 sectors 16 sectors no change (*1) dma transfer mode multiword dma mode 2 multiword dma mode 2 no change(*1) pio transfer mode pio mode 4 flow control pio mode 4 flow control no change(*1) (*1): software reset settings are affected by set feature command. 9 ata-2 notes: this register is obsolete. it is recommended that a device not respond to a read of this address. if a device does respond, it shall be sure not to drive the dd7 signal to prevent possible conflict with floppy disk implementations. the drive supports this register to maintain compatibility for ata-1. 10 ata-2 notes: the default mode for write cache is ?disable? afte r ata-2. this is violation of ata-2 specification. this setting can be changed by factory.
toshiba corporation digital media network company page 142 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.13 drive0/drive1 configuration drive address shall be set by the optional jumper of interface connector. the drive runs as drive0 when the jumper is open or if jumper plug is set to position b-d when p28(csel) signal is low. the drive runs as drive1 w hen the jumper plug is inserted into position c-d or if jumper plug is set to position b-d when p28 (csel) si gnal is high. in case of two- drive configuration, one shall be drive0 and the other should be drive1. ata /atapi specifies to use p28 with jumper pl ug set to position b-d. it is recommended to follow the ata / atapi specification. jumper p28 drive no jumper - drive0 c-d jumper - drive1 b-d jumper low drive0 b-d jumper high drive1 a-b jumper - drive1 a-c jumper - prohibit figure 6 optional jumper for drive0/drive1 polarity key 43 44 1 c a 2 d b
toshiba corporation digital media network company page 143 of 153 ? 2003, copyright toshiba corporation all rights reserved 11.14 cache memory 11.14.1 cache operations (1) read cache operation receiving a read command, the data in the buffer memory are sent to the host without access to the disk media as long as the object data reside in the buffer memory and the conditions for the drive?s read cache operation are fulfilled. if any of the conditions of the read cache operation is not fulfilled, the drive ca rries out read data operation and the object data for the read command is read from t he media and kept in the buffer and then the data is transferred from the buffer to the host. the following data required by the read command may c ontinuously be read by the buffer under the drive?s read ahead cache operation until the buffer available for r ead cache is full or the new command is received. (2) write cache operation receiving a write command, the driv e continuously receives the write data from the host until all data are transferred or the buffer available for write cache is fu ll, whether the data are written on the media or not. if all data for the command are received, the drive r eports completion of the command by negating bsy bit and issuing interrupt. if the command which follows the write cache command is also a write command for succeeding block address, the drive receives write data from host without waiting for the pr eviously received data to be written on the media. and the drive reports completion of the command when the buffer receives all the data. during a write cache operation, dasp (led) signal line is kept ?on? until all the data in the write buffer are written on the media. 11.14.2 notes for write cache (1) loss of data in write buffer if write cache is enabled, hard reset or soft reset does not cause data loss . but power off immediate after completion of the command may cause data loss, because actual writing of the dat a onto the media is not completed at this moment. therefore, it is re commended that any other comm and except write or read command is executed and completion of the command is confirmed before powering off the drive. stand-by command can be helpful for this purpose. (2) error report when write cache is enabled, any unrecoverable erro r encountered after the report of completion of a command shall be reported by the later command. act ual writing of the data onto the media may not be completed at this moment. in th is case, ready bit is negated to show that the error has occurred during the write cache operation previously executed. address validity check is performed with actual media access . the error may be reported during the execution of a command or after completion of a writ e cache command if the address the data has tried to access is non-existent. 11.15 automatic write reallocation if the drive has difficulty in executing normal write operation due to unrecoverable errors such as id not found, the sectors those show some errors may be r eallocated automatically to continue normal operation and secure the write data. this operation is helpful especially in write cache, when the completion of the command is reported before actual writing to media. during write operation including this awre function, dasp signal is kept l on z . this operation takes 20 seconds maxi mum to be completed, therefore, the time-out period should be set longer than this value. if the next command is a write command, the data of the first block will be transferred without any delay.
toshiba corporation digital media network company page 144 of 153 ? 2003, copyright toshiba corporation all rights reserved 12. protocol commands can be grouped into different classes accordi ng to the protocols used for command execution. the command classes with their asso ciated protocols are defined below. for all commands, the host first checks bsy bit and drdy bit. if bsy 1 1, the host should proceed no further unless and until the bsy 1 0, and the drdy 1 1. interrupts are cleared when host reads st atus register, issues a reset, or writes to the command register. interrupts are not cleared when host r eads alternate status register. a command shall only be interrupted with a hardware or software reset. the result of writing to the command register while bsy 1 1 or drq 1 1 is unpredictable and may result in data corruption. therefore, a command should only be interrupted by a reset at ti mes when the host judges that there is a problem, such as receiving no response from a drive. ho st programmers should set command time-out periods enough long in order to avoid having effect on the devic e's ability to perform level retry and data recovery activities.
toshiba corporation digital media network company page 145 of 153 ? 2003, copyright toshiba corporation all rights reserved 12.1 pio data in commands commands for this class are: ? identify device ? read buffer ? read sector(s) (with and without retry) ? read sector(s) ext ? read multiple ? read multiple ext ? smart read attribute values ? smart read attribute thresholds ? smart read log sector ? device configration identify pio data in protocol: a) the host writes any required command parameters to the features, sector count, sector number, cylinder high, cylinder low and device/head registers. b) the host writes the command code to the command register. c) for each sector ( or block ) of data to be transferred: 1) the drive sets bsy bit and prepares to transfer a sector (or block) of data to the host. 2) when a sector (or block) of data is available for tr ansfer to the host, the driv e sets the drq bit and clears the bsy bit and asserts intrq. 3) after detecting intrq, the host reads the contents of the status register. 4) the drive negates intrq in response to the status register being read. 5) the host reads a sector (or block) of data via the data register. 6) in response to a sector (or block) of data being transferred, the drive clears the drq bit. the read multiple command transfers one block ( the number of sectors defined by the set multiple command ) of data for each interrupt. the other comm ands transfer one sector of data for each interrupt. if the drive detects an invalid paramet er in register setting, the drive clears bsy bit and sets the err bit in the status register and sets abrt bit in the error r egister and asserts intrq in order to terminate the command execution. if an uncorrectable error occurs, the drive will set drq bit and clear bsy bit and set err bit and stores the error status in error register and address the informat ion of the error sector to sector number, cylinder high, cylinder low and device/head registers and asserts intrq. if uncorrectable data error ( the unc is set ) occurs, the drive will transfer a sector of the defective data to the host. if the others error occur, the contents of the data to be trans ferred shall not be ensured. in both cases, the host should complete transfer of the sector of data in response to intrq being asserted. in case of read multiple command, the host should complete tr ansfer of a block of data which includes the sector with defective data. 12.2 pio data out commands commands for this class are: ? (format track) ? write buffer
toshiba corporation digital media network company page 146 of 153 ? 2003, copyright toshiba corporation all rights reserved ? write multiple ? write multiple ext ? write sector(s) (with and without retry) ? write sector(s) ext ? write verify ? security disable password ? security erase unit ? security set password ? security unlock ? set max set password ? smart write log sector ? download microcode pio data out protocol: a) the host writes any required command parameters to the features, sector count, sector number, cylinder high, cylinder low and device/head registers. b) the host writes the command code to the command register. c) the drive sets the bsy bit . d) for each sector (or block) of data to be transferred: 1) when the drive is ready to receive a sector (or block) of data from the host, it sets the drq bit and clears the bsy bit. 2) the host writes a sector (or block) of data via the data register. 3) after receiving the sector (or block) , the drive clears the drq bit and sets the bsy bit. 4) when the drive has finished processing the sector (or block) , it sets the drq bit and clears the bsy bit and asserts intrq. 5) after detecting intrq, the host reads the status register. 6) the drive negates intrq in response to the status register being read. the drive negates intrq in response to the status register being read.
toshiba corporation digital media network company page 147 of 153 ? 2003, copyright toshiba corporation all rights reserved the write multiple command transfers one block ( the number of sectors is defined by the set multiple command ) of data for each interrupt. the other comm ands transfer one sector of data for each interrupt. if the drive detects an invalid paramet er in register setting, the drive clears the bsy bit and sets the err bit in the status register and sets the abrt bit in t he error register and asserts intrq to terminate the command execution. if an unrecoverable error occurs, the drive sets the drq bit and clears the bsy bit and sets the err bit and stores the error status in error regi ster and report the address information of the sector with error to sector number, cylinder high, cylinder low and de vice/head registers and asserts intrq. 12.3 non-data commands commands for this class are: ? check power mode ? execute device diagnostics ? flush cache ? flush cache ext ? idle ? idle immediate ? initialize device parameters ? nop ? read verify sector(s) ? read verify sector(s) ext ? read native max address ? read native max address ext ? recalibrate ? seek ? set features ? set multiple mode ? sleep ? standby ? standby immediate ? security erase prepare ? security freeze lock ? smart enable/disable attribute autosave ? smart save attribute values ? smart executive off-line immediate ? smart enable operation ? smart disable operation ? smart return status ? smart enable/disable automatic off-line ? set max address ? set max address ext ? set max lock ? set max unlock ? set max freeze lock ? device configration restore ? device configration freeze lock ? device configration set ? read sence data non-data protocol: a) the host writes any required command parameters to the features, sector count, sector number, cylinder high, cylinder low and device/head registers.
toshiba corporation digital media network company page 148 of 153 ? 2003, copyright toshiba corporation all rights reserved b) the host writes the command code to the command register. c) the drive sets the bsy bit . d) when the drive has finished processing a sector (or block) of data, it clears the bsy bit and asserts intrq. e) in response to the intrq, the host reads the status register. f) the drive negates intrq in response to the status register being read see each command description for error report protocol.
toshiba corporation digital media network company page 149 of 153 ? 2003, copyright toshiba corporation all rights reserved 12.4 dma data transfer commands commands for this class are: ? read dma (with and without retry) ? read dma ext ? write dma (with and without retry) ? write dma ext data transfers using dma commands diffe r in two ways from pio transfers: data transfers are performed using the dma channel the drive issues only one interrupt at the completion of each command initiation of the dma transfer commands is identic al to the read sector( s) or write sector(s) commands except that the host initializes t he dma channel prior to issuing the command. the interrupt handler for dma transfers is different in that no intermediate sector interrupts are issued on multi-sector transfer but issued only onc e at the completion of each command. dma data transfer protocol: a) host initializes the dma channel. b) host writes any required command parameters to the features, sector count, sector number, cylinder high, cylinder low and device/head registers. c) host writes the command code to the command register. d) the drive sets the bsy bit . e) the drive sets dmarq, when it is ready to transfer data. f) host transfers the data using dma transf er mode set by the set features command . g) when all of the data has been tr ansferred, the drive issues intrq. h) the host resets the dma channel. i) after detecting intrq, the host reads the status register. j) the drive negates intrq in response to the status register being read.
toshiba corporation digital media network company page 150 of 153 ? 2003, copyright toshiba corporation all rights reserved 12.5 ultra dma ultra dma protocol is used with read dma, and wri te dma commands. ultra dma modes are set by set features command. since the setting after power-up ( de fault setting ) is mode 2 of multi word dma, set features command shall be issued to be used in ultra dma mode. an ultra dma data transfer is accomplished through a series of ultra dma data in or data out bursts. each ultra dma burst has three mandatory phases of operation: the initiati on phase, the data transfer phase, and the ultra dma burst termination phase. an ultra dma burst is defined as the period from an assertion of dmack- by the host to the subsequent negation of dm ack-. a recipient shall be prepared to receive at least 2 data words. both the host and drive perform a crc function during an ultra dma burst. at the end of an ultra dma burst, the drive compares its crc data to the data s ent from the host. the drive requires an ultra dma burst termination for each sector to com pare crc data to the data sent from the host. 1. initiation phase a) an ultra dma burst initiation phase begins with t he assertion of dmarq by the drive and ends when the sender generates a strobe edge to transfer the first data word. b) an ultra dma burst is always r equested by a drive asserting dmarq. c) a host indicates it is ready to initiate t he requested ultra dma burst by asserting dmack-. d) a host shall never assert dmack- without first detecting that dmarq is asserted. e) for ultra dma data in bursts: a drive may begin driving dd(15:0) after detecting that dmack- is asserted, stop negated, and hdmardy- is asserted. f) after asserting dmarq or asserting ddmardy- for an ultra dma data out burst, the shall not negate either signal until the first strobe edge is generated. g) after negating stop or asserting hdmardy- for an ultra dma data in burst, a host shall not change the state of either signal until t he first strobe edge is generated. 2. data transfer phase a) the data transfer phase is in effect from after ultr a dma burst initiation until ultra dma burst termination. b) a recipient pauses an ultra dma burst by negat ing dmrdy- and resumes an ultra dma burst by reasserting dmardy-. c) a sender pauses an ultra dma burst by not generating strobe edges and resumes by generating strobe edges. d) a recipient must not signal a termination r equest when a sender stops generating strobe edges. in the absence of a termination from the sender, the re cipient should always negat e dmardy- and wait the required period before signaling a termination request. e) a sender may generate strobe edges at greater than the minimum period specified by the enabled ultra dma mode . the sender should not generate strobe edges at less than the minimum period specified by the abled ultra dma mode. a recipient should be able to receive data at the minimum period specified by the enabled ultra dma mode.
toshiba corporation digital media network company page 151 of 153 ? 2003, copyright toshiba corporation all rights reserved 3. ultra dma burst termination phase a) either a sender or a recipient may terminate an ultra dma burst. b) ultra dma burst termination is not the same as command termination or completion. if an ultra dma burst termination occurs before the command is complete, the command shall be completed by initiation of a new ultra dma burst at some later time or aborted by the host issuing a hardware or software reset to the drive. c) an ultra dma shall be paused before a recipient requests a termination. d) a host requests a termination by asserting st op. a drive acknowledges a termination request by negating dmarq. e) a drive requests a termination by negating dmar q. a host acknowledges a termination request by asserting stop. f) once a sender requests a termination, it does not change the state of strobe until the recipient acknowledges the request. then, if strobe is not t he asserted state, the sender returns strobe to the asserted state. no data shall be tr ansferred on this transition of strobe. g) a sender returns strobe to the asserted state w henever it detects a termination request from the recipient. no data shall be transferred nor crc calculated on this edge of dstrobe. h) once a recipient requests a termination, it does not change dmardy from the negated state for the remainder of an ultra dma burst. k) a recipient ignores a strobe edge when dm arq is negated or stop is asserted. crc both the host and drive perform a crc function duri ng an ultra dma burst. the host and drive use 4abah as an initial value. the host and the drive calcul ate crc value during each strobe edge of data transfer using current value of crc and transferred data with crc polynomial. crc function is not performed after an ultra dma burst completion of strobe set. at the completion of an ultra dma burst, the host reports the crc data on data bus and negates dmack- to pass the result to the drive. the drive compares the crc data sent from the host. if the two values do not ma tch, the drive reports an error after at the end of the command. the generative polynomial for crc is : ( x ) = x 16 + x 12 + x 5 + 1 the following figure shows an example of crc generative logic ( ata / atapi-6 )
toshiba corporation digital media network company page 152 of 153 ? 2003, copyright toshiba corporation all rights reserved combinational logic edge triggered register device crcout (15:0) crcin (15:0:) dd(15:0) f1-f16 word clock crcin0 = f16 crcin8 = f8 xor f13 crcin1 = f15 crcin9 = f7 xor f12 crcin2 = f14 crcin10 = f6 xor f11 crcin3 = f13 crcin11 = f5 xor f10 crcin4 = f12 crcin12 = f4 xor f9 xor f16 crcin5 = f11 xor f16 crcin13 = f3 xor f8 xor f15 crcin6 = f10 xor f15 crcin14 = f2 xor f7 xor f14 crcin7 = f9 xor f14 crcin15 = f1 xor f6 xor f13 f1 = dd0 xor crcout15 f9 = dd8 xor crcout7 xor f5 f2 = dd1 xor crcout14 f10 = dd9 xor crcout6 xor f6 f3 = dd2 xor crcout13 f11 = dd10 xor crcout5 xor f7 f4 = dd3 xor crcout12 f12 = dd11 xor crcout4 xor f1 xor f8 f5 = dd4 xor crcout11 xor f1 f13 = dd12 xor crcout3 xor f2 xor f9 f6 = dd5 xor crcout10 xor f2 f14 = dd13 xor crcout2 xor f3 xor f10 f7 = dd6 xor crcout9 xor f3 f15 = dd14 xor crcout1 xor f4 xor f11 f8 = dd7 xor crcout8 xor f4 f16 = dd15 xor crcout0 xor f5 xor f12 notes: 1) f = feedback 2) dd = data to or from the bus 3) crcout = 16-bit edge triggered result (current crc) 4) crcout(15:0) are sent on ma tching order bits of dd(15:0) 5) crcin = output of combinatorial logic (next crc)
toshiba corporation digital media network company page 153 of 153 ? 2003, copyright toshiba corporation all rights reserved 12.6 other timings see host interface section for timings which are not shown here. table 12.6-1 other timings. function and intervals timeout ? power on timings from power on to bsy=1 400 ns maximum from power on to bsy=0, drdy=1 31 s maximum ? soft reset timings from soft reset assertion (srst=1) to bsy=1 400 ns maximum from soft reset negation (srst=0) to drive ready (bsy=0, drdy=1) 10 sec maximum ? hard reset timings from hard reset assertion to bsy=1 400 ns maximum from hard reset negation to drive ready (bsy=0, drdy=1) 31 sec maximum ? data in commands from writing to command register to bsy=1 400 ns maximum from bsy=1 to bsy=0, drq=1, intrq set (when the drive is in idle mode) 20 sec maximum from bsy=1 to bsy=0, drq=1, intrq set (when the drive is in standby mode) 35 sec maximum drive busy during data transfer 5 s minimum ? data out commands from writing to command register to bsy=1 400 ns maximum from bsy=1 to bsy=0, drq=1 700 s (*1) maximum drive busy during data transfer 5 s minimum from bsy=1 to intrq set (when the drive is in idle mode) 10 sec maximum from bsy=1 to intrq set (when the drive is in standby mode) 25 sec maximum ? non-data commands from writing to command register to bsy=1 400 ns maximum from bsy=1 to intrq set (when the drive is in standby mode) 17 sec maximum ? dma data transfer commands from writing to command register to bsy=1 400 ns maximum (*1) when the following commands are issued by the host as first command after hardware reset, the command?s time-out value of the field is 10 seconds. security diable password security erase unit security set password security unlock


▲Up To Search▲   

 
Price & Availability of MK6006GAH

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X