Hi everybody,
I'm currently programming my own tool in order to detect and manage HPA and DCO. I'm doing tests wits a WD400 (i.e. 40GB) so I'm working with LBA28bits.
Thanks to TAFT and HDAT2, I put DCO then HPA areas on the disk and I'm trying to detect them. Actually, in comparing results of Device_Configuration_Identify and Read_Native_Max_Adress, DCO is well detected, but when I'm trying to detect HPA, it does not work. Apparently that's because word 60 of Identify_Device do not return me the user area sectors but the same result as Read_Native_Max_Adress (i.e user area + HPA sectors)!!!!
Moreover, I'm sure the Identify_Device command is well working because other fields of returned structure (Model, Serial Number, features....) are rights.
It really suprised me and I don't know what could be the bug...
Any useful comments for a beginner programmer like me?
(please avoid "simply use HDAT"...)
Regards
Olivier

