The restorative procedure that firmware module is damaged in a kind of Hitachi's hard disk A workspaces
Technical field
The invention belongs to data recovery field, is related to a kind of restorative procedure of hard disk, more particularly to Hitachi hard disk A workspaces
The restorative procedure that middle firmware module is damaged.
Background technology
The booming rapid development for having driven many industries of World Economics, wherein, the development of hard disk industry is particularly rapid, by
Initial capacity only has tens Mbytes even more than ten Mbytes of storage floppy disk, and by now capacity is the 1TB even hard disk of several TB,
Seagate experienced huge change and greatly lifting.Meanwhile, with data storage quantitative change greatly, the demand to data storage
Become increasingly stronger, meanwhile, effective recovery of data also becomes more important.
Hitachi as hard disk industry famous brand name, by outstanding quality and reliable performance so as to occupy larger
The market share.Therefore, the data recovery for studying Hitachi's hard disk is also increasingly urgent.
Correlation technique noun according to the present invention is as follows:
A workspaces:The groundwork area of Hitachi's hard disk, hereinafter referred to as A workspaces.
B workspaces:The underwork area of Hitachi's hard disk, hereinafter referred to as B workspaces.
C workspaces:The factory work area of Hitachi's hard disk, hereinafter referred to as C workspaces.
Wherein, B workspaces are the back work area of A workspaces, its internal same important firmware with A workspaces;
And C workspaces are the backup of A workspaces, calibration solidification when being manufacturer production hard disk is generated, and Hitachi's hard disk is in working at ordinary times
The firmware of C workspaces will not be accessed.
In prior art, hard disk is caused to be calculated because the firmware module of A workspaces is damaged Hitachi's hard disk
In the case that machine is recognized, take directly dismounting more, change the methods such as magnetic head, not only labor intensive material resources, toward contact can because
Human factor, causes the extension of hard disk failure, and secondary injury is brought to hard disk, or even causes hard disk to damage completely.
The content of the invention
The present invention proposes firmware module in a kind of Hitachi's hard disk A workspaces for the deficiencies in the prior art and the problems referred to above
The restorative procedure of damage, causes the hard disk can not be by computer institute in Hitachi's hard disk because the firmware module of A workspaces is damaged
In the case of identification, by change hard disk workspace, obtain needed for firmware module and press offset address and side-play amount by its
Write A workspaces so that the hard disk can be recognized by computer, so as to effectively repair faulty hard disk, solve and directly tear open
Unload, change the manpower and materials of the methods such as magnetic head consuming, and dismounting, change etc. cause hard disk due to human factor in operation therefore
The extension of barrier, secondary injury is brought to hard disk, even causes the problem that hard disk damages completely, methods described to include following step
Suddenly:
S1:Hard disk is connected to into computer;
S2:Workspace conversion instruction is sent to the hard disk by the computer, the workspace of the hard disk is changed
To B workspaces or C workspaces, judge whether conversion is successful, if it is, jumping to step S3, otherwise jumps to step S1;
S3:The management address of firmware module needed for work at present chorography module is determined, in recording the management address
Offset address and side-play amount that content is included, according to the offset address and the side-play amount firmware module is searched, its
In, the offset address is the offset address of the negative track address relative to maximum absolute value;
S4:Firmware is sent to the hard disk by the computer and obtains instruction, and according to ground artwork described in step S3
Offset address described in block and the side-play amount to obtain work at present area in the firmware module and back up in the calculating
In machine;
S5:Workspace conversion instruction is sent to the hard disk by the computer, the workspace of the hard disk is switched
To A workspaces, and according to the offset address and side-play amount of firmware module described in the mapping module of the A workspaces, will back up in
The firmware module in the computer is write in the offset address;
S6:To re-power after the hard disk power-off, can checking normally access the A workspaces.
Preferably, step S3 is comprised the following steps:
S301:From the beginning of the initial address of the mapping module, address 0x00000010, the address are searched
Every 20 byte after 0x00000010 is a management fields, and the first byte address of every 20 byte is a firmware module
Management address, one management fields record the management information of a firmware module;
S302:In the management information of one firmware module, read the 7th in 20 bytes, 8,9,10 bytes
Content is offset address of one firmware module relative to the negative track address of maximum absolute value, reads 20 bytes
In the 11st, the content of 12 bytes be side-play amount relative to the offset address.
Compared with prior art, the invention has the beneficial effects as follows:When firmware module damage in Hitachi hard disk A workspaces not
When can be recognized by computer, hard disk is repaired on the premise of not dismantling hard disk, being changed without magnetic head and recovers data, it is to avoid expend people
Power material resources, solving causes the extension of hard disk failure because of human factor in the operations such as dismounting, replacing, brings two to hard disk
Secondary injury, the problems such as even cause hard disk to damage completely.
Description of the drawings
Fig. 1 is the main flow chart of the present invention;
The process chart of Fig. 2 firmware modules for needed for searching in the present invention.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is further elaborated.
Present invention firmware module needed for by obtaining and the method for writing A workspaces, so as to effectively repair faulty hard disk,
Realize the data recovery of hard disk.
As shown in figure 1, the restorative procedure that firmware module is damaged in a kind of Hitachi's hard disk A workspaces, comprises the following steps:
S1:Hard disk is connected to into computer;
S2:Workspace conversion instruction is sent to hard disk by computer, the workspace of the hard disk is changed to B workspaces or
C workspaces, judge whether conversion is successful, if it is, jumping to step S3, otherwise jumps to step S1;
S3:Determine the management address of firmware module needed for work at present chorography module, content in record management address
Comprising offset address and side-play amount, the firmware module according to needed for offset address and side-play amount are searched, wherein, offset address is
Relative to the offset address of the negative track address of maximum absolute value, step S3 includes following steps as shown in Figure 2:
S301:From the beginning of the initial address of mapping module, address 0x00000010 is searched, after the 0x00000010 of address
Every 20 byte is a management fields, and the first byte address of every 20 byte is the management address of a firmware module, and one manages
The management information of one firmware module of field record;
S302:In the management information of one firmware module, read the 7th in 20 bytes, 8,9, the content of 10 bytes be one
Individual firmware module reads the 11st, 12 bytes in 20 bytes relative to the offset address of the negative track address of maximum absolute value
Content is the side-play amount relative to the offset address.
S4:Firmware is sent to hard disk by computer and obtains instruction, and according to offset address in mapping module in step S3
And side-play amount to obtain work at present area in firmware module and back up in computer;
S5:Workspace conversion instruction is sent to hard disk by computer, the workspace of hard disk is switched to into A workspaces, and
According to the offset address and side-play amount of firmware module in the mapping module of A workspaces, the firmware module in computer will be backed up and write
In entering the offset address;
S6:To re-power after hard disk power-off, can checking normally access A workspaces.
It should be appreciated that the invention is not restricted to above-mentioned citing, and for those of ordinary skills, can basis
Described above is improved or converted, and all these modifications and variations should all belong to the protection model of claims of the present invention
Enclose.