Jared":1uwgf74v said:
maximus":1uwgf74v said:
Jared":1uwgf74v said:
Edit: To clarify, it can perform soft resets. A hard reset is a power cycle. I don't think this can be done with a software only tool.
No, there's a difference between a hard reset and a power cycle. Hard reset tells the drive to reinitialize and reload it's service area, while I don't know the specific command, it can be issued via ATA.
I have done some research on possible reset methods. The first thing is that for IDE drives, I have not found any way to perform a hard reset other than a power cycle. I have seen mention of a pin 1 reset to perform a hard reset, but have found nothing in any controller documentation that would support the ability to do that. So for IDE drives we are currently limited to a software reset, and an external power cycling method. It may be possible to modify the cable or make an adapter that could perform a pin 1 reset with an external relay.
For SATA drives, there may be hope for a couple additional reset methods. The first is a COMRESET. This is the hard reset mentioned in the passthough documentation. This sends a comreset to the device, which is supposed to be more powerful than a software reset. The second is an HBA controller reset. This resets the controller, and also all drives on it. I am not sure how the OS would react to a controller reset.
Now the bad news. Both of these reset methods are for AHCI. I am not sure yet if there is a way to “cheat" and be able to send these commands in IDE mode. And I do not know if it would be possible to “hide” ports from the OS when in ACHI mode. It may be possible to disable a controller in the OS, but that would require adding a separate SATA card in the computer so that the normal ports would still work (this may be more friendly for a controller reset). I have not yet tried to communicate with devices using AHCI mode, but I may end up having to try and see what can be done. And I don’t know when I am going to find the time to do this, so it may be awhile before I have any results.