But before you bin it, perhaps just try swopping data cables between your two devices.
Honestly, this is just how they die, without either warning or whimper. Another check (which may be physically difficult)- If you can hear the drive spin up slightly and then just as quickly die away instead of really getting going, that too is a bad sign. This is easier to see than hear but that means removing from its surround and taking a cover off.
If it is still under warranty return it but otherwise reconcile yourself to replacing it.