Inside the case is a small daughter board. If the board has gone bad it give you that hardware issue. If the drive is out of warranty the easy fix is buy another twenty dollar ext case and swap the drive into it. Or pull the drive out and slide it into your pc.
I'm new to this stuff so I don't know what any of that means. Lol.