📜 ⬆️ ⬇️

Use the COM port to restore your WD My Passport hard drive

Western Digital is one of the few surviving HDD manufacturers on the market. And in today's material we will tell you about one interesting option associated with the repair of these discs. Of course, for specialists in the field of DataRecovery this is not a revelation, but for citizens far from the subject, we hope it will be interesting

We believe everyone (or almost everyone) knows that WD, and not only they, following the path of maximizing the cost of their products, has only strengthened in the past few years in the tradition of unplugging the USB - SATA bridge directly on the disk electronics board. This introduces some complications in the process of organizing access to user information. And on the example of the recent work on the resuscitation of WD My Passport, we will tell you about some of them.

So, WD10JMVW-11S5XS1 , a Firebird family disk, got onto the operating table in a coma. According to the client, at first the disc began to work extremely slowly, then it was formatted and earned normally, but as it was filled with data, it finally died. But before that, a backup copy of important data was not made.


')
After powering up, the disk is determined in the system, but at the slightest attempt to count anything from it, it hangs and falls off.

A little about the WD microcode device


On any disk, in the process of manufacturing and operation, there are or appear defects. Those that were caught in the factory, at the final stages of assembly and testing, are recorded in the so-called. “Factory” defect list. Those that appear during the operation fall into the user defect lists.

Having seen an unstable sector, the disc “understands” that this sector is not long to live and puts its address in the so-called RELO-list. If errors are repeated, this sector will be marked as BAD and excluded from the broadcast. But for the time being it is not excluded - the background self-testing processes will check it again and again.

All is good, but many modern firmware versions of WD have an amusing error. It lies in the fact that if there are more “suspicious” sectors than the space allotted for them in RELO, then this, that same RELO, damage occurs. The consequences of this are very diverse - starting from a significant loss of performance, and ending with the impossibility of correct disk initialization (RELO is a module that is not unique, but critical for logic).

And what to do?


Naturally, in order to analyze the current state of the disk, we need access to its service information. You can get it in different ways. Although modern versions of hardware and software complexes for HDD repair also support work with WD disks using the USB interface, but in cases of microprogram hangup, which is used to catch and track bad blocks, there is no sense from the USB interface.


With any access to the disk via USB no response

You can connect directly to the processor, bypassing the USB interface, by soldering the SATA cable to the electronics board, but in this particular case there was no such possibility. The fact is that the disc was warranty and there was a sticker on the board, without damaging which there is no possibility to remove this board. And the customer insisted that all the stickers be in place.

If the mountain does not go to Mahomet ...


How to be? The disk is inaccessible via the USB interface, and there is no possibility to connect via SATA (see the prohibition on tearing the sticker off). But there is a way.



In the photo above, you can see the technology connector of the WD drive, to the left of USB. Typically, these connectors are used to set jumpers that change the modes of the disk. But few know that this connector also implements the functions ... of the diagnostic terminal of the COM port. Through which you can "communicate" with the disk in the technological mode, giving commands and getting answers to them.


Broken WD disk with a COM terminal connected to it

It should be noted that this is not a COM port, in our usual sense. Requires TTL to RS232 level converter. The most convenient way is to use converters based on Marvel and Silicon Image controllers that have a USB interface and form a virtual COM port in the system.

Of course, work on the COM port imposes its limitations. For example, in this way you can not access user data, but this is logical - try to copy at least a gigabyte of data at a speed of 115200 bps. All disk operations also occur rather slowly, but as they say, the one who has known life is not in a hurry.

Connecting via the COM port to the diagnostic terminal and requesting Get Dir we received a list of service information modules


That's why we tried so hard. Access to service information received!

The rest is a matter of technique. Quick analysis only confirmed the assumption of errors in the id32 module. After correcting these errors, the disk was initialized correctly and we were able to copy valuable information from the client using standard means, and at the same time reserve a copy of our own (now) good SA to facilitate future work.

It remains to add that the problem described above is typical not only for WD, but also for other drives. As an example - a little material from the "question-answer" rubric of the Hardmaster website about restoring WD My Passport .

Thanks for attention!

Source: https://habr.com/ru/post/251895/


All Articles