Home
The HDAT2 Cookbook
Contents
1. Move Params BYTE 5 String J Jump ESC Return x rag 94 Phi 2610 CBL 29 88 2010 21 58 12 871 Uien inch FUJITSU MHZ2328BJ G2 Hi H9 H2 HA H7 HF 812345673 9ARCDEF 41 4 41 4 41 4 1 41 41 4 41 41 4 41 4 1 41 41 41 43 4 43 41 4 1 41 41 41 43 4 43 gt gt gt 41 41 41 41 4 41 4 1 4 41 4 1 41 41 41 43 4 43 41 41 43 43 41 43 4 43 41 4 43 43 HFA 43 43 4 43 VIEW PagDn FgUp Move P Params WORD 5 String J Jump ESC Return Page 37 04 8 0105 09 00 HB2 BH6 Hh HE B3i H 7 BHB HF 234 234 1 234 234 22204 234 234 1 234 234 234 HBHBHH1234 1 234 1 234 212104 234 1 234 234 234 38 HDAT2 v4 9bi 2414 BETA Uieuw Search 234 00 234 HHBH1734 5 11 4 234 BHAI 234 0 234 234 12 14 234 234 HHBH1234 5 12 4 234 BHAI 234 234 234 234 Him 234 P 1 234 234 HHBBHH1734 234 234 234 234 234 234 HHBHH1734 234 HAAR 234 234 234 234 234 234 234 HHBH17234 234 HHHH1234 Him 234 HHHH1234 HBBHH1234 22 8 23
2. 5H 6H lt New user 234441648 1208 03 GB hidden a H HH KB Use command you get an error try 26 bit command Volatile mode ATAreg FEA1 CHT2 LBA LBA4 LEAS DEUG CMD ASTA Before HHHHh HHHih BHAFhH HBHABh BHHF9h HBH4Hh AAS 7h HHH4h HBHih BH Fh HB4Bh HHFE7h BHHdHh BHB51h BHB51h IHNDA CORR DREQ DF B AMHF TANF IDHF UNG ICRC This error message you will see if you try to remove HPA area with 48 bit SET MAX command but HPA area was created with 28 bit SET MAX command So we need to select 28 bit SET MAX command x HDAT2 v4 9 2010 H f BEVAGI ee Area LBA Sectors Current native 234441648 1246 83 GH Current user 234441548 1246 63 GH Current hidden 5H 6H lt user 234441648 128 H3 GB New hidden 4 68 KB lt Use command Uolatile mode D WE aT n E 1 TN CAIC Page 18 HDAT2 HDAT2 v4 9 2618 set Max Address WDC UDi12HBH JB HHEURH 1 Area LBA Sectors Size 234441648 120 03 GB 234441548 1208 03 GB Current hidden 18H 5H HH KB lt HP user 234441548 12H H3 GB amp New hidden A H HH KB lt SET 28 gt YES gt hard settings GAUE PERMANENTLY Changes shall preserve over power up or hardware reset
3. Password Fill 5 Set ESC Abort 2 HDAT2 v4 9 2010 CBL Erase Unit WDC UDZBHEB HHCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Gode BBHHh feature is not supported Identifier User Erase level HMormal Password 12347 Erase time not specified Fill password none 31 32 33 34 ex HDATZ E HDAT2 v4 9 2010 Erase Unit WDC UDZBHEB HHCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Code HBHHh Feature is not supported Identifier User Erase level Normal Password 71234 Erase time not specified Fill password none HER 31 32 33 34 2 q HDAT2 v4 9 2010 Erase Unit WDC UDZBHEB HHCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Code Feature is not supported Identifier User Erase level Normal Password 1234 Erase time not specified Fill password none HER 31 32 33 34 ERASING IM PROGRESS DON T TURN OFF POWER OR RESET SYSTEM 2 HDAT2 v4 9 2010 Erase Unit HDC UDZBHBHEB HHCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Gode BBHHh feature is not supported Identifier Us
4. Host Protected Area HPA vs 28 48 bit LBA mode 7 Change of DCO Modify item is always aborted abort command 8 What is Spread Spectrum Clocking SSC 9 SATA NCQ eSATA xSATA 10 Can I cut down size of hard drive 11 How can I determine supported media format of CD DVD drive 12 Portable computer with Windows Vista has problem with power consumption 13 Host Protected Area HPA from BIOS 14 The Hidden Protected Area hidden partition 15 I cannot remove Host Protected Area HPA on Dell notebook Media Direct HPA 16 I cannot read SMART for USB Firewire hard drives 17 Western Digital WD5000KS doesn t spin up firmware bug 18 How to non destructively convert dynamic disks to basic disks 19 Hard disk doesn t spin up PUIS Power Up In Standby 20 Windows support for logical units larger than 2 TB 21 GUID partition table GPT disks Q1 I received a 40 GB drive in replacement for a 20 GB model in PC The drive is reported as 20 GB capacity How can i get full capacity If you see in Device List menu at your disk drive a notice 5 MAX HPA IS ACTIVE use 1 method otherwise use 2 method In program HDAT2 select your disk drive and press Enter to show Main Menu 1 method In Device List menu at your disk drive you see notice SET MAX IS ACTIVE Select SET MAX HPA Menu then select Set Max Address and press Enter By default is set so called native size of d
5. disabled Automatic Acoustic Management disabled Host Protected Area enabled CHT2 LBAS LBA4 LEAS DEUG CMD AST HHc3h HBHHh BHBHh BEBRh BAGH BHBih BHB5Hh HHH4h HHHHh HHHHh HHBHHh BHBHBHHh HHHHh HB51h BHB51h INDE CORR DREQ DF BUSY AMHF TANF IDHF UNG ICRC specific location location ininininininininininini nni niti tiun any key to c We got an error message because we was trying to create DCO area but there was HPA area already We must first remove an active HPA area before creating DCO area Example Now we create DCO area with a size 10 000 000 sectors about 5 GB without HPA area ion Overlay Menu UD2HHEB HBCPFH 1 Restore Freeze Lock Check DCO structure Dump DCO Data DCO area DCO frozen Modify the set of optional commands modes or feature sets supported by device Create or remove the DCO area 14 Move ENTER Run ESC Page 12 2 HDAT v4 9 2010 DCO Modify WDC UD2HBEB BHCPFH 1 Multivword DMA modes Ultra DMA modes Ultra DMA 5 ATALBAB Maximum LEA sectors 114 98 GE DCO hidden sectors 16666060 5 12 i Command Feature set to Cdisdallow Status From drive Action Security Mode feature HOME Automatic Acoustic Management ARAM HONE Host Protected Area HOHE 11 Move Chan
6. 02 1 Error Recovery Control CERG Menu Feature Control Menu Data Table Menu Kirite Same Menu Last command status Command complete without error Read the SCT Command Status log with HDA temperature 11 Move ENTER Run ESC Return Page 36 ini x Format version BAZ h SCT version vendor specific HARK SCT level 1 Status flags Segment Initialized Flag Any user LBA is written even if write cache is enabled or the capacity of the drive is changed via SET or DCO state ASh SGT command executing in background Extended status code FFFFh SGT command executing in background fiction code of last command HAZ h gt Write Same Command is currently executing Function code of last SCT command HBH1Hh Hepeat write pattern gt Command is currently executing Current LBA of background SCT command 601201234 tice Move Ph Print 5 Save ESC Return E In View Search Device you can check the content of overwritten sectors O x 86 2018 21 49 54 048 812345673 97ARCDEF 41 4 1 41 41 4 4 1 4 1 4 41 4 1 41 41 41 4 1 41 41 41 4 1 41 41 41 43 4 43 41 4 1 41 41 41 43 4 43 43 43 4 43 4 43 4 43 41 4 41 4 41 41 41 41 41 4 41 4 41 4 1 41 41 4 41 41 4 41 41 41 41
7. Command Feature sets ATA Commands Uiew 5earch Device Waew of sectors with search function Li Move ENTER Run ESC Retu Page 39 ca HDATZ HDAT2 v4 9 2018 812345673 9ARCDEF Mm apes se 8n 0 EU 1518 lt 1 1 1 C 9t 448 Ide sah off ILLE ET ESTERI C H D i 1 091 uite eo Pis 1 42 018 tra Return In parameters menu with a key P you can select type of search object string empty sector or non empty sector Parameter Device access BIOS First sector 6 606 EKE Last sector 39102335 166 20 02 Show 5 disabled Sound lt CTRL tS gt enabled Set K prefix value Search object String case sensitive String type String position in sector anywhere SO Oo so Goal Search for string 11 Move 3 Change Defaults ENTER Page 40 x DAT ELE 2010 Uien ch WDG j BBCPFH 1 CURSOR STRING 1 42 812345673 9ARCDEF Hi ICH INS Insert ALT H HEX ESC Abort ini x War x 9 lt
8. HDAT v4 9 20186 CEL 1 155 Set Max Address WDC WUDi1ZHHJIB HHEURHB 1 LBA Sectors Size 234441648 120 03 GB 234441548 120 03 GB 18H 5H HH KB lt HP 234441548 12H H3 GB lt A H HH KB lt Use command SET lt 28 bit Volatile mode YES hard settings GAVE PERMANENTLY Changes shall preserve over power up or hardware reset ATreg 1 LBAS LBA4 LEAS DEUG CHD AST Before HHHHh HHHih HHAFh HH4Bh HH4Dh HHF9h HBH5Hh After HHHHh HBHHih BBHH Fh HBHB4Bh HHFE9h BH4Dh HB5Hh BHB5Hh Status ERR IHDA CORR DREQ DF BUSY Error ABRT IDHF UNG ICRC 2 HDAT2 4 9 26148 SET HPA Menu WDC UD12BHH B HHEURH 1 Set Password Lock Unlock Freeze Lock Host Protected Area SET MAA status Allows to redefine the maximum address of the user accessible address space to create or remove unlocked Host Protected Area This command will be aborted in SET locked or frozen mode Tl Move ENTER Run ESC Return Now is the HPA area removed Remove hidden area DCO To remove DCO area you can use DCO MODIFY command or menu option Auto Remove hidden areas Example We try to remove any created HPA and DCO areas We use auto remove option WDC UD2HHEB HHCPFH 02 26 14 98 GB 2 HL DT ST DUDRAM GShH 4163B 32 Controller Primary Master Baser CTRL 01FAh A3F6h TRQ 14 Mode UDMA5S ATAL
9. Similarly RAID controllers may need to enable SSC on drive configurations with SSC disabled by default to reduce EMI Disable SSC Host products that do not support SSC cannot detect the presence of the disc drive Therefore in order to disable SSC the drive must be attached to another host platform that does support SSC so that the feature can be disabled Once SSC is turned off the drive can be returned to the original host system Enable SSC If the drive has SSC turned off by default and SSC is required for a large multi drive environment the target system is usually supported by the SSC software RAID controllers however can pose a barrier to communicating with the SATA at the low hardware level required to make the SSC change If your RAID controller is not Supported then a more standard SATA system may be needed to toggle SSC on the drive Once SSC is turned on the drive can be returned to the original RAID controller There are many accounts on the Internet about problems arising from HBAs Host Bus Adapter not supporting SSC as required Disk drive vendors that tried turning on SSC have had to provide consumers special programs or jumpers to turn SSC off so they will work in non compliant systems Intel Apple Apple discussions SeriTek controller Hitachi hard disks Seagate Western Digital Hitachi Due to this problem users believe that SATA 3Gb s HDD s are not compatible with SATA 1 5Gb s controllers This is inaccurate
10. This is an alternate way to indicate which drive is master and which drive is slave instead of jumpering one drive as master and one drive as slave Cable Select jumpering requires a special IDE cable with wire 28 not connected to one of the drive connectors which would configure the drive attached to that connector as the slave drive In order to use Cable Select jumpering several conditions must be met Both drives channel must support CSEL both drives must be jumpered as CSEL a CSEL cable must be used and the host interface connector must support CSEL For the host interface to Support Cable Select wire 28 must be grounded Although the Cable Select specification may simplify things in the future there will probably be lots of confusion especially on legacy systems as this starts to be introduced One problem will be in selecting the correct cable Supposedly the cables used for Cable Select will be clearly marked with each connector labeled as Device 0 or Master or Device 1 or Slave If not clearly marked it may not be easy to identify a CSEL cable visually wire 28 can be checked for continuity A Cable Select cable can be constructed in various ways Pin 28 may be non connected to the connector at the end of the cable or to the connector in the middle of the cable Another design would have the host interface connector in the middle and the two drives would plug into each end of the cable with the connector at one of th
11. ZEN Parameter Device access BIOS EST IHT13h First sector H HH KE Last sector 39182555 1005 20 02 Show disabled Sound lt CTRL gt Set K prefix value Search object Search for non empty sector Ccontains some 11 Move Change Defaults ENTER Accept ESC Cancel 26018 812345673 9ARCDEF anes one 7 Pl lie 2 outa o0 168 0 Ni dtd Aa KE C FEM A dried aT ER tha Mia HUE GE s 0970 FMs dn E nd TELES Hs 00t N2 uB et a 44 Uiew Search CWDC 1 HDAT v4 9 2010 CBL 812345673 9ARCDEF 21118 73 105 be tn PRS h 16 0 5 2 u0 we He Edu i35 T sector 61 at position 45 Frequently Asked Questions 1 I received a 40 GB drive in replacement for a 20 GB model in PC The drive is reported as 20 GB capacity How can i get full capacity 2 How to bypass a Security and or DCO frozen state 3 Cani remove non existent bad sectors from the file table FAT 4 Connecting ATA IDE Hard Drives 5 What are the differences between master slave and cable select 6
12. a storage volume on all x64 based platforms including platforms running Microsoft Windows XP Professional x64 Edition Windows Server 2003 SP1 also enables Support for GPT in x86 versions of the Windows Server 2003 family Notes Unlike Windows support for the Intel Itanium platform Windows x64 Edition and Windows Server 2003 SP1 operating systems support the use of GPT drives only as data volumes Because the x64 and x86 architectures do not provide support for an EFI boot partition you cannot use a GPT drive to boot an x64 based computer or an x86 based computer with a legacy BIOS Therefore computers running these operating systems must be equipped with more than one physical driver to allow the use of the GPT disk format On Intel Itanium platforms Windows supports the use of GPT drives as boot drives or data volumes You can convert only empty unpartitioned disks raw drives or empty MBR drives to the GPT format To convert a volume that contains data you must first manually delete the partition GPT is part of the EFI specification Extensible Firmware Interface EFI describes an interface between the operating system and the platform firmware Unified Extensible Firmware Interface UEFI http www uefi org UEFI computers require at least three GPT partitions 1 An EFI system partition ESP to store the boot applications and other related information EFI drivers Windows does not assign a driver letter to the ESP This
13. accessible address space to create or remove unlocked Host Protected Area This command will be aborted in SET locked or frozen mode 14 Move ENTER Run ESC Return Page 15 HDAT2 v4 9 2610 Set Max Address WDC Ubi2ZHWHIB BBEURDHB 1 LBA Sectors Size 234441648 120 03 GB 234441548 120 03 GB 18H 5H HH KB lt HP 234441648 12H H3 GB amp New hidden 1 H HH KB Use command SET 28 hbit gt Volatile mode YES gt hard settings CAVE PERMANENTLY Changes shall preserve over power up or hardware reset 11 Change INS Edit BIOS limit Command U Volatile 5 Set ESC Abort HDAT2 v4 9 2010 eee Set Max Address WDC UDi2ZHHJIB BBHEURH 1 LBA Sectors Size 234441648 120 03 GB 234441548 120 03 GB 18H 5H HH KB lt HP 234441548 12H H3 GB lt A H HH KB lt Use command SET 28 bit Nolatile mode YES hard settings GAVE PERMANENTLY Changes shall preserve over power up or hardware reset 2 2 v4 9 2018 Set Max Address WDC UDi12HH JB HHEURH 1 LBA Sectors REST 234441648 120 03 GB 234441548 12H H3 GB Current hidden 10 5H HH KB lt New user 234441648 120 03 GB lt hidden H H HH KB Use command SET 28 gt Nolatile mode YES gt hard settings PERMANENTLY Changes shall preserve over power
14. partition should not be used for any user or application data files 2 A Microsoft reserved MSR partition which must be located between the ESP and the Windows operating system partitions 3 A Windows system partition Page 53
15. reset 4 WDC UDZBBEB BBCPFB Set Password Freeze Lock Security status Master Password Revision Code Atth Identifier Password level Password Fill password ntifier L Level P Password Page 24 2 HDAT2 v4 9 2 1 Set Password WDC UD2BHHEB HBHCPFH 1 Freeze Lock Security status Master Password Revision Code HBHHh Feature is not supported Identifier User Password level High Password Fill password none INPUT 32 HOME END Move INS Insert F8 Clear ALT H HEX ENTER Set ESC Abort 2 HDAT2 v4 9 2618 Set Password WDC UD2BHHEB HBHCPFHI Freeze Lock Security status Master Password Revision Code Feature is not supported Identifier User Password level High Password 1234 Fill password none HEA 31 32 33 34 L Identifier L Level Password Fill 5 Set ESC Abort 2 HDAT2 4 9 26148 CBL Set Password WDC UD2HHEB HHCPFH 1 Freeze Lock Security status Master Password Revision Gode BBHHh feature is not supported Identifier User Password level High Password 71234 Fill password none HER 31 32 33 34 HDAT2 04 9 2616 Security Menu WDC UD2ZHHEB HBCPFH 1 Freeze Lock Unlock Disable Password Erase Unit Unlock device Security status Master Password Revision Cols HAA Sets US
16. storage solutions that are required to pass FCC and other agency certifications Today some Serial ATA disk drives implement SSC some allow you to turn this feature on off and some do not implement SSC it is anticipated that all will implement this feature in the near future The technique of modulating the operating frequency of a circuit slightly to spread its radiated emissions over a range of frequencies rather than just one tone This reduction in the maximum emission for a given frequency helps meet FCC requirements Newer Serial ATA 3Gbps SATA interface disc drives may employ a standard technology called Spread Spectrum Clocking SSC which helps to reduce electronic emissions EMI in large multi drive systems Single drive environments do not need SSC to meet EMI requirements 3Gbps means doubled interface speeds which also means greater signal noise and electromagnetic emissions As the processor settings in many motherboards BIOSes Spread spectrum clocking can reduce emissions to meet regulations Page 49 In a single drive environment it s not necessary but when you ve got two or more drives and they re all running at 3Gbps that s when you ve got a lot of electrical noise going on and the spread spectrum feature is recommended This is more for safety than reducing data errors which most drives ECC code will correct automatically A small number of SATA host products do not support this SSC standard feature
17. 4 HHBH17234 Him 234 HHHH1234 Him 234 234 234 1 234 J PER 29 08 2018 21 58 FUJITSU MHZ232BBJ G2 812345673 9ARCDEF 41 4 1 41 4 41 4 1 41 41 4 4 1 41 4 41 4 41 41 41 4 41 41 41 4 41 41 41 4 41 41 41 4 41 4 41 4 1 41 41 4 41 4 1 4 41 4 1 41 41 41 4 41 41 41 4 1 41 41 41 43 4 43 gt gt gt 43 43 4 43 x 15 073 Search the device You can search a string empty sector or non empty sector Search for string You can search a string with these parameters case or non case sensitive string type ASCII or UNICODE position in sector Example We want to search string Un hexadecimal 55h and non case sensitive mode and only when this string is on fixed position 510 in sector This could be e g master boot record MBR or boot sector eX HDAT2 ame v4 9 2010 kFile System Menu Command Feature sets Device Information Menu ATA Commands SMART Menu Uiew Search Device RSET CHPA Menu Device Configuration Overlay DCO Menu Hidden Areas Menu Security Menu kCommands Menu eDunp Save to File Menu 14 Move ENTER Select ESC Return EXPE HDAT2 v4 9 gt 2616 CBL FL WDC UDZBHEBH HBCPFH
18. 8 128 H3 GB 2344416468 120 03 GH Current hidden lt nothing to restore New user 234441648 12H H3 GB amp Hew hidden A H HH KB lt Use command SET MAK 28 bit Volatile mode YES gt hard settings PERMANENTLY Changes shall preserve over power up or hardware reset Change IHS Edit BIOS limit Command U Volatile ESC Abort 2 HDAT2 v4 9 2618 CBL Set Max Address WDC WD1I2HRJB AHEVAG 1 LBA Sectors Size 234441648 120 03 GE 234441648 120 03 GH 4 68 nothing to restore 234441548 126 83 GB lt less than native size EB lt HPA Use command SET 28 gt Volatile mode YES gt hard settings PAVE PERMANENTLY Changes shall preserve over power up or hardware reset HDAT2 v4 9 2618 set Max Address WDC UD12HBH JB HHEURH 1 Area LBA Sectors Size 234441648 1208 03 234441646 1208 03 GH Current hidden H H HH KB lt nothing to restore user 234441548 126 63 GH less than native size New hidden 50 KB lt Use command SET 28 hit gt Uolatile mode YES hard settings GAUE PERMANENTLY Changes shall preserve over power up or hardware reset ATAreg 1 LBAS LBA4 LEAS DEUG CMD ASTA Before HHHHh 1 HHABh BA4Bh HHF9h HH4Dh HHE9h HH5Hh After HHBHHh HHB1h BHHABh HBHABh BHHFE9h HBH4Dh HASAR status ERR IHNDA CORR D
19. AA CIRL Device ATA PATA Direct Access 1 15 DCO_IS_ACTIVE WARHING ACTIVE 1 Move D Detect Params aa a HDRTZ v4 9 2010 Hidden Areas Menu WDC WD2BBEB BBCPFH Overview of Hidden Areas Auto Remove Hidden Areas Dump of HPA area Dump of DCO area Active areas Summary of hidden areas CHPA DCO Address Of fset gt Page 20 2 HDAT v4 9 28018 ueruiew of Hidden Areas WDC UD2ZBBHBEB HHCPFH 1 Size LBA Sectors LBA Start 14 98 29497335 2 56 DAH 29097336 5 17 146600000 29182356 disabled 20 82 GB 39102336 1 Move Print F Save ESC Return 2 HDAT v4 9 2010 CBL Hidden Areas Menu WDC UD2BBEB BBCPFH 1 Overview of Hidden Areas Dump of HPA area Dump of DCO area Active areas HPA DCO Auto remove hidden areas 11 Move ENTER Run ESC Return 2 HDAT2 v4 9 2010 Auto Remove Hidden Areas WDC WD2HRHEB HACFPFS Overview of Hidden Areas Dump of HPA area Dump of DCO area Active areas HPA DCO Auto remove hidden areas LEA End 29897335 29102335 39102335 39102335 WDC WD2 00 HPA area detected Remove HPA temporarily only Using LBA address mode 28 hits DCO area detected DCO IDENTIFY
20. BHBEB HHCPFH Ualue BIOS 8 58 KE 39182555 1005 26 62 disabled enabled 1668 string ASCII 10 Found sector LJ at pos 812345673 9ARCDEF 1 vi h tg um ELE atna tabulka odd il Chuba pri na syst mu perac ni syst m 1 Up Params We get the first sector master boot record MBR Page 42 Search for empty sector This is usable if you are looking for empty with OOh sector on device In parameters menu select empty sector ex 2 IHDAT2 v4 9 2014 VD2BHHEB HBEBC Parameter Value Device access BIOS EST IHT13h First sector H HH KE Last sector 39182555 168 26 82 Show disabled Sound lt CTRL gt Set K prefix value Search object Search for empty sector Ccontains a binary zeroes only 812345673 9ARCDEF Jump ESC Return Page 43 Search for non empty sector This is usable if you are looking for any data on device In parameters menu select non empty sector SX HDAT2 IHDAT2 v4 9 26148 CEL
21. DCO SET DCO RESTORE key to This error message you will see if you try to call the second non volatile command without power off So we turned PC off and then turned on and try again HDATZ E 2 4 9 lt gt 2010 Hl DCO area detected Page 22 HDAT2 v4 9 2618 i ueruiew of Hidden Areas WDC UD2ZBBEB HHCPFH 1 20 02 GE 39102336 39102335 disabled 20 02 GE 39182336 39102335 Now are both hidden areas DCO disabled Page 23 Lock the device Overview The security system is enabled the device in a locked state by sending a user password to the device with the SECURITY SET PASSWORD command Setting the master password does not enable security system When a user password is set the drive automatically enters lock mode by the next powered on In locked mode device rejects media access commands until a SECURITY UNLOCK command is successfully completed Example We set the high security mode with the user password 1234 HDAT2 Set Password Freeze Lock Security status Master Password Revision Cade Atth Sets USER or MASTER password in HIGH or CERO security level Master password may be used to unlock the device if User password is lo Setting the Master password does not enable the password systen The locked mode will be active after
22. Disable Password Erase Unit Unlock device Security status Master Password Revision Gode HHBHh Feature is not supported Identifier User Password 1234 Fill password none HEA 31 32 33 34 I Identifier Password Fill 5 Set ESC Abort HDAT v4 9 2618 CBL i Unlock WDC UD2BBHEB HHCPFH 1 Set Password Freeze Lock Disable Password Erase Unit Unlock device Security status Master Password Revision Code Feature is not supported Identifier User Password 1234 Fill password none HEA 31 32 33 34 Security Menu WDC UDZHHEB BHHCPFH 1 HDAT2 v4 9 2010 CBL Set Password Freeze Lock Disable Password Erase Unit Unlock deuice amp Gecurity status di H1 UNLOCKED mode Master Password Revision Code Ln Feature is not supported SECURITY UNLOCK Cunlock counter shall be initially set to 5 With the correct password the device shall disable the Lock mode The Master password shall not unlock the device in Security Level Maximum If the password compare fails then the device decrements the unlock counter ut Hove ENTER Run ESC Return ex HDATZ E Ir v4 9 2610 Disable Password WDC UDZHHEB HHCPFH 1 Set Password Freeze Lock Unlock Erase Unit Unlock device Security status Master Password Revision Code HBHHh Feature is not supported Identifier User Password 71234 Fill password none HEA 31 32 33 34 L Identifier Passwor
23. ER or MASTER password in HIGH or security level Master password may be used to unlock the device if User password is lost Setting the Master password does not enable the password systen The locked mode will be active after reset tl Move ENTER Run ESC Return Unlock the device Overview In High security mode the disk can be unlocked with either the User or Master password using the SECURITY UNLOCK command In Maximum security mode the disk can be unlocked with the User password only Without the User password the device requires a SECURITY ERASE PREPARE command and a SECURITY ERASE UNIT command with the Master password to unlock Execution of the SECURITY ERASE UNIT command erases all user data on the device See Security erase the device 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 unlocked using the master password If the user password is lost and Maxium 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 Example To disable the high security mode of the device we have to unlock and disable password with the our user password 1234 Page 26 2 HDAT2 v4 9 2616 Unlock WDC UD2BHEB HBHCPFHI Set Password Freeze Lock
24. ES subcommand and power up into Standby is enabled the device shall remain in Standby until the SET FEATURES subcommand is received If the device does not implement the SET FEATURES subcommand to spin up the device after power up and PUIS is enabled the device shall spin up upon receipt of the first command that requires the device to access the media except the IDENTIFY DEVICE command or the IDENTIFY PACKET DEVICE command Solution for HDAT2 program if you have a hard disk with enabled PUIS cannot spin up and BIOS cannot recognize this drive run program with parameter W Wake Spin up the drive HDAT2 W List of parameters HDAT2 or HDAT2 h Q20 Windows support for logical units larger than 2 TB A20 Disk devices with more than 2 TB of disk space must be converted to GPT format for all of the disk space to be usable If the device uses MBR format the disk space beyond 2 TB will be unusable Q21 GUID partition table GPT disks A21 A GPT disk uses the GUID partition table GPT disk partitioning system A GPT disk offers these benefits Allows up to 128 primary partitions MBR disks can support up to four primary partitions and an infinite number of partitions inside an extended partition Allows a much larger volume size greater than 2 TB which is the limit for MBR disks Provides greater reliability due to replication and cyclical redundancy check CRC protection of the partition table Page 52 Can be used as
25. O area you must first remove an active HPA area Move ENTER Run ESC Return Here you get a warning message about active HPA area See an error message later Page 10 2 HDAT2 v4 9 2618 DCO Modify WDC UDZHBEB HBGPFH 1 Multivord DMA modes Ultra DMA modes Ultra DMA Maximum LBA sectors 26 82 GE 1 Command Feature set to disdallow Status from drive Security Mode feature Automatic Acoustic Management Host Protected Area il Move Change INS Edit Restore Mext Prev 5 Set ESC Return HDAT2 v4 9 2610 DCO Modify WDC UDZHBHBEB HBCPFH 1 Multiword DMA modes DMA modes Ultra DMA sectors 2H H2 GE hidden sectors 25 00 KE 1 Command Feature set to amp dis allow Status from drive Action Security Mode feature HONE Automatic Acoustic Management 2 HONE Host Protected Area HOHE Itt Move Change INS Edit Restore PoDn Up Hext Preu 5 Set ESC Return HDAT 04 9 2618 DCO Modify WDC UDZHBHEB HBCPFH 1 Multiword DMA modes DMA modes Ultra DMA sectors 20 02 GE DCO hidden sectors 25 00 KE 1 Command Feature set to Status from drive Security Mode feature Automatic Acoustic Management Host Protected Area DMA modes Ultra DM sectors EFFERIA
26. Power on PC boot and start HDAT2 2 In SET MAX HPA Menu select Set Max Address Change LBA mode from 48 to 28 bit LBA mode and press S key to set maximal address for 28 bit LBA mode 127 GB 3 Power off PC Important power on PC boot and start HDAT2 4 In SET MAX HPA Menu select Set Max Address Leave the selected 48 bit mode or change LBA mode from 28 to 48 bit LBA mode and then press S key to set maximal address for 48 bit LBA mode 5 After restart you should get the full native capacity of hard drive Q7 Change of DCO Modify item is always aborted abort command A7 Some hard drives Maxtor allow to modify DCO always the other hard drives Seagate allow to modify DCO one times only Example of the restrictions on changing of bits If a user attempts to change maximum LBA address SET or RESTORE after establishing a protected area with SET MAX address the device will abort that command If the user attempts to disable Security feature when the device is enabled and the Security feature is set the device will abort that command If you always got an error message aborted command when you want to change any item in DCO Modify menu you should first run a Restore item to restore default settings and then you can go to Modify menu Q8 What is Spread Spectrum Clocking SSC A8 Spread Spectrum Clocking is a way to lower electromagnetic interference or EMI This is important for
27. REQ DF BUSY Error ABRT MCR IDHF UNG ICRC 2 HDAT2 v4 9 2010 SET CHPA gt Menu WDC UD128B JB BBEURHB Set Password Lock Unlock Freeze Lock Auto Remove HPA Host Protected Area enabled disable use command ADDRESS gt SET status Allows to redefine the maximum address of the user accessible address space to create or remove unlocked Host Protected Area CHPA gt This command will be aborted in SET locked or frozen mode tl Move ENTER Run ESC Return Now is HPA enabled HDATZ 2 v4 9 gt 2010 Device List WDC WUD12BHJB BHHEURH Type Hr Device name BIOS LEA Capacity UD12BHJB HBEURH 2h 48 124 83 GB 2 HL DI STDUD RAM GH22HP2H 32 Controller Primary Master 1 TRQ 14 Mode DMAS ATALAA CTRL Device ATA PATA Direct Access 15 WARNING ACTIVE 2 2 v4 9 2616 Main Menu Device Tests Menu Overview of Hidden Areas File System Menu Device Information Menu SMART Menu SEI MAR Menu Device Configuration Overla Menu kHidden Areas Menu eSecurity Menu Commands Menu Page 8 v4 9 2016 E Hen 1 1 1 Ch M IDC 1 2087 Remove Hidden Dump of HPA area Active areas Summary of hidd
28. Start LBA Last LEA 625142447 125142448 sectorts gt 11 99 Fill pattern 86 61234h 2 HDAT2 v4 9 2618 CBL LBA Repeat Write Pattern LFUJITSU HHZ232HBJ G2 LBA Repeat Write Sector Last command status Command complete without error READSWRITE commands LOG Command mode Start LBA eq nininininininit Last LEA 625142447 125142448 sectorts gt 11 99 GB Fill pattern HBBHi234h CAUTION This test will QUERWRITE your disk drivet ARE YOU SURE 7 ex HDATZ E HDAT2 v4 9 2010 LBA Repeat Write Pattern FUJITSU HHZ232HBJ G2 LBA Repeat Write Sector Last command status Command complete without error ATAreg FEAL LBAS LEAS LEAS DEUG CMD ASTA Before HHHHh HBHih HHBHBHh HHBHh 4 BASFh BHB5Hh After HHHHh BBHFFh HHFFh HHHHh HHHHh 4 HH5Hh BHBH5Hh status ERR INDE CORR DREQ DF BUSY Error ABRI SFER SFR UNG ICRC HDAT2 v4 9 2010 LBA Repeat Write Pattern FUJITSU MHZ2328BJ G2 LBA Repeat Write Sector Last command status Command complete without error SCT command executing in background Action Write Same Function Hepeat write pattern Current LEA 688289598 Wait sec or press any key to break You can also check command status in SCT status page ex 2 IHDAT v4 9 gt 2616 SMART Command Transport SCT Menu FUJITSU MHZZ232BBHJ
29. The HDAT2 Cookbook How can I do Version 1 1 08 09 2010 Lubomir Cabla CBL http www hdat2 com Contents dcc ee rT re 5 CREATE HIDDEN AREA HPA with SET MAX ADDRESS rear bh rebate ab Re Fa sab ta ka x Ra Ri 2 dec 9 KEMOVE HIDDEN AREA HPA 15 REMOVE HIDDEN AREA HPA wru SET MAX ADDRESS eene 15 20 20 e 24 Slug AT m e 24 UMLA R TOE DIYE comme 26 n f ECCE 26 ERASE IHE DEVIL EG un t t o d cca lu doudou tients e io RN 30 A154 eeeeo 30 E 30 _ 4 33 2 Preface This is the cookbook of program HDAT2 in pictures for beginners There should be the answers for questions How can I do For a m
30. as the technology is definitely backwards compatible Q9 SATA NCQ eSATA xSATA A9 NCQ NCQ Native Command Queuing debuted in many 1 5Gbps drives as a refinement of earlier CQ schemes used in SCSI drives When a supporting controller sends NCQ enabled commands to a drive the drive will intelligently prioritize up to 32 of those commands before performing the reads writes Because the controller triggers CQ the user can enable disable it in the OS as from Windows XP s Device Manager That applications that take advantage of the multithreading features of dual core and or Hyper Threaded processors should complement NCQ for faster throughput Explains Native Command Queing NCQ Seagate eSATA More of a cable and connector redesign than a fundamental change eSATA means data cables with better shielding and connectors that are harder to accidentally dislodge or break The external drive s power is still supplied separately eSATA headers are rectangular instead of L shaped so eSATA cables won t work inside most PCs The working group came up with eSATA to address the fact that users were already connecting SATA drives externally because the interface outpaces USB 2 0 and FireWire 800Mbps Shielding that was adequate for use inside a computer case wasn t good enough outside the box XSATA This option allows the use of much longer external data cables of up to 8 meters in length Q10 Can I cut down size of hard drive Page 50 A10 Y
31. can create HPA area Create hidden area HPA with SET MAX ADDRESS Example We create HPA with a size of 100 sectors 50 KB HDAT v4 9 gt 2010 CEL m Main Menu WDC UDi12BHBHJB BHEURH 1 Device Tests Menu File System Menu Device Information Menu SMART Menu Device Configuration Overlay DCO Menu Hidden Areas Menu eSecurity Menu Commands Menu Page 5 HDAT2 v4 9 2618 CEL SET MAX CHPAD Menu WDC WUD12B8B8JB BBEURHB 1 Set Password Lock Unlock Freeze Lock Host Protected Area SET status Allows to redefine the maximum address of the user accessible address space to create or remove unlocked Host Protected Area CHPA gt This command will be aborted in SET locked or frozen mode itt Move ENTER Run ESC Return HDAT2 v4 9 2616 isa eee Set Max Address WDC WUD128BJB BBHEUAH LBA Sectors Size 234441646 120 03 GE 234441646 120 03 GH H 6H KB lt nothing to restore 234441548 12H H3 GB lt H HH KB lt Use command SET ERT 48 bit Cif you get an error try 24 bit command Nolatile mode YES hard settings GAVE PERMANENTLY Changes shall preserve over power up or hardware reset 143 Change INS Edit BIOS limit Command U Volatile ESC Abort In this example we select 28 bit SET MAX command 2 2 v4 9 2010 set Address WDC WDiZOAJE AHEVAH 1 Area LBA Sectors Size Current native 23444164
32. d F Fill 5 Set Abort HDAT2 v4 9 2010 Disable Password WDC UD2BBEB BBHCPFH 1 Set Password Freeze Lock Unlock Erase Unit Unlock device Security status Master Password Revision Code 1s not supported Identifier User Password 1234 Fill password HEA 31 32 33 34 HDAT2 v4 9 2616 security Menu WDC UDZ2BHHEB BHHCPFH 1 Freeze Lock Master Password Revision Code BBBBh feature is not supported Sets USER or MASTER password in HIGH or MAXIMUM security level Master password may be used to unlock the device if User password is Setting the Master password does not enable the password system The locked mode will be active after reset Security status ENTER Run ESC Return You can also use a special function Unlock device Page 28 2 HDAT2 4 9 2618 CBL Security Menu WDC UD2BHHEB HBHCPFH 1 Set Password Freeze Lock Unlock Disable Password Erase Unit Security status Master Password Revision Gode BBHHh feature is not supported Unlock a locked device if you know a password calling command UNLOCK and then DISABLE PASSWORD Tl Move ENTER ESC Return 2 5 HDAT2 v4 9 2010 Unlock device WDC UD2BHEB HHCPFH 1 Set Password Freeze Lock Unlock Disable Password Erase Unit Security status Master Password Revision Code HHBHh Feature is not supported Identifi
33. e Middle connector If you want to use the cable select with the older drive on a 40 wire cable you ll have to consult the maker of the drive for the instructions 80 wire Cables On the ATA66 100 133 standard 80 wire cable the Master hard drive or your boot hard drive goes on the END of the cable This is true whether or not you use the Master Slave style or the Cable Select style The 40 pin 80 conductor cable is orientation specific The cable connectors are color coded blue for the host connector black and gray for the primary and secondary disk drives The blue connector should be installed into the Primary IDE connector The blue connector attaches to the motherboard The black connector attaches to the primary or master drive The gray connector attaches to the secondary or slave drive Along one side of the cable is a stripe This stripe tells you that the wire on that side is attached to Pin 1 of each connector Wire 20 is not connected to anything In fact there is no pin at that position This position is used to ensure that the cable is attached to the drive in the correct position Another way that manufacturers use to make sure that the cable is not reversed is by using a cable key The cable key is a small plastic square on top of the connector on the ribbon cable that fits into a notch on the connector of the device This allows the cable to attach in only one position Q5 What are the differences between master slav
34. e and cable select Page 47 A5 Two different protocols can be used for jumpering ATA devices including hard disk drives One is the master slave relationship With this protocol one device is jumpered as master and the other is jumpered as slave The second protocol is cable select With this protocol both devices are jumpered as cable select and their position on the cable dictates which is the master and which is the slave The end device is master while the device on the middle of the cable is slave You can use either of these protocols but you cannot mix them on the same data cable Computers that use cable select determine the master and slave drives by selecting or deselecting pin 28 CSEL on the interface bus Master and slave drives are determined by their physical position on the cable Configuration Using Cable Select Cable Select is defined in the ATA 2 and ATA 3 specifications and is part of the ATA PnP standard and Microsoft s PC97 standard The standard 40 wire ATA ribbon cable and the 80 wire cable give different drive behavior when using Cable Select If using the standard 40 wire cable the Master goes in the middle connector and the Slave goes in the end connector If using the 80 wire cable attach the blue end connector to the system board or host controller the gray middle connector to the Slave and the black end connector to the Master All newer ATA hard drives can be jumpered as Cable Select CS or CSEL
35. e ends not connected to pin 28 If both drives are set for CSEL and the host interface supports CSEL but a regular cable is used both drives will be seen as master A Cable Select cable can be used with master slave drive jumpering Another problem will be with host interfaces on legacy motherboards and controller cards If pin 28 is not grounded on the host interface drives connected to either connector on the CSEL cable will be seen as slave It will be common to find that pin 28 is open or high on many older IDE interfaces This can be checked with a voltmeter Q6 Host Protected Area HPA vs 28 48 bit LBA mode Page 48 There is a problem of incompatibility on some hard drives e g Seagate and or in an external Maxtor One Touch when you are using 48 bit command for removing Host Protected Area HPA created with 28 bit command 48 bit command cannot remove HPA created with 28 bit command and vice versa Following solution is for disk supports 48 bit LBA mode only and if you have HPA greater than 127 GB Notice Some vendor specific external drive enclosures Maxtor are known to use HPA to limit the capacity of unknown replacement hard drives installed into the enclosure When this occurs the drive may appear to be limited in size e g 128 GB In this case one must use software utilities that use READ NATIVE MAX ADDRESS and SET MAX ADDRESS to change the drive s reported size back to its native size Solution 1
36. ed E g Gigabyte s Xpress Recovery Q14 The Hidden Protected Area hidden partition A14 The Hidden Protected Area is a special area hidden partition usually a few gigabytes in size located at the end of a hard disk It is preinstalled on the harddisks of some PC s e g IBM It is normally hidden to the software running on this PC It includes all the software and data needed to recover the preloaded state of the PC This HPA also includes some diagnostic tools and a backup tool Some vendors are using the HPA instead of providing rescue media It is referred to as the Predesktop Area in the BIOS Setup Utility That hidden partition is not an HPA Q15 I cannot remove Host Protected Area HPA on Dell notebook Media Direct HPA A15 With HDAT2 program you did the first half of the fix but missed the second part The Dell MBR Master Boot Record at sector 0 calls special code in LBA sector 3 to enable the HPA anytime you boot from the hard disk After you unhide the HPA in order for it to stay unhidden you need to either get rid of the Dell MBR so LBA 3 doesn t get called or you need to disable LBA 3 wipe LBA sector 3 search on Google for dell hpa mediadirect Q16 I cannot read SMART for USB Firewire hard drives A16 It all depends on the chip your USB Firewire enclosures with drive have The protocol USB IDE bridge between the USB and ATA protocols should support SMART data and correctly send SMART data over t
37. en areas CHPA DCO Address Of fset gt v4 3 Co 2610 CB ueruieu of Hidden USER 1208 03 GB 234441548 234441547 DCO OFFS disabled 1208 03 GB 234441648 234441547 Create hidden area DCO Example We will try to create DCO area with a size of 50 sectors 25 KB when device has a HPA area already Page 9 es HDAT E x 2 v4 9 26108 Device List WDC UD2ZBHHEB HBCPFH Type Hr Device name BIOS LEA Capacity 82h 20 20 082 GE 2 HL DT ST DUDRAM GSh 4163B 32 Controller Base IRQ Mode CTRL Device IS tSMART WARNING ACTIVE 11 Move D Detect P Params ENTER Menu ESC Exit HDAT2 v4 9 2010 Main Menu WDC WUD2BBEE HBCPFH Device Tests Menu File System Menu Device Information Menu SMARITI Menu SEI Menu Hidden Areas Menu eSecurity Menu Commands Menu 11 Move ENTER Select ESC Return HDAT v4 9 2010 CEL ooo E Device Configuration Overlay amp DGO Menu WDC UD2HHEB HBCPFH I Show Identify Restore Freeze Lock Check DCO structure Dump DCO Data DCO area DCO frozen Modify the set of optional commands modes or feature sets supported device Create or remove the DCO area To create or remove DC
38. er User Password 1234 Fill password none HEA 31 32 33 34 I Identifier Password Fill 5 Set ESC Abort HDAT2 HDAT2 v4 9 2010 Unlock device WDC WD2B8BEB BBCPFH Set Password Freeze Lock Unlock Disable Password Erase Unit Security status Master Password Revision Code HHBHh Feature is not supported Identifier User Password 1234 Fill password HEA 31 32 33 34 HDAT v4 9 2616 Security Menu CWDC UD2ZHHEB HBCPFH 1 Freeze Lock Security status Master Password Revision Code Afh Sets USER or MASTER password in HIGH or security level Master password may be used to unlock the device if User password is lost Setting the Master password does not enable the password system The locked mode will be active after reset Erase the device Overview Erase wipe does not mean delete or format Data erasure is a method of software based overwriting It uses a application to write patterns of data like or FFh onto each of a hard drive s sectors on all areas of a hard drive To erase device you can use SECURITY ERASE UNIT command in Security Menu or when Supported SCT Write Same command in SMART Menu Disk overwriting programs that cannot access the entire hard drive including hidden areas like the Host Protected Area HPA Device Configuration Overlay DCO and remapped sectors perform an incomplete erasure leaving some o
39. er Erase level Mormal Password 1234 Erase time not specified Fill password none 31 32 33 34 SXHDAT2 IHDAT2 v4 9 2010 uy Set Password Freeze Lock Security status Master Password Revision Code Atth Sets USER or MASTER password in HIGH or security level Master password may be used to unlock the device if User password is lost Setting the Master password does not enable the password system The locked mode will be active after reset SCT Write Same When device supports SMART Command Transport SCT you can use the SCT function Write Same LBA Repeat Write Pattern or LBA Repeat Write Sector Example We will overwrite sectors from LBA 600000000 to LBA 625142447 with hexadecimal pattern 00001234 HDATZ O HDAT2 v4 9 c gt 2618 ort 51 1 kError Recovery Control Read Log Menu Feature Control Menu Routine Menu kData Table Menu Command Menu kirite Same Menu Read Capability SCT Status page lt EBh Read Attribute Data Status ya Move ENTER Select ESC Return Page 33 ex HDATZ E IHDAT v4 9 gt 2616 CEL SMART Command Transport SCT gt Menu FUJITSU MHZZ232BHJ 02 1 Feature Control Menu Data Table Menu Kilrite Same Menu SCT Status page Last command status Command complete without error Command Comp
40. es In Device List menu select your disk drive Select 5 MAX HPA Menu then select Set Max Address and press Enter Now you can choose your required size of hard drive It should be smaller as native maximal size of drive of course See also question nr 1 011 How can I determine supported media format of CD DVD drive A11 In Device List menu select your CD DVD drive Select Device Information Menu then select Get Configuration and press Enter Now you will see list of supported profiles of your drive Q12 Portable computer with Windows Vista has problem with power consumption A12 Power consumption may be slightly more than expected on a portable Windows Vista based computer that uses a SATA hard disk that does not support Host Initiated Link Power Management This problem may occur if the SATA hard disk does not support HIPM In this case Windows Vista may not use DIPM for power management Therefore the Windows Vista power management feature is less able to efficiently manage power consumption See MS Article ID 932079 Q13 Host Protected Area HPA from BIOS A13 Some motherboards has incorporated the HPA feature in the BIOS This feature allows information contained in the first partition of the Hard Drive to be copied to a hidden HPA partition on the same drive where it is immune from attack If the HPA is removed from the HD the area of use will be available at the end of the drive as Unallocat
41. f the data intact use security erase command you should first set any password we use password 1234 Security erase the device In Enhanced Erase mode all previously written user data shall be overwritten including sectors that are no longer in use due to reallocation SECURITY ERASE UNIT allow erase HPA Host Protected Area or DCO Device Configuration Overlay areas if any as well But don t remove these areas Also in High security mode the SECURITY ERASE UNIT command can be used with either the User or Master password Page 30 2 HDAT2 v4 9 2616 security Menu WDC UD2BHEB HBCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Code HHBHh Feature is not supported SECURITY ERASE UNIT all user data shall be overwritten This command shall disable the device Lock mode however the Master password Shall still be stored internally within the device and may reactivated later when a new User password is set Move ENTER Run ESC Return HDATZ HDAT v4 9 2618 Erase Unit WDC UDZBHBEB BBCPFH 1 Set Password Freeze Lock Unlock Disable Password Unlock device Security status Master Password Revision Code Feature is not supporter Identifier User Erase level Normal Password 1234 Erase time not specified Fill password none HER 31 32 33 34 I Identifier
42. ge INS Edit Restore PoDn Up Mext Prev 5 Set ESC Return 2 2 v4 9 2610 DCO Modify WDC UDZHBHBEB HBCPFH 1 Multiword DMA modes DMA modes Ultra DMA sectors 114 970 hidden sectors 5 12 GH 1 Command Feature set to Status from drive Action Security Mode feature Automatic Acoustic Management Host Protected Area HDAT2 v4 9 2618 DCO Modify WDC WDZHHEB BHCPFH I Multivord DMA modes DMA modes Ultra DMA Maximum LBA sectors 14 78 DCO hidden sectors 14006060 5 12 GH I1 Command Feature set to Cdisdallow Status from drive Action Security Mode feature Automatic Acoustic Management lt Host Protected Area AATAreg FEAL 2 LBAS LBA4 LBAS DEUG CMD ASTA Before HHC3h HBHHHh BHBHh HBBHBHh BHBih BHB5Hh After HHHHh HHHHh HHHHh HBBHHh HBHBHHh HBBHBHh BBH5Hh status ERR INDE CORR DREQ DF BUSY Error ABRT MCR IDHF UNG ICRC 2 E IHDAT v4 9 gt 2616 Device Configuration Overlay DCO Menu UDC UD2HHEB HHBCPFH Show Identify Restore Freeze Lock Check DCO structure Dump DCO Data Auto Remove DCO Area DCO area enabled cto disable use command Modify or Restore DCO frozen Modify the set of optional commands modes or feature sets suppo
43. gt 2618 input STRING 12 HA 812345673 97ARCDEF A TE d 1 T pz T68 18 lt tie 1 1 HFRF ssxmFERL g8tE sah 7 tl S 4 DU t5 sit H 4 091 9 SNEGU s 00 2 0 y ffni u A LU BITE ot found last in sector 63 at position TER EM IMPUT gt lt HOME END Move INS Insert F8 Clear ENTER Set ESC Abort HDAT2 v4 9 2H1H ini x input 812345673 9ARCDEF anes one u apes se Qut rU Tog 1 18 oo oe tite 1 7 Hind dat ba staf elf dried aT E t aii 1821 1025 75006 C H p i FMs 1 oNGoW TEH UL ITE MHEG LLU Found las E 63 at position 222 NPUT 32 HOME END Move IMS Insert F8 Clear ENTER Set ESC Abort Page 41 2 IHDAT v4 9 c gt 2618 Hr Parameter Device access First sector Last sector Show GHS Sound lt 5 gt Set K prefix value Search object String case sensitive String type String position in sector 0 se Bo Position of string in sector rch WDC UD2B
44. hose interfaces If you cannot see the SMART menu your drive cannot send SMART data Supported bridge chips Cypress JMicron and Oxford E g Western Digital Passport is using Cypress AT2 USB ATA interface Page 51 017 Western Digital WD5000KS doesn t spin up firmware bug A17 Taken over from Google Notebook If any controller or software you have enables the Power up in Standby feature on these drives you can not disable it In fact once that mode is enabled the drive reports conflicting information Western Digital said on the phone the KS line of drives are not a high enough priority for them to fix the firmware 018 How to non destructively convert dynamic disks to basic disks A18 Read this instruction disk_probe pdf 019 Hard disk doesn t spin up PUIS Power Up In Standby A19 The optional Power Up In Standby PUIS feature set allows devices to be powered up into the Standby power management state to minimize current at power up and to allow the host to sequence the spin up of devices This optional feature set may be enabled or disabled via the SET FEATURES command or may be enabled by use of a jumper or both When enabled by a jumper this feature set Shall not be disabled via the SET FEATURES command Once this feature is enabled in a device the device shall not disable the feature as a result of processing a power on reset a hardware reset or a software reset If the device implements this SET FEATUR
45. isk drive disku and you can just press a key S to setup original capacity of hard drive and remove HPA area If the command is aborted try change LBA mode from 28 to 48 or vice versa if disk supports 48 bit LBA mode 2 method Select Device Configuration Menu then select Restore and press Enter If you don t see any error message in Device List menu press a key D to make new detection of devices or simple make restart of PC s and check capacity of your hard drive If you see any error message or in Device List menu at your disk you see a notice DCO FROZEN then it is possible that BIOS was sent a command DCO Freeze and all subsequent DCO commands will be aborted now How to try bypass this state see answer nr 2 Q2 How to bypass a Security and or DCO frozen state A2 Turn off PC remove ribbon data cable from this hard drive not the power cable turn on PC and after boot from floppy you can connect ribbon data cable back to hard drive and start up HDAT2 Don t worry program can detect this device Page 46 Notice this is valid only for PATA drivers not for SATA drivers If you have SATA drive in Security and or DCO frozen state simple solution is connect this drive to PC with BIOS which doesn t set security mode Q3 Can remove non existent bad sectors from the file table FAT A3 Yes with file system version program HDAT2FS or HDAT2 you can test FAT12 16 32 select your drive and press Enter
46. letion Time Limit Samsung Hitachi Time Limited Error Recovery Western Digital 11 Move ENTER Select ESC Return HDAT2 v4 9 lt c 2616 SMART Command Transport Menu FUJITSU 2 2 G21 kError Recovery Control ERG Menu Feature Control Menu Data Table Menu SCT Status page Last command status Command complete without error 11 Move ENTER Select ESC Return 2 HDAT2 v4 9 2010 Write Same Menu FUJITSU HHZ232HBJ G2 LBA Repeat Write Sector Last command status Command complete without error This action writes a pattern or sector of data repeatedly to the media It will not write over a HPA Automatic sector reassignment is permitted All user data shall overwritten Move ENTER Run ESC Return 2 HDAT2 v4 9 2010 LBA Repeat Write Pattern FUJITSU HHZ232HBJ G2 LBA Repeat Write Sector Last command status Command complete without error RERDA URITE commands LOG _EXT LOG_E amp RT Command mode Start LBA 10 Last LEA 625142447 125142448 sectorts gt 11 99 Fill pattern 68681234h Change R W Commands 5 Set ESC Abort 2 HDAT v4 9 2010 LBA Repeat Write Pattern FUJITSU MHZ232HBBJ G2 LBA Repeat Write Sector Last command status Command complete without error IRERD URITE commands LOG_EXT LOG_ERT Command mode
47. ore detailed information see User s Manual HDAT2 am sorry for my English Page 3 Run the program Overview v4 9 2618 ee t HDC HBCPFH1 Hr Device name BIOS LEA Capacity 32 1 44 Hh l 20 2H H2 GB Controller Prinary Master HBHase CTRL A81Foh SSFb6h IRQ 14 Mode UDMA5 ATALAA CIRL Device ATA PATA Direct Access 1 WARNING ACTIVE cx HDAT2 IHDAT v4 9 gt 2618 Main Menu WDC UD2BHHEB BHCP kDevice Tests Menu Check and Repair bad sectors File System Menu Check bad sectors only kDeuice Information Menu Read and Repair bad sectors SMART Menu Read bad sectors MAR HPA Menu Wipe device Device Configuration Overlay DCO Seek device kHidden Areas Menu Most powerful test eSecurity Menu User defined test eConmmands Menu Page 4 Change the native size HPA DCO Overview The hidden area like Host Protected Area HPA or DCO area is an area of a hard drive that is not normally visible to BIOS an operating system or user To create or remove Host Protected Area HPA is used the command SET MAX ADDRESS To create or remove DCO hidden area is used the command DCO MODIFY Note To create or remove DCO area you must first remove an active HPA area If you want to create both HPA and DCO area first you have to create DCO area without any HPA area After power off on you
48. rted by device Create or remove the DCO area 11 Move ENTER Run ESC Return DCO area is enabled now 2 x A Type Hr Device name 11 2 HL DT ST DUDRAM GShH 4163B Device List WDC UD2BHHEB HHCPFHI BI Capacity 82h 14 98 GB Controller Base IRQ CTRLA Deuice DCO IS BCTIUE SMART WARMING ACTIVE il Move D Detect Params ENTER Menu Exit ex 2 HDAT v4 9 2010 Hidden Areas Menu WDC UDZHWHEB BHHCPFH 1 Auto Remove Hidden Areas Dump of DCO area Active areas DCO Summary of hidden areas CHPA DCO Address Of fset gt itt Move ENTER Run ESC Return Page 14 2 v4 9 2018 as m Overview of Hidden Areas WDC UD2BBHEB BBCPFHI 14 98 GB 29102336 29102335 disabled 21 39102336 39182335 Remove hidden area HPA To remove HPA area you can use SET MAX ADDRESS command or menu option Remove hidden area HPA with SET MAX ADDRESS Example We try to remove created HPA of 100 sectors We use 28 bit SET MAX ADDRESS command HDAT2 v4 9 2010 SET Menu WDC UDi2BH JB BBEURH Set Pas sword Lock Unlock Freeze Lock Auto Remove HPA Host Protected Area to disable use command SET MAK ADDRESS gt MAR status Allows to redefine the maximum address of the user
49. to run Menu select Level Tests Menu and press Enter select Read File System from MBR and press Enter for item press to check detected items goto to Table item and 2 times press Enter to run Utility menu press T to setup test for file table FAT if you want to update file table press W for update press Enter to run This procedure will first compare both FAT copies and second tests all FAT entries for bad sectors If program will find bad sector entry then all sectors in this cluster will be tested If all these sectors are not bad program will remove this record of bad sectors Q4 Connecting ATA IDE Hard Drives A4 ATA IDE devices use a ribbon cable to connect to each other Ribbon cables have all of the wires laid flat next to each other instead of bunched or wrapped together in a bundle IDE ribbon cables have either 40 or 80 wires There is a connector at each end of the cable and another one about two thirds of the distance from the motherboard connector This cable cannot exceed 18 inches in total length 12 inches from first to second connector and six inches from second to third to maintain signal integrity 40 wire Cables On the slower older 40 wire ATA cables the Slave device usually a CD ROM or CD ROM recorder burner still goes on the END but you need to set the jumpers as Slave This is true even if you don t have a hard drive in the Master position The Master for 40 wire cables goes on the th
50. up or hardware reset ATAreg CHT2 LBAS LBA4 LEAS DEUG CMD AST HHiHh HBHih HBHB4Bh HHF h BH4Dh HB51h HB51h INDE CORR DREQ DF BUSY ABRT IDHF UNG ICRC second non volatile command need power off on or HW reset This error message you will see if you try to call the second non volatile command without power off e g immediately after creating So we turn power off and on and try it again but with 48 bit SET MAX command HDAT2 v4 9 2010 la UD12HBB8 Area Sectors Current native 234441648 120 03 GB Current user 234441548 1246 83 GH Current hidden 5H 6H KH lt user 234441 648 120 03 GB amp hidden B 0 00 KB lt Use command you get an error try 28 bit command Nolatile mode CBL a 4 Lat mt ee Area LBA Sectors Current native 234441648 120 03 GB Current user 234441548 120 03 GH Current hidden 5H 6H lt Hew TET y 234441648 12H H3 GB lt New hidden 48 68 KB lt Use command you get an error try 26 bit command Volatile mode ou sure to run Address 7 Page 17 HDAT2 v4 9 2010 n EJ D Area Size Current native 2344441648 120 03 GEB Current user 234441548 1246 63 GH Current hidden
Download Pdf Manuals
Related Search
Related Contents
DOTZ PAR 100 CM-MT8810-HD HDMI 8x8 Matrix Switcher User Guide Dossier d`accompagnement - Festival du film d´éducation Bintec-elmeg 1092316 peripheral controller fsm2 – A Scripting Language for Manipulating Weighted 新製品&ダイジェスト価格ガイド 据付工事説明書 Nortel IP Phone 1120E User Guide Asrock AD410PV motherboard Copyright © All rights reserved.
Failed to retrieve file